/* ClansNetwork Premium sayfası — dev hero + yüzen
   animasyonlu öğeler, ışıltılı fiyat kartları, perk bölümleri, karşılaştırma
   tablosu ve SSS. style.css + pages.css üzerine gelir. */

/* ─── Hero ────────────────────────────────────────────────── */
.p-hero {
	position: relative;
	min-height: min(92vh, 860px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	padding: 140px 24px 90px;
	background:
		radial-gradient(ellipse at 20% 10%, rgba(23, 109, 254, 0.35), transparent 55%),
		radial-gradient(ellipse at 85% 25%, rgba(255, 209, 102, 0.16), transparent 50%),
		radial-gradient(ellipse at 60% 90%, rgba(255, 92, 138, 0.18), transparent 55%),
		var(--bg);
}
.p-hero-inner { position: relative; z-index: 2; max-width: 860px; }
.p-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	border: 1px solid rgba(255, 209, 102, 0.5);
	background: rgba(255, 209, 102, 0.1);
	color: var(--gold);
	font-weight: 900;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	padding: 7px 16px;
	animation: kickerGlow 2.6s ease-in-out infinite;
}
@keyframes kickerGlow {
	0%, 100% { box-shadow: 0 0 0 rgba(255, 209, 102, 0); }
	50% { box-shadow: 0 0 26px rgba(255, 209, 102, 0.35); }
}
.p-hero-title {
	margin-top: 24px;
	font-size: clamp(2.6rem, 7.5vw, 5.2rem);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}
.p-hero-title .shine {
	background: linear-gradient(100deg, #ffd166 10%, #fff3c4 28%, #ff9f43 46%, #ffd166 64%, #b9a5ff 85%, #ffd166 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shineSlide 4s linear infinite;
}
@keyframes shineSlide { to { background-position: 250% 50%; } }
.p-hero-sub {
	color: var(--muted);
	max-width: 620px;
	margin: 24px auto 0;
	font-size: 1.15rem;
}
.p-hero-cta { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-gold {
	background: linear-gradient(100deg, #ffd166, #ff9f43);
	color: #1a1000;
	box-shadow: 0 8px 34px rgba(255, 209, 102, 0.4);
}
.btn-gold:hover { box-shadow: 0 12px 46px rgba(255, 159, 67, 0.55); }

/* Yüzen öğeler */
.float-el {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	animation: heroFloat 7s ease-in-out infinite;
	filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
}
@keyframes heroFloat {
	0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
	50% { transform: translateY(-22px) rotate(calc(var(--tilt, 0deg) + 6deg)); }
}
.fe-crown { top: 20%; left: 11%; --tilt: -12deg; animation-delay: 0.2s; }
.fe-bolt { top: 16%; right: 13%; --tilt: 14deg; animation-delay: 1.1s; }
.fe-rank1 { bottom: 22%; left: 16%; --tilt: 8deg; animation-delay: 1.8s; }
.fe-rank2 { bottom: 27%; right: 17%; --tilt: -10deg; animation-delay: 0.7s; }
.fe-coin { top: 46%; left: 5%; --tilt: 0deg; animation-delay: 2.4s; }
.fe-spark1 { top: 32%; right: 5%; --tilt: 0deg; animation-delay: 1.4s; font-size: 1.6rem; color: var(--pink); }
.fe-spark2 { bottom: 14%; right: 34%; --tilt: 0deg; animation-delay: 2s; font-size: 1.1rem; color: var(--blue); }
.fe-spark3 { top: 12%; left: 34%; --tilt: 0deg; animation-delay: 0.4s; font-size: 1.2rem; color: var(--gold); }
.fe-rank { width: 52px; height: 52px; background-image: url('usergrade.webp'); background-size: 500% 1300%; }
.fe-coin-img { width: 58px; height: 58px; border-radius: 50%; filter: drop-shadow(0 6px 16px rgba(247,183,51,.45)); }
.fe-coin-inner {
	display: flex;
	width: 54px;
	height: 54px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--brand), #3fb6ff);
	color: #fff;
	font-weight: 900;
	font-size: 0.9rem;
	border: 3px solid rgba(255, 255, 255, 0.35);
}

/* ─── Fiyat kartları ──────────────────────────────────────── */
.p-pricing { padding: 40px 24px 90px; }
.p-pricing-inner { max-width: 940px; margin: 0 auto; }
.p-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.price-card {
	position: relative;
	border-radius: 22px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	padding: 34px 30px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-8px); }
.price-card.pro:hover { box-shadow: 0 24px 60px rgba(63, 182, 255, 0.22); }
/* Ultra: dönen gradyan çerçeve */
.price-card.ultra { border: none; }
.price-card.ultra::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 24px;
	background: conic-gradient(from var(--spin, 0deg), #ffd166, #ff9f43, #ff5c8a, #b968ff, #ffd166);
	z-index: -1;
	animation: borderSpin 5s linear infinite;
}
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes borderSpin { to { --spin: 360deg; } }
@supports not (background: conic-gradient(from var(--spin, 0deg), red, blue)) {
	.price-card.ultra::before { animation: none; }
}
.price-card.ultra::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 22px;
	background: linear-gradient(160deg, #171130, #101024 60%);
	z-index: -1;
}
.price-card.ultra:hover { box-shadow: 0 24px 70px rgba(255, 209, 102, 0.28); }
.pc-pop {
	position: absolute;
	top: -13px;
	right: 24px;
	background: linear-gradient(100deg, var(--gold), #ff9f43);
	color: #1a1000;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	border-radius: 999px;
	padding: 5px 13px;
	z-index: 1;
}
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-badge { display: inline-flex; }
.pc-badge.pulse { animation: badgePulse 2.2s ease-in-out infinite; }
@keyframes badgePulse {
	0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.5)); }
	50% { transform: scale(1.12); filter: drop-shadow(0 0 16px rgba(255, 209, 102, 0.9)); }
}
.pc-name { font-weight: 900; font-size: 1.6rem; }
.pc-price { display: flex; align-items: baseline; gap: 8px; }
.pc-amount { font-weight: 900; font-size: 2.4rem; letter-spacing: -0.02em; }
.pc-cycle { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.pc-year { color: var(--muted); font-size: 0.85rem; }
.pc-year b { color: var(--green); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; padding: 6px 0; }
.price-card li { color: var(--muted); padding-left: 28px; position: relative; font-size: 0.96rem; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price-card li b { color: var(--text); }
.price-card .btn { justify-content: center; }

/* ─── Perk bölümleri (zikzak) ─────────────────────────────── */
.perk { padding: 90px 24px; }
.perk-alt { background: var(--bg-2); }
.perk-inner {
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.perk-alt .perk-inner .perk-text { order: 2; }
.perk-alt .perk-inner .perk-visual { order: 1; }
.perk-text h2 {
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
	text-transform: uppercase;
}
.perk-text p { color: var(--muted); font-size: 1.05rem; max-width: 440px; }

/* XP perk görseli */
.xp-demo {
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--bg-card);
	padding: 28px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.xp-demo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.xp-demo-row .who { font-weight: 800; font-size: 0.9rem; width: 52px; }
.xp-demo-track { flex: 1; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.xp-demo-fill { height: 100%; border-radius: 999px; }
.xp-demo-row.free .xp-demo-fill { width: 18%; background: #5b5b73; animation: xpGrow1 3s ease-in-out infinite; }
.xp-demo-row.pro .xp-demo-fill { width: 36%; background: linear-gradient(90deg, #3fb6ff, #67e8f9); animation: xpGrow2 3s ease-in-out infinite; }
.xp-demo-row.ultra .xp-demo-fill { width: 92%; background: linear-gradient(90deg, #ffd166, #ff9f43); animation: xpGrow8 3s ease-in-out infinite; }
@keyframes xpGrow1 { 0% { width: 4%; } 60%, 100% { width: 18%; } }
@keyframes xpGrow2 { 0% { width: 4%; } 60%, 100% { width: 36%; } }
@keyframes xpGrow8 { 0% { width: 4%; } 60%, 100% { width: 92%; } }
.xp-demo-row .mult { font-weight: 900; font-size: 0.8rem; width: 34px; text-align: right; }
.xp-demo-row.free .mult { color: var(--muted); }
.xp-demo-row.pro .mult { color: var(--blue); }
.xp-demo-row.ultra .mult { color: var(--gold); }
.xp-demo-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 0.82rem; }
.xp-demo-ranks { display: flex; gap: 12px; margin-left: auto; }
.xp-demo-ranks .v-rank { width: 26px; height: 26px; }

/* Rozet perk görseli */
.badge-demo {
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--bg-card);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.badge-demo .voice-row { background: rgba(255, 255, 255, 0.03); }
.badge-demo .voice-row.hl { background: rgba(255, 209, 102, 0.07); border: 1px solid rgba(255, 209, 102, 0.3); border-radius: 12px; }

/* ─── Karşılaştırma tablosu ───────────────────────────────── */
.compare { padding: 90px 24px; }
.compare-inner { max-width: 880px; margin: 0 auto; }
.compare h2 {
	text-align: center;
	font-size: clamp(1.8rem, 4.5vw, 2.8rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	margin-bottom: 40px;
	text-transform: uppercase;
}
.cmp-table {
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	background: var(--bg-card);
}
.cmp-row {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) 1fr 1fr 1fr;
	align-items: center;
	border-top: 1px solid var(--line);
}
.cmp-row:first-child { border-top: none; }
.cmp-row > div { padding: 15px 18px; font-size: 0.92rem; }
.cmp-head { background: rgba(255, 255, 255, 0.025); }
.cmp-head > div { font-weight: 900; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.cmp-feature { color: var(--muted); font-weight: 600; }
.cmp-val { text-align: center; color: var(--muted); font-weight: 700; }
.cmp-val.yes { color: var(--green); }
.cmp-val.no { color: rgba(255, 255, 255, 0.22); }
.col-pro { color: var(--blue) !important; }
.col-ultra { color: var(--gold) !important; }
.cmp-row .cmp-ultra-cell { background: rgba(255, 209, 102, 0.045); }

/* ─── SSS + kapanış ───────────────────────────────────────── */
.p-faq { padding: 20px 24px 90px; }
.p-faq-inner { max-width: 760px; margin: 0 auto; }
.p-faq h2 { text-align: center; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.p-closing {
	position: relative;
	padding: 120px 24px;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 100%, rgba(255, 209, 102, 0.14), transparent 55%),
		var(--bg-2);
}
.p-closing h2 {
	font-size: clamp(2rem, 6vw, 4rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}
.p-closing .hero-cta { margin-top: 30px; }

@media (max-width: 860px) {
	.p-cards { grid-template-columns: 1fr; }
	.perk-inner { grid-template-columns: 1fr; gap: 36px; }
	.perk-alt .perk-inner .perk-text { order: 1; }
	.perk-alt .perk-inner .perk-visual { order: 2; }
	.float-el { display: none; }
	.cmp-row > div { padding: 12px 8px; font-size: 0.8rem; }
}
