/*
Theme Name: Huqqabet Bonus
Theme URI: https://example.com/huqqabet-bonus
Author: Huqqabet
Description: Huqqabet bonus ve kampanyalarını dikey kartlar halinde listeleyen, koyu/neon yeşil, hızlı ve AMP uyumlu WordPress teması. Her yazı bir bonus kartıdır; Bonusu Kap / Giriş Yap butonları, hero metinleri ve footer Özelleştirici'den yönetilir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: huqqabet-bonus
Tags: dark, one-column, custom-logo, custom-menu, featured-images
*/

:root {
	--color-bg: #050a07;
	--color-bg-deep: #020403;
	--color-bg-green: #06231a;
	--color-surface: #0c1511;
	--color-surface-soft: #122019;
	--color-surface-raised: #17291f;
	--color-text: #e9f3ec;
	--color-muted: #8fa89a;
	--color-green: #00f878;
	--color-green-light: #7dffb7;
	--color-green-dark: #00b857;
	--color-green-deep: #047a3c;
	--color-line: #1b2f25;
	--color-line-strong: #2a4535;
	--gradient-green: linear-gradient(135deg, #5dffa5 0%, #00f878 45%, #00c460 100%);
	--gradient-green-deep: linear-gradient(135deg, #12b865 0%, #078a48 60%, #065c31 100%);
	--shadow-card: 0 22px 55px rgba(0, 0, 0, 0.45);
	--radius: 14px;
	--content-width: 1140px;
	--font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--color-text);
	background:
		radial-gradient(circle at 50% -8%, rgba(0, 248, 120, 0.32) 0, rgba(0, 184, 87, 0.12) 28%, transparent 55%),
		radial-gradient(circle at 5% 36%, rgba(0, 248, 120, 0.08) 0, transparent 30%),
		radial-gradient(circle at 94% 30%, rgba(125, 255, 183, 0.07) 0, transparent 28%),
		linear-gradient(180deg, var(--color-bg-green) 0, var(--color-bg) 46%, var(--color-bg-deep) 100%);
	background-attachment: fixed;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-green);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--color-green-light);
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	color: #04150b;
	background: var(--color-green);
	border-radius: 6px;
	font-weight: 700;
}

/* Header / hero */
.site-header {
	position: relative;
	padding: 34px 20px 52px;
	overflow: hidden;
}

.site-header::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		radial-gradient(circle at 50% 5%, rgba(0, 248, 120, 0.14), transparent 26%),
		linear-gradient(180deg, rgba(0, 248, 120, 0.04), transparent);
}

.hero {
	width: min(760px, 100%);
	margin: 0 auto;
	text-align: center;
}

.site-logo {
	display: inline-block;
	margin-bottom: 10px;
	filter: drop-shadow(0 10px 28px rgba(0, 248, 120, 0.35));
}

.site-logo-img {
	width: 300px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.hero-title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.65rem, 4vw, 2.45rem);
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.hero-description {
	max-width: 650px;
	margin: 15px auto 0;
	color: #bfe3cd;
	font-size: 1rem;
	line-height: 1.65;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 26px;
}

.button-bonus,
.button-login,
.back-to-home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 13px 34px;
	border-radius: 9px;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button-bonus {
	color: #04150b;
	background: var(--gradient-green);
	border: 1px solid rgba(190, 255, 220, 0.8);
	box-shadow: 0 10px 28px rgba(0, 248, 120, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-login,
.back-to-home {
	color: #ffffff;
	background: var(--gradient-green-deep);
	border: 1px solid rgba(0, 248, 120, 0.55);
	box-shadow: 0 10px 28px rgba(0, 184, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-bonus:hover,
.button-bonus:focus {
	color: #04150b;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(0, 248, 120, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-login:hover,
.button-login:focus,
.back-to-home:hover,
.back-to-home:focus {
	color: #ffffff;
	transform: translateY(-2px);
}

/* Layout */
.site-main {
	width: min(var(--content-width), calc(100% - 40px));
	margin: 0 auto;
}

.site-main--narrow {
	width: min(860px, calc(100% - 40px));
}

.section-title {
	position: relative;
	padding-bottom: 14px;
	margin: 0 0 24px;
	color: #ffffff;
	font-size: clamp(1.3rem, 3vw, 1.7rem);
	text-align: center;
	text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.section-title::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 74px;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, var(--color-green-light), var(--color-green-dark));
	border-radius: 2px;
	box-shadow: 0 0 14px rgba(0, 248, 120, 0.7);
	transform: translateX(-50%);
}

/* Bonus cards */
.bonus-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.bonus-card {
	min-width: 0;
	overflow: hidden;
	background: linear-gradient(160deg, var(--color-surface-raised), var(--color-surface));
	border: 1px solid rgba(0, 248, 120, 0.22);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bonus-card:hover,
.bonus-card:focus-within {
	border-color: rgba(0, 248, 120, 0.6);
	box-shadow: 0 26px 60px rgba(0, 248, 120, 0.18), 0 0 0 1px rgba(0, 248, 120, 0.2);
	transform: translateY(-4px);
}

.bonus-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.bonus-card-media {
	position: relative;
	aspect-ratio: 2000 / 1143;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-bg-green), #0a3a28);
}

.bonus-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bonus-card-media::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, transparent 62%, rgba(2, 10, 5, 0.45));
}

.bonus-card-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 100%;
	padding: 18px;
	background:
		radial-gradient(circle at 50% 30%, rgba(0, 248, 120, 0.3), transparent 60%),
		linear-gradient(135deg, #07261b, #0b3c2a);
}

.bonus-card-fallback img {
	width: 72px;
	height: 72px;
	filter: drop-shadow(0 0 22px rgba(0, 248, 120, 0.8));
}

.bonus-card-fallback-title {
	color: var(--color-green-light);
	font-size: 1.2rem;
	font-weight: 900;
	line-height: 1.3;
	text-align: center;
	letter-spacing: 0.02em;
}

.bonus-card-title {
	padding: 16px 18px 6px;
	margin: 0;
	color: #ffffff;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.4;
}

.bonus-card-cta {
	display: block;
	padding: 0 18px 18px;
	color: var(--color-green);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bonus-card-link:hover .bonus-card-title,
.bonus-card-link:focus .bonus-card-title {
	color: var(--color-green-light);
}

/* Content cards */
.front-article {
	margin-top: 34px;
}

.content-card {
	min-width: 0;
	padding: clamp(24px, 4vw, 42px);
	background: linear-gradient(160deg, var(--color-surface-raised), var(--color-surface));
	border: 1px solid rgba(0, 248, 120, 0.2);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
}

.entry-meta {
	margin-bottom: 18px;
	color: var(--color-muted);
	font-size: 0.84rem;
}

.breadcrumb,
.rank-math-breadcrumb {
	margin-bottom: 14px;
	color: var(--color-muted);
	font-size: 0.82rem;
	line-height: 1.6;
}

.breadcrumb a,
.rank-math-breadcrumb a {
	color: var(--color-green);
	font-weight: 650;
	text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
	text-decoration: underline;
}

.breadcrumb-sep,
.rank-math-breadcrumb .separator {
	margin: 0 8px;
	color: var(--color-green-dark);
}

.breadcrumb-current {
	color: var(--color-muted);
}

.back-to-home-wrap {
	margin: 32px 0 0;
	text-align: center;
}

.back-to-home {
	min-height: 48px;
	padding: 12px 32px;
	font-size: 0.88rem;
}

.entry-content > :first-child,
.single-entry > :first-child {
	margin-top: 0;
}

.entry-content > :last-child,
.single-entry > :last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.7em;
	margin-bottom: 0.6em;
	color: #ffffff;
	line-height: 1.3;
}

.entry-content h2 {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.entry-content h3 {
	font-size: 1.28rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.entry-content strong {
	color: #ffffff;
}

.entry-content blockquote {
	padding: 15px 20px;
	margin: 1.5em 0;
	background: var(--color-surface-soft);
	border-left: 4px solid var(--color-green);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border: 1px solid var(--color-line-strong);
	text-align: left;
}

.entry-content th {
	background: var(--color-surface-soft);
}

.entry-content img {
	border-radius: 9px;
}

.featured-image {
	margin: 0 0 26px;
	overflow: hidden;
	border-radius: 9px;
}

.featured-image img {
	width: 100%;
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.wp-caption,
.gallery-caption,
.wp-element-caption {
	max-width: 100%;
	color: var(--color-muted);
	font-size: 0.85rem;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 25px;
	margin-top: 35px;
	border-top: 1px solid var(--color-line-strong);
}

.post-navigation .nav-links {
	display: contents;
}

.post-navigation a,
.page-links a {
	font-weight: 700;
	text-decoration: none;
}

.nav-next {
	margin-left: auto;
	text-align: right;
}

.navigation.pagination {
	margin-top: 34px;
	text-align: center;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 6px 12px;
	color: var(--color-green-light);
	background: rgba(0, 248, 120, 0.1);
	border: 1px solid rgba(0, 248, 120, 0.35);
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
	color: #04150b;
	background: var(--gradient-green);
	border-color: transparent;
}

.empty-state {
	text-align: center;
}

.empty-state h2 {
	margin-top: 0;
	color: #ffffff;
}

/* Footer */
.site-footer {
	padding: 52px 20px 30px;
	color: #9fbcab;
}

.footer-inner {
	width: min(var(--content-width), 100%);
	margin: 0 auto;
}

.footer-columns {
	display: grid;
	grid-template-columns: 1.25fr repeat(auto-fit, minmax(150px, 1fr));
	gap: 34px;
	padding-top: 34px;
	border-top: 1px solid rgba(0, 248, 120, 0.18);
}

.footer-logo {
	width: 84px;
	height: 84px;
	object-fit: contain;
	filter: drop-shadow(0 0 18px rgba(0, 248, 120, 0.55));
}

.footer-about {
	max-width: 320px;
	margin: 14px 0 0;
	font-size: 0.9rem;
	line-height: 1.65;
}

.footer-column-title {
	margin: 0 0 13px;
	color: var(--color-green);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-menu li {
	padding: 5px 0;
}

.footer-menu a {
	color: #d4ecdd;
	font-size: 0.92rem;
	text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus {
	color: var(--color-green-light);
	text-decoration: underline;
}

.footer-bottom {
	padding-top: 22px;
	margin-top: 36px;
	border-top: 1px solid rgba(0, 248, 120, 0.14);
	font-size: 0.86rem;
	text-align: center;
}

.footer-bottom a {
	color: var(--color-green-light);
}

/* Responsive */
@media (max-width: 900px) {
	.bonus-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.footer-columns {
		grid-template-columns: 1fr;
		gap: 26px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 15px;
	}

	.site-header {
		padding: 24px 16px 36px;
	}

	.site-logo-img {
		width: 240px;
	}

	.hero-description {
		font-size: 0.94rem;
	}

	.hero-actions {
		flex-direction: column;
		align-items: center;
	}

	.button-bonus,
	.button-login {
		width: 100%;
		max-width: 330px;
	}

	.site-main,
	.site-main--narrow {
		width: min(100% - 24px, var(--content-width));
	}

	.bonus-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.content-card {
		padding: 22px 18px;
	}

	.post-navigation {
		flex-direction: column;
	}

	.nav-next {
		margin-left: 0;
		text-align: left;
	}

	.alignleft,
	.alignright {
		float: none;
		margin-right: auto;
		margin-left: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.button-bonus,
	.button-login,
	.bonus-card,
	.back-to-home {
		transition: none;
	}
}

/* Rank Math TOC block */
.wp-block-rank-math-toc-block nav ol {
	counter-reset: item;
}

.wp-block-rank-math-toc-block nav ol li {
	display: block;
}

.wp-block-rank-math-toc-block nav ol li::before {
	content: counters(item, ".") ". ";
	counter-increment: item;
}
