:root {
  --tb-bg-1: #0a1410;
  --tb-bg-2: #0f1f19;
  --tb-gold: #e8b72d;
  --tb-gold-dark: #2b2105;
  --tb-text: #f5f1e8;
  --tb-text-soft: rgba(245, 241, 232, 0.78);
  --tb-glass: rgba(27, 107, 79, 0.18);
  --tb-glass-flat: rgba(27, 107, 79, 0.3);
  --tb-border: rgba(232, 183, 45, 0.2);
  --tb-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--tb-text);
  background: linear-gradient(145deg, var(--tb-bg-1), var(--tb-bg-2));
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section--compact {
  padding: clamp(2.25rem, 5vw, 4rem) 0;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 30;
  background: #fff;
  color: #000;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.mesh {
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 150%;
  background:
    radial-gradient(circle at 22% 18%, rgba(27, 107, 79, 0.5), transparent 45%),
    radial-gradient(circle at 78% 30%, rgba(232, 183, 45, 0.3), transparent 50%),
    radial-gradient(circle at 52% 76%, rgba(25, 77, 58, 0.55), transparent 48%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero__card {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.2rem, 3.2vw, 2rem);
}

.hero__logo {
  width: clamp(110px, 19vw, 160px);
  aspect-ratio: 1;
  margin: 0 auto 0.75rem;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--tb-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.hero__badge {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--tb-text-soft);
}

.hero__title {
  margin: 0 auto 0.65rem;
  max-width: 29ch;
  font-size: clamp(1rem, 3.7vw, 2.05rem);
  line-height: 1.14;
}

.hero__subtitle {
  margin: 0 auto 0.9rem;
  max-width: 34ch;
  color: var(--tb-text-soft);
  font-size: clamp(0.95rem, 2.2vw, 1.06rem);
}

.hero__counter-wrap {
  margin: 0 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__counter {
  font-size: clamp(1.35rem, 4.9vw, 2.25rem);
  line-height: 1;
  font-weight: 800;
  color: var(--tb-gold);
}

.hero__counter-text {
  font-size: clamp(1rem, 2.7vw, 1.2rem);
  color: var(--tb-text-soft);
}

.join-timer {
  margin: 0 0 0.55rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(232, 183, 45, 0.35);
  background: rgba(10, 24, 19, 0.72);
}

.join-timer__label {
  font-size: 0.83rem;
  color: #ffe39a;
}

.join-timer__value {
  font-size: clamp(1rem, 3.1vw, 1.35rem);
  letter-spacing: 0.04em;
  color: var(--tb-gold);
}

.webview-hint {
  margin: 0.9rem auto 0;
  max-width: 720px;
  color: #f5d682;
  font-size: 0.92rem;
}

.glass {
  background: var(--tb-glass-flat);
  border: 1px solid var(--tb-border);
  border-radius: 1.25rem;
  box-shadow: var(--tb-shadow);
}

@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
  .glass {
    background: var(--tb-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  min-height: 44px;
  min-width: 168px;
  padding: 0.82rem 1.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta:focus-visible {
  outline: 2px solid #ffd974;
  outline-offset: 3px;
}

.cta--gold {
  position: relative;
  overflow: hidden;
  color: var(--tb-gold-dark);
  background: linear-gradient(100deg, #e6b328 20%, #f2cd58 50%, #e6b328 80%);
  box-shadow: 0 12px 24px rgba(232, 183, 45, 0.3);
}

.cta-hint {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffe08d;
  text-shadow: 0 0 12px rgba(232, 183, 45, 0.42);
  animation: hint-bob 1.15s ease-in-out infinite;
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
  }

  .hero__card {
    padding: 1rem 0.95rem 1.2rem;
  }
}

.cta--gold:active {
  transform: scale(0.98);
}

.cta--gold:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(232, 183, 45, 0.4);
}

.cta--gold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -130%;
  width: 65%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shimmer 6s linear infinite;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.proof-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.proof-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 183, 45, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.proof-card__button {
  display: block;
  border: 0;
  margin: 0;
  padding: 0.35rem;
  line-height: 0;
  background: rgba(5, 16, 12, 0.55);
  width: 100%;
  cursor: zoom-in;
}

.proof-card__button:focus-visible {
  outline: 2px solid #ffd974;
  outline-offset: -2px;
}

.proof-card img {
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  object-fit: contain;
  object-position: center center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.proof-card:hover img {
  transform: scale(1.03);
  filter: saturate(1.06);
}

.proof-card figcaption {
  padding: 0.72rem 0.8rem 0.95rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--tb-text-soft);
}

.final-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
}

.sticky-cta {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
  z-index: 15;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-cta .cta {
  width: 100%;
}

.sticky-cta.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.proof-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 10, 8, 0.92);
  padding: 1rem;
}

.proof-lightbox[hidden] {
  display: none;
}

.proof-lightbox__image {
  width: auto;
  height: auto;
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  border-radius: 0.9rem;
  border: 1px solid rgba(232, 183, 45, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.proof-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #08130f;
  background: var(--tb-gold);
  cursor: pointer;
}

.footer {
  padding: 2rem 0 calc(6rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: var(--tb-text-soft);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer {
  0%,
  72% {
    left: -130%;
  }
  86%,
  100% {
    left: 120%;
  }
}

@keyframes hint-bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.92;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes drift {
  0% { transform: translate3d(-1%, 0, 0); }
  50% { transform: translate3d(1%, -1%, 0); }
  100% { transform: translate3d(-1%, 0, 0); }
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-card img {
    max-height: min(82vh, 900px);
  }
}

@media (min-width: 1024px) {
  .sticky-cta {
    left: auto;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 240px;
  }

  .footer {
    padding-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mesh {
    animation: drift 24s linear infinite;
  }

  .hero__logo {
    animation: logo-in 0.55s ease-out both;
  }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
