:root {
  --bg:        #030d08;
  --green:     #34f5a0;
  --green-dim: #10b981;
  --gold:      #f0c94a;
  --gold-2:    #c9962e;
  --gold-deep: #8a6614;
  --text:      #eefaf2;
  --muted:     #8fb3a2;
  --glass:     rgba(14, 36, 25, 0.52);
  --glass-brd: rgba(240, 201, 74, 0.3);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(130% 100% at 50% 0%, #0b2b1b 0%, var(--bg) 52%),
    radial-gradient(90% 60% at 50% 110%, #12240a 0%, transparent 60%),
    var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3.6vh, 28px);
  padding: max(14px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---- Ambiyans ışıkları (aurora) ---- */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
body::before {
  width: min(560px, 95vw); height: min(560px, 95vw);
  top: -20%; left: -22%;
  background: radial-gradient(circle, rgba(52,245,160,0.5), transparent 70%);
  animation: drift 13s var(--ease) infinite alternate;
}
body::after {
  width: min(500px, 90vw); height: min(500px, 90vw);
  bottom: -18%; right: -20%;
  background: radial-gradient(circle, rgba(240,201,74,0.45), transparent 70%);
  animation: drift 17s var(--ease) infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 4vh, 0) scale(1.16); }
}

/* İnce ışıltı dokusu */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(240,201,74,0.11) 1px, transparent 1.5px),
    radial-gradient(rgba(52,245,160,0.08) 1px, transparent 1.5px);
  background-size: 90px 90px, 60px 60px;
  background-position: 0 0, 30px 45px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 75%);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}

/* Yükselen altın parçacıklar */
.sparkles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(240,201,74,0.9) 0 1.2px, transparent 2px),
    radial-gradient(circle, rgba(52,245,160,0.8) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,236,170,0.7) 0 1.4px, transparent 2.2px);
  background-size: 210px 320px, 160px 280px, 260px 380px;
  background-position: 20px 40px, 110px 140px, 60px 220px;
  opacity: 0.5;
  animation: float-up 24s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
}
@keyframes float-up {
  from { background-position: 20px 40px, 110px 140px, 60px 220px; }
  to   { background-position: 20px -600px, 110px -420px, 60px -540px; }
}

/* ---- Üst bonus şeridi ---- */
.bonus-bar {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 460px);
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: clamp(13.5px, 3.6vw, 15px);
  color: #1a1200;
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 38%, #fbe89a 50%, var(--gold) 62%, var(--gold-2) 100%);
  background-size: 220% 100%;
  border: 1px solid rgba(255, 236, 170, 0.65);
  box-shadow:
    0 8px 28px rgba(240, 201, 74, 0.38),
    0 0 44px rgba(240, 201, 74, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  animation: bar-in 0.6s var(--ease) both, shimmer 3.2s linear 0.6s infinite;
  overflow: hidden;
}
.bonus-bar svg { width: 19px; height: 19px; flex-shrink: 0; }
.bonus-bar strong { font-weight: 700; letter-spacing: 0.01em; }
@keyframes bar-in {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -120% 0; }
}

/* ---- Cam kart ---- */
.card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: clamp(28px, 6vw, 42px) clamp(20px, 5vw, 32px) clamp(24px, 5vw, 34px);
  text-align: center;
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.62),
    0 0 70px rgba(52, 245, 160, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.10) inset;
  animation: rise 0.7s var(--ease) 0.1s both;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.card.leaving { opacity: 0; transform: translateY(-12px) scale(0.985); }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gezinen altın-yeşil kenar ışığı */
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 28px;
  padding: 1.2px;
  background: linear-gradient(120deg,
    transparent 0%, var(--gold) 18%, var(--green) 38%,
    transparent 55%, transparent 70%, var(--gold-2) 88%, transparent 100%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.85;
  animation: border-sweep 7s linear infinite;
  pointer-events: none;
}
@keyframes border-sweep {
  from { background-position: 0% 0%; }
  to   { background-position: 300% 0%; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  margin-bottom: clamp(18px, 4vw, 26px);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--green);
  border-radius: 999px;
  background: rgba(52, 245, 160, 0.08);
  border: 1px solid rgba(52, 245, 160, 0.22);
}
.badge svg { width: 15px; height: 15px; }

/* ---- Geri sayım halkası ---- */
.ring-wrap {
  position: relative;
  width: clamp(122px, 34vw, 150px);
  height: clamp(122px, 34vw, 150px);
  margin: 2px auto clamp(18px, 4vw, 26px);
}
.ring-glow {
  position: absolute; inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,245,160,0.24), transparent 65%);
  animation: pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%      { transform: scale(1.08); opacity: 1; }
}
.ring-wrap svg {
  position: relative;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 8;
}
.ring-progress {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 408;              /* 2πr, r = 65 */
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 7px rgba(52, 245, 160, 0.6));
  transition: stroke-dashoffset 3s linear;
}
.count {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(50px, 14vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 24px rgba(52, 245, 160, 0.5);
}
.count.pop { animation: pop 0.42s var(--ease); }
@keyframes pop {
  0%   { transform: scale(0.7); opacity: 0.2; }
  55%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(21px, 5.8vw, 27px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg,
    #ffffff 0%, #ffffff 38%, var(--gold) 50%, #ffffff 62%, #ffffff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  animation: text-shine 4.5s var(--ease) 1s infinite;
}
@keyframes text-shine {
  0%        { background-position: 120% 0; }
  45%, 100% { background-position: -120% 0; }
}

p.sub {
  font-size: clamp(13.5px, 3.7vw, 14.5px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 340px;
  margin: 0 auto clamp(20px, 5vw, 28px);
}

/* ---- CTA ---- */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 15px 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 4.2vw, 16.5px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #06170f;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green) 0%, #7fe3b0 45%, var(--gold) 115%);
  background-size: 160% 160%;
  box-shadow:
    0 10px 30px rgba(52, 245, 160, 0.32),
    0 4px 14px rgba(240, 201, 74, 0.3);
  overflow: hidden;
  animation: cta-breathe 3.4s ease-in-out infinite;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s var(--ease);
}
@keyframes cta-breathe {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: 0 10px 30px rgba(52, 245, 160, 0.32), 0 4px 14px rgba(240, 201, 74, 0.3);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 12px 38px rgba(52, 245, 160, 0.48), 0 5px 18px rgba(240, 201, 74, 0.42);
  }
}
.cta svg { width: 18px; height: 18px; }
.cta-shine {
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  animation: shine 2.8s var(--ease) 1.2s infinite;
  pointer-events: none;
}
@keyframes shine {
  0%        { left: -80%; }
  55%, 100% { left: 130%; }
}
.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.cta:active { transform: translateY(0) scale(0.99); }
.cta:focus-visible {
  outline: 3px solid rgba(52, 245, 160, 0.6);
  outline-offset: 3px;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(14px, 4vw, 20px);
  font-size: 12px;
  color: var(--muted);
}
.trust svg { width: 14px; height: 14px; color: var(--green-dim); }

/* ---- Havale limiti alanı ---- */
.feature-bar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 460px);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: clamp(13px, 3.5vw, 14.5px);
  color: var(--text);
  background: rgba(52, 245, 160, 0.07);
  border: 1px solid rgba(52, 245, 160, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(52, 245, 160, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  animation: rise 0.7s var(--ease) 0.2s both;
}
.feature-bar svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--green);
  filter: drop-shadow(0 0 6px rgba(52, 245, 160, 0.5));
}
.feature-bar strong {
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 16px rgba(52, 245, 160, 0.35);
}

/* ---- Sağlayıcı şeritleri (çift sıra) ---- */
.providers {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: rise 0.7s var(--ease) 0.25s both;
}
.providers-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.providers-track.track-reverse {
  animation: marquee-reverse 70s linear infinite;
}
.providers-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 201, 74, 0.75);
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(240, 201, 74, 0.25);
}
.providers-track.track-reverse span {
  color: rgba(52, 245, 160, 0.6);
  text-shadow: 0 0 14px rgba(52, 245, 160, 0.22);
}
.providers-track i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 245, 160, 0.8);
  flex-shrink: 0;
}
.providers-track.track-reverse i {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(240, 201, 74, 0.8);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ---- Kırılımlar ---- */
@media (min-width: 768px) {
  .bonus-bar { width: auto; padding: 13px 26px; }
  .feature-bar { width: auto; padding: 12px 24px; }
  .providers { width: min(100%, 640px); }
}

@media (max-width: 380px) {
  body { gap: 14px; }
  .card { border-radius: 24px; }
  .card::before { border-radius: 24px; }
}

/* Kısa yatay ekranlar (telefon yan çevrilmiş) */
@media (max-height: 620px) and (orientation: landscape) {
  body { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .ring-wrap { width: 96px; height: 96px; margin-bottom: 14px; }
  .count { font-size: 40px; }
  .badge { margin-bottom: 14px; }
  p.sub { margin-bottom: 16px; }
  .providers-track { display: none; }
  .providers .providers-track:first-child { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
  .backdrop, .sparkles { animation: none; }
  .bonus-bar { animation: bar-in 0.01s both; }
  .card, .providers, .feature-bar { animation-duration: 0.01s; }
  .card::before { animation: none; }
  .ring-glow { animation: none; }
  .count.pop { animation: none; }
  .ring-progress { transition: none; }
  h1 { animation: none; }
  .cta { animation: none; transition: none; }
  .cta-shine { animation: none; display: none; }
  .providers-track, .providers-track.track-reverse { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}
