/******** Taraftarız Tema Ek Stiller ********/

/* Renk Değişkenleri */
:root {
	--warning: #f39c12;
	--info: #3498db;
	--danger: #e74c3c;
	--success: #27ae60;
}

/* Form Alanları için Ek Stiller */
.form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field-label {
	font-weight: 600;
	color: var(--text-100);
	font-size: 14px;
}

.form-input {
	width: 100%;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid var(--card-border);
	background: var(--bg-700);
	color: var(--text-100);
	font-size: 16px;
	transition: all 0.2s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(61,165,255,0.1);
}

.password-section {
	border: 1px solid var(--card-border);
	border-radius: 8px;
	padding: 16px;
	background: var(--bg-700);
}

.password-section h4 {
	margin: 0 0 12px;
	font-size: 16px;
	color: var(--text-100);
}
.section-title { 
	display: flex; 
	align-items: center; 
	gap: 10px; 
	margin: 8px 0 16px; 
}

.section-title::after { 
	content: ""; 
	flex: 1; 
	height: 1px; 
	background: var(--card-border); 
}

.card-list { 
	display: grid; 
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
	gap: 16px; 
}

.leaderboard { 
	width: 100%; 
	border-collapse: collapse; 
}

.leaderboard th, .leaderboard td { 
	padding: 12px; 
	border-bottom: 1px solid var(--card-border); 
}

.leaderboard tr:hover { 
	background: var(--bg-700); 
}

/* Haber Sayfası Gelişmiş Stilleri */
.article-card {
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.article-hero {
	position: relative;
	overflow: hidden;
}

.hero-image {
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

/* Kapak fotoğrafı için özel boyutlandırma */
.article-hero img,
.hero-image {
	width: 100% !important;
	height: 400px !important;
	object-fit: cover !important;
	object-position: center !important;
}

/* Responsive kapak fotoğrafı boyutları */
@media (max-width: 768px) {
	.article-hero img,
	.hero-image {
		height: 300px !important;
	}
}

@media (max-width: 480px) {
	.article-hero img,
	.hero-image {
		height: 250px !important;
	}
}

/* Tüm görseller için genel object-fit ayarı */
.entry-content img,
.article-hero img,
.hero-image {
	object-fit: cover;
	object-position: center;
}

.article-card:hover .hero-image {
	transform: scale(1.02);
}

.hero-overlay {
	background: linear-gradient(transparent, rgba(15,18,22,0.9)) !important;
	backdrop-filter: blur(4px);
}

.article-title {
	text-shadow: 0 4px 12px rgba(0,0,0,0.9) !important;
	letter-spacing: -0.02em;
}

/* Mobil Menü Stilleri */
.menu-toggle {
	display: none;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	border: none;
	color: white;
	cursor: pointer;
	padding: 12px 16px;
	border-radius: 12px;
	transition: all 0.3s ease;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	box-shadow: 0 4px 16px rgba(61,165,255,0.3);
}

.menu-toggle:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(61,165,255,0.4);
}

.menu-toggle svg {
	width: 20px;
	height: 20px;
}

/* Mobil menü açık/kapalı durumu */
.primary-menu.is-open {
	display: block !important;
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.article-meta {
	opacity: 0.9;
}

.meta-item {
	transition: all 0.2s ease;
}

.meta-item:hover {
	color: var(--accent) !important;
	transform: translateY(-1px);
}

.article-content {
	position: relative;
}

.entry-content {
	font-size: 18px;
	line-height: 1.8;
	color: var(--text-100);
}

.entry-content p {
	margin-bottom: 1.5em;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
	margin: 2em 0 1em;
	color: var(--text-100);
	font-weight: 700;
	position: relative;
	padding-left: 16px;
}

.entry-content h2::before, .entry-content h3::before, .entry-content h4::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 24px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	border-radius: 2px;
}

.entry-content h2 {
	font-size: 28px;
	border-bottom: 2px solid var(--card-border);
	padding-bottom: 12px;
}

.entry-content h3 {
	font-size: 24px;
}

.entry-content h4 {
	font-size: 20px;
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 20px 24px;
	background: var(--bg-700);
	border-left: 4px solid var(--accent);
	border-radius: 8px;
	font-style: italic;
	position: relative;
}

.entry-content blockquote::before {
	content: """;
	position: absolute;
	top: -10px;
	left: 20px;
	font-size: 60px;
	color: var(--accent);
	opacity: 0.3;
	font-family: serif;
}

.entry-content ul, .entry-content ol {
	margin: 1.5em 0;
	padding-left: 2em;
}

.entry-content li {
	margin-bottom: 0.5em;
	position: relative;
}

.entry-content ul li::before {
	content: "•";
	color: var(--accent);
	font-weight: bold;
	position: absolute;
	left: -1.5em;
}

.entry-content ol li {
	counter-increment: list-counter;
}

.entry-content ol li::before {
	content: counter(list-counter);
	color: var(--accent);
	font-weight: bold;
	position: absolute;
	left: -2em;
	width: 1.5em;
	text-align: center;
}

.entry-content img {
	border-radius: 12px;
	margin: 2em 0;
	box-shadow: 0 8px 24px rgba(0,0,0,0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-content img:hover {
	transform: scale(1.02);
	box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.entry-content a {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: all 0.2s ease;
}

.entry-content a:hover {
	border-bottom-color: var(--accent);
	color: var(--accent-2);
}

.entry-content code {
	background: var(--bg-700);
	color: var(--accent-2);
	padding: 2px 6px;
	border-radius: 4px;
	font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
	font-size: 0.9em;
}

.entry-content pre {
	background: var(--bg-700);
	padding: 20px;
	border-radius: 8px;
	overflow-x: auto;
	border: 1px solid var(--card-border);
	margin: 2em 0;
}

.entry-content pre code {
	background: none;
	padding: 0;
	color: var(--text-100);
}

.article-tags {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--card-border);
}

.article-tags a {
	display: inline-block;
	padding: 6px 12px;
	background: var(--bg-700);
	border: 1px solid var(--card-border);
	border-radius: 20px;
	color: var(--text-200);
	font-size: 13px;
	margin: 4px;
	transition: all 0.2s ease;
}

.article-tags a:hover {
	background: var(--accent);
	color: var(--accent-contrast);
	border-color: var(--accent);
	transform: translateY(-1px);
}

.article-share {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--card-border);
}

.share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: var(--bg-700);
	border: 1px solid var(--card-border);
	border-radius: 8px;
	color: var(--text-100);
	font-size: 14px;
	transition: all 0.2s ease;
}

.share-btn:hover {
	background: var(--bg-600);
	border-color: var(--accent);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(61,165,255,0.2);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
	.article-title {
		font-size: clamp(24px, 6vw, 32px) !important;
	}
	
	.entry-content {
		font-size: 16px;
	}
	
	.entry-content h2 {
		font-size: 24px;
	}
	
	.entry-content h3 {
		font-size: 20px;
	}
	
	.entry-content h4 {
		font-size: 18px;
	}
	
	.article-meta {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 8px !important;
	}
	
	.article-share {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	/* Mobil menü responsive stilleri */
	.menu-toggle {
		display: flex;
	}
	
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bg-800);
		border-top: 1px solid var(--card-border);
		box-shadow: 0 8px 32px rgba(0,0,0,0.4);
		z-index: 1000;
		display: none;
		border-radius: 0 0 16px 16px;
		backdrop-filter: blur(10px);
	}
	
	.primary-menu {
		display: none;
		padding: 24px;
	}
	
	.primary-menu.is-open {
		display: block;
	}
	
	.primary-menu li {
		display: block;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid var(--card-border);
		transition: all 0.2s ease;
	}
	
	.primary-menu li:last-child {
		border-bottom: none;
	}
	
	.primary-menu li:hover {
		background: var(--bg-700);
		border-radius: 8px;
		margin: 4px 0;
	}
	
	.primary-menu a {
		display: block;
		padding: 16px 20px;
		color: var(--text-100);
		text-decoration: none;
		font-weight: 600;
		font-size: 16px;
		transition: all 0.2s ease;
		border-radius: 8px;
	}
	
	.primary-menu a:hover {
		color: var(--accent);
		background: var(--bg-700);
		transform: translateX(8px);
	}
	
	.navbar {
		position: relative;
	}
	
	.search-input {
		display: none;
	}
}
