/* ============================================================
   VIP Hero — Premium Mobile Landing (Turkish)
   Mobile-first · Single screen · No scroll · iPhone-safe
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:         #0d0d11;
  --green:      #00e87a;
  --green-lo:   rgba(0, 232, 122, 0.08);
  --green-mid:  rgba(0, 232, 122, 0.22);
  --green-glow: rgba(0, 232, 122, 0.40);
  --tg:         #0098dd;
  --tg-light:   #29abe2;
  --tg-dark:    #0077b5;
  --text:       rgba(255, 255, 255, 0.93);
  --muted:      rgba(255, 255, 255, 0.58);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── BODY ───────────────────────────────────────────────── */
body {
  background:
    radial-gradient(ellipse 80% 50% at 12% 5%,  rgba(0, 232, 122, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 45% 30% at 88% 18%, rgba(255, 200, 60, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 55% 35% at 82% 92%, rgba(0, 136, 204, 0.05) 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  width: 100%;
  /* svh = visible area when browser chrome is showing; dvh = dynamic */
  min-height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 232, 122, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 122, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* ── CANVAS ─────────────────────────────────────────────── */
#cvs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

/* ── BACKGROUND GLOW BLOBS ──────────────────────────────── */
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.bg-glow--top {
  /* Moved up less so glow is visible in the top area */
  width: 600px;
  height: 440px;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(0, 232, 122, 0.14) 0%,
    rgba(0, 120, 200, 0.05) 46%,
    transparent 66%
  );
  animation: glow-breathe 8s ease-in-out infinite;
}

/* Mid green haze — fills the upper-centre void */
.bg-glow--mid {
  width: 360px;
  height: 260px;
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 232, 122, 0.04) 0%, transparent 65%);
  animation: glow-breathe 12s ease-in-out 1s infinite;
}

/* Soft gold accent — top-right corner */
.bg-glow--gold {
  width: 280px;
  height: 200px;
  top: -40px;
  right: -60px;
  left: auto;
  transform: none;
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 200, 60, 0.055) 0%, transparent 60%);
  animation: glow-breathe-simple 10s ease-in-out 3s infinite reverse;
}

.bg-glow--bot {
  width: 340px;
  height: 240px;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 136, 204, 0.06) 0%, transparent 65%);
  animation: glow-breathe 11s ease-in-out 2s infinite reverse;
}

/* ── HERO — fills the true visible viewport ─────────────── */
.hero {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(12px, 2.2dvh, 22px);
  /* Asymmetric padding shifts content ~50px above center — keeps CTA
     clear of Telegram in-app browser's bottom navigation bar */
  padding-top:    max(clamp(12px, 1.8dvh, 20px), env(safe-area-inset-top,    12px));
  padding-bottom: max(clamp(110px, 14dvh, 140px), calc(env(safe-area-inset-bottom, 0px) + 85px));
  padding-left:  clamp(18px, 5vw, 28px);
  padding-right: clamp(18px, 5vw, 28px);
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── OFFER GROUP — card + headline linked tightly ────────── */
.offer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* ── MINI BONUS CARD — max ~80px, compact, premium ─────── */
.mini-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: rgba(8, 22, 14, 0.80);
  border: 1px solid rgba(0, 232, 122, 0.16);
  border-radius: 16px;
  padding: 12px 22px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 18px rgba(0, 232, 122, 0.09),
    0 6px 22px rgba(0, 0, 0, 0.44);
  position: relative;
  overflow: hidden;
}

/* Top highlight line */
.mini-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 232, 122, 0.44), transparent);
}

.mc-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  white-space: nowrap;
}

.mc-icon {
  font-size: 0.82rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Green checkmark circle */
.bchk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  min-width: 17px;
  background: rgba(0, 232, 122, 0.12);
  border: 1px solid rgba(0, 232, 122, 0.34);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 232, 122, 0.15);
  text-shadow: 0 0 6px rgba(0, 232, 122, 0.60);
}

/* ── HEADLINE ───────────────────────────────────────────── */
.headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.20rem, 10.5vw, 3.20rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.036em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hl-green {
  color: var(--green);
  text-shadow:
    0 0 18px rgba(0, 232, 122, 0.82),
    0 0 46px rgba(0, 232, 122, 0.38),
    0 0 90px rgba(0, 232, 122, 0.14);
}

/* ── SUBTEXT ────────────────────────────────────────────── */
.subline {
  font-size: clamp(0.82rem, 3.6vw, 0.92rem);
  color: var(--muted);
  line-height: 1.62;
  /* 100% prevents long first line from wrapping "için" to a 3rd line */
  max-width: 100%;
  letter-spacing: 0.005em;
}

/* ── CTA BUTTON — ~60px tall, 88-92% wide, max 360px ────── */
.tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  min-height: 60px;
  padding: 0 22px;
  background: linear-gradient(
    145deg,
    var(--tg-light)  0%,
    var(--tg)        52%,
    var(--tg-dark)  100%
  );
  border: 1.5px solid rgba(41, 171, 226, 0.28);
  border-radius: 15px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.00rem, 4.4vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(41, 171, 226, 0.18),
    0 0 22px rgba(0, 136, 204, 0.45),
    0 0 56px rgba(0, 136, 204, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.55);
  animation: tg-pulse 3.5s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-font-smoothing: antialiased;
  will-change: box-shadow;
}

/* Static top specular — no sweep shimmer */
.tg-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

.tg-btn:active {
  transform: scale(0.962);
  animation: none;
  box-shadow:
    0 0 14px rgba(0, 136, 204, 0.40),
    0 5px 14px rgba(0, 0, 0, 0.55);
}

/* ── TRUST ROW ──────────────────────────────────────────── */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.036);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 100px;
  padding: clamp(9px, 1.4dvh, 13px) clamp(10px, 3vw, 18px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 18px rgba(0, 0, 0, 0.28);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: clamp(0.72rem, 3.2vw, 0.82rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  flex: 1;
  letter-spacing: 0.01em;
}

.trust-sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.09);
  flex-shrink: 0;
}

/* ── KEYFRAMES ──────────────────────────────────────────── */

/* For centred blobs that use translateX(-50%) */
@keyframes glow-breathe {
  0%, 100% { opacity: 0.70; transform: translateX(-50%) scale(1);    }
  50%       { opacity: 1;    transform: translateX(-50%) scale(1.06); }
}

/* For corner blobs with no translateX */
@keyframes glow-breathe-simple {
  0%, 100% { opacity: 0.70; transform: scale(1);    }
  50%       { opacity: 1;    transform: scale(1.08); }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes tg-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(41, 171, 226, 0.18),
      0 0 22px rgba(0, 136, 204, 0.45),
      0 0 56px rgba(0, 136, 204, 0.16),
      0 10px 28px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(41, 171, 226, 0.24),
      0 0 32px rgba(0, 136, 204, 0.62),
      0 0 80px rgba(0, 136, 204, 0.22),
      0 10px 28px rgba(0, 0, 0, 0.55);
  }
}

/* ── SMALL SCREENS ──────────────────────────────────────── */
@media (max-height: 700px) {
  .hero {
    gap: clamp(10px, 1.9dvh, 18px);
    padding-bottom: max(clamp(60px, 9dvh, 90px), calc(env(safe-area-inset-bottom, 0px) + 50px));
  }
  .headline { font-size: clamp(1.90rem, 9.5vw, 2.40rem); }
  .subline  { font-size: 0.80rem; }
}

@media (max-height: 580px) {
  .subline { display: none; }
  .hero    { gap: 9px; }
}

/* ── DESKTOP — mobile column centred ────────────────────── */
@media (min-width: 640px) {
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.76);
    z-index: 2;
    pointer-events: none;
    -webkit-mask: linear-gradient(#000, #000) 50% 0 / 420px 100% no-repeat;
    mask:         linear-gradient(#000, #000) 50% 0 / 420px 100% no-repeat;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
  }

  .hero { z-index: 5; }
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
