/* ============================================================
   SangBet Official Website – Dark Gold Theme
   Soft contrast: easy on eyes, clear hierarchy
   ============================================================ */
:root {
  --gold: #c9a84c;
  --gold-light: #e2c46a;
  --gold-dark: #b8953a;
  --gold-deep: #8a7028;
  --text: #e6e4df;
  --text-muted: #a39e94;
  --text-soft: #8c877e;
  --bg: #0e1015;
  --bg-elevated: #151820;
  --bg-soft: #1a1e28;
  --white: #1c202a;
  --surface: #1c202a;
  --border: #2c3140;
  --border-gold: rgba(201, 168, 76, 0.35);
  --wa: #25D366;
  --wa-dark: #1faa55;
  --tg: #2AABEE;
  --tg-dark: #1f96d4;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --header-h: 72px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --box-photo-1: url("../assets/section-start-bg.jpg");
  --box-photo-2: url("../assets/section-access-primary-bg.jpg");
  --box-photo-3: url("../assets/section-faq-cta-bg.jpg");
  --box-photo-4: url("../assets/section-apply-bg.jpg");
  --box-overlay:
    linear-gradient(
      145deg,
      rgba(10, 12, 18, 0.9) 0%,
      rgba(16, 18, 26, 0.86) 45%,
      rgba(10, 12, 18, 0.92) 100%
    ),
    radial-gradient(
      ellipse 90% 70% at 50% 30%,
      rgba(201, 168, 76, 0.1) 0%,
      transparent 60%
    );
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Ambient animated site background (network + waves) ---------- */
.site-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

/* Animated mesh gradient base */
.site-ambient .ambient-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(201, 168, 76, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 80% 20%, rgba(70, 100, 170, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 60% 80%, rgba(180, 90, 50, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 15% 75%, rgba(201, 168, 76, 0.14) 0%, transparent 50%),
    var(--bg);
  background-size: 100% 100%;
  animation: meshShift 12s ease-in-out infinite alternate;
  filter: saturate(1.15);
}

@keyframes meshShift {
  0% {
    transform: scale(1) translate(0, 0);
    filter: hue-rotate(0deg) saturate(1.1);
  }
  50% {
    transform: scale(1.08) translate(-2%, 3%);
    filter: hue-rotate(8deg) saturate(1.25);
  }
  100% {
    transform: scale(1.04) translate(3%, -2%);
    filter: hue-rotate(-6deg) saturate(1.15);
  }
}

/* Stronger gold orbs */
.site-ambient .ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.site-ambient .orb-1 {
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  top: -15%;
  left: -15%;
  background: radial-gradient(circle, rgba(226, 196, 106, 0.55) 0%, rgba(201, 168, 76, 0.15) 40%, transparent 70%);
  animation: orbPulse1 8s ease-in-out infinite alternate;
}

.site-ambient .orb-2 {
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  bottom: -10%;
  right: -12%;
  background: radial-gradient(circle, rgba(100, 140, 220, 0.4) 0%, transparent 70%);
  animation: orbPulse2 10s ease-in-out infinite alternate;
}

.site-ambient .orb-3 {
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  top: 35%;
  left: 40%;
  background: radial-gradient(circle, rgba(226, 196, 106, 0.35) 0%, transparent 70%);
  animation: orbPulse3 7s ease-in-out infinite alternate;
}

@keyframes orbPulse1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate(18%, 22%) scale(1.25); opacity: 0.9; }
}

@keyframes orbPulse2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  100% { transform: translate(-20%, -15%) scale(1.3); opacity: 0.8; }
}

@keyframes orbPulse3 {
  0% { transform: translate(0, 0) scale(0.9); opacity: 0.4; }
  100% { transform: translate(-15%, 12%) scale(1.35); opacity: 0.75; }
}

/* Horizontal energy waves */
.site-ambient .ambient-wave {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.18);
  box-shadow:
    0 0 30px rgba(201, 168, 76, 0.12),
    inset 0 0 30px rgba(201, 168, 76, 0.06);
  opacity: 0;
  animation: waveExpand 6s ease-out infinite;
}

.site-ambient .wave-1 {
  top: 25%;
  animation-delay: 0s;
}

.site-ambient .wave-2 {
  top: 55%;
  animation-delay: 2s;
  border-color: rgba(120, 150, 210, 0.16);
}

.site-ambient .wave-3 {
  top: 75%;
  animation-delay: 4s;
}

@keyframes waveExpand {
  0% {
    transform: scaleX(0.4) scaleY(0.3);
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.25;
  }
  100% {
    transform: scaleX(1.4) scaleY(1.1);
    opacity: 0;
  }
}

/* Network / constellation canvas */
.site-ambient #ambientParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
}

/* Keep page content above ambient layer */
main,
.site-footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .site-ambient .ambient-mesh,
  .site-ambient .ambient-orb,
  .site-ambient .ambient-wave {
    animation: none !important;
  }

  .site-ambient #ambientParticles {
    display: none;
  }

  .site-ambient .ambient-mesh {
    opacity: 0.6;
  }
}

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

/* Do not force all SVGs to block/max-width — breaks inline icons & logos */
svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-soft);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-gold);
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Header / Nav (transparent over hero, hide on scroll down) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Frosted bar when scrolled */
.site-header.is-solid {
  background: rgba(14, 16, 21, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Hide entire top bar when scrolling down */
.site-header.is-hidden {
  transform: translateY(-110%);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f6e27a;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand:hover {
  color: #ffd700;
  transform: translateY(-1px);
}

.logo-crown {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  overflow: visible;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 8px rgba(246, 226, 122, 0.4));
  animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transition: color 0.3s ease;
}

.brand:hover .brand-name {
  color: #f6e27a;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(246, 226, 122, 0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

.brand:hover .brand-tag {
  color: #ffd700;
}

/* Hamburger removed — desktop nav only; mobile uses bottom tabs */
.nav-toggle {
  display: none !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d4af37, #f6e27a, #d4af37);
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta).active::after {
  width: calc(100% - 20px);
}

.nav a:hover {
  color: #f6e27a;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav a.active {
  color: #f6e27a;
  background: rgba(246, 226, 122, 0.12);
}

.nav-cta {
  background: linear-gradient(135deg, #d4af37 0%, #f6e27a 50%, #d4af37 100%) !important;
  background-size: 200% 200% !important;
  color: #1a1408 !important;
  font-weight: 800 !important;
  padding: 10px 18px !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 16px rgba(212, 175, 55, 0.35);
  margin-left: 8px;
  text-shadow: none !important;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    background-position 0.4s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  color: #1a1408 !important;
  background-position: 100% 50% !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(246, 226, 122, 0.4);
}

/* ---------- Mobile bottom tab bar ---------- */
.bottom-nav {
  display: none;
}

/* ---------- Hero (extends under transparent header to top) ---------- */
.hero {
  position: relative;
  background: #0a0c10;
  /* Extra top padding so content clears fixed header; image still full-bleed */
  padding: calc(var(--header-h) + 28px) 0 64px;
  text-align: center;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
  min-height: clamp(520px, 88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

/* Hero image carousel (3 slides) */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.1s ease,
    transform 6.5s ease-out;
  filter: saturate(1.06) contrast(1.03);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Gradient overlay — keep text readable over any slide */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(6, 8, 14, 0.82) 0%,
      rgba(8, 10, 16, 0.58) 28%,
      rgba(8, 10, 16, 0.38) 52%,
      rgba(6, 8, 14, 0.72) 100%
    ),
    radial-gradient(
      ellipse 75% 55% at 50% 28%,
      rgba(0, 0, 0, 0.35) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 100% 80% at 50% 15%,
      rgba(201, 168, 76, 0.1) 0%,
      transparent 50%
    );
}

/* Carousel dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dot.is-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  width: 28px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.55);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-logo {
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 24px rgba(212, 175, 55, 0.55));
  animation: crownFloat 3s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(212, 175, 55, 0.35);
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% {
    transform: scale(1);
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.65),
      0 0 28px rgba(212, 175, 55, 0.35);
  }
  50% {
    transform: scale(1.015);
    text-shadow:
      0 2px 12px rgba(0, 0, 0, 0.75),
      0 0 40px rgba(255, 215, 0, 0.45);
  }
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: rgba(255, 248, 230, 0.92);
  letter-spacing: 0.5px;
  max-width: 680px;
  margin: 0 auto 18px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid rgba(246, 226, 122, 0.85);
  font-size: 0.88rem;
  font-weight: 700;
  color: #f6e27a;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 55, 0.2);
  animation: badgePulse 2s ease-in-out infinite;
  margin-bottom: 28px;
}

.badge-short {
  display: none;
}

.badge-full {
  display: inline;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
    transform: scale(1.03);
  }
}

.live-indicator {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  animation: liveBlink 1s ease-in-out infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-lead {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  color: rgba(240, 238, 232, 0.9);
  line-height: 1.8;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.hero-lead strong {
  color: #f6e27a;
  font-weight: 800;
}

/* Outline button on dark hero */
.hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(246, 226, 122, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero .btn-outline:hover {
  background: rgba(212, 175, 55, 0.22);
  color: #fff;
  border-color: var(--gold-light);
}

.hero .btn-gold {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(212, 175, 55, 0.35);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  color: #1a160c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(201, 168, 76, 0.2);
  animation: goldShimmer 3s ease-in-out infinite;
  text-transform: none;
  letter-spacing: 0.3px;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(201, 168, 76, 0.28);
  color: #1a160c;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 2px solid var(--border-gold);
  font-weight: 700;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  color: var(--gold-light);
}

.btn-wa {
  background: linear-gradient(135deg, var(--wa) 0%, var(--wa-dark) 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  text-transform: none;
  font-weight: 700;
}

.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}

.btn-tg {
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-dark) 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
  text-transform: none;
  font-weight: 700;
}

.btn-tg:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42, 171, 238, 0.5);
  color: #fff !important;
}

/* ---------- Sections (more transparent so ambient network is visible) ---------- */
.section {
  padding: 64px 0;
  background: rgba(14, 16, 21, 0.55);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.section:nth-child(even),
.section.alt {
  background: rgba(18, 22, 30, 0.6);
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.3px;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 75%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  animation: barGrow 2s ease-in-out infinite;
}

@keyframes barGrow {
  0%, 100% { height: 75%; }
  50% { height: 100%; }
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 720px;
  line-height: 1.8;
}

.section-center .section-title,
.section-center .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-center .section-title {
  padding-left: 0;
  display: inline-block;
  width: 100%;
}

.section-center .section-title::before {
  left: 50%;
  transform: translate(-50%, 0);
  top: auto;
  bottom: -8px;
  width: 60px;
  height: 4px !important;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.card {
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-1);
  background-size: cover, cover;
  background-position: center, center;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "body body";
  column-gap: 14px;
  row-gap: 10px;
  align-items: center;
}

.card:nth-child(3n+2) {
  background-image: var(--box-overlay), var(--box-photo-2);
}

.card:nth-child(3n) {
  background-image: var(--box-overlay), var(--box-photo-3);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: lineSlide 3s linear infinite;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 2;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.22);
  border-color: rgba(246, 226, 122, 0.75);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  background: rgba(246, 226, 122, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  margin: 0;
  border: 1px solid rgba(246, 226, 122, 0.4);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.card h3 {
  grid-area: title;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  line-height: 1.3;
  word-break: break-word;
}

.card p {
  grid-area: body;
  font-size: 0.95rem;
  color: rgba(255, 248, 230, 0.88);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
  width: 100%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.card p strong,
.card li strong {
  color: #f6e27a;
}

/* ---------- Security / highlight boxes ---------- */
.security-box {
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-2);
  background-size: cover, cover;
  background-position: center, center;
  padding: 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  margin: 28px 0;
}

.security-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  animation: scanLine 3s linear infinite;
  z-index: 2;
}

@keyframes scanLine {
  0% { top: 0; }
  100% { top: 100%; }
}

.security-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.security-box p {
  color: rgba(255, 248, 230, 0.88);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.security-box p strong {
  color: #f6e27a;
}

.highlight-banner {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #0c1018;
  background-image:
    linear-gradient(135deg, rgba(212, 175, 55, 0.55) 0%, rgba(12, 14, 20, 0.75) 50%, rgba(166, 124, 0, 0.5) 100%),
    var(--box-photo-4);
  background-size: cover, cover;
  background-position: center, center;
  color: #ffffff;
  padding: 24px 32px;
  border-radius: var(--radius);
  margin: 28px 0;
  font-weight: 800;
  text-align: center;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(246, 226, 122, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), 0 0 24px rgba(212, 175, 55, 0.2);
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-banner:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.35);
  color: #fff;
}

.action-line {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), #FFA500, var(--gold-light), var(--gold));
  background-size: 200% 100%;
  margin: 32px 0;
  animation: lineSlide 3s linear infinite;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

@keyframes lineSlide {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Badge on light sections — photo + gold text */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-3);
  background-size: cover, cover;
  background-position: center, center;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid rgba(246, 226, 122, 0.55);
  font-size: 0.88rem;
  font-weight: 700;
  color: #f6e27a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 28px;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.section-badge .live-indicator {
  flex-shrink: 0;
  background: #f6e27a;
  box-shadow: 0 0 10px rgba(246, 226, 122, 0.7);
}

.advantages-grid,
.about-grid {
  grid-template-columns: repeat(3, 1fr);
}

.credit-audience {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- Three Key Advantages showcase + Singbet image frame ---------- */
.advantages-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 8px 0 12px;
}

.singbet-frame {
  margin: 0;
  position: relative;
  padding: 10px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #f6e27a 0%, #d4af37 40%, #a67c00 70%, #f6e27a 100%);
  background-size: 200% 200%;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(166, 124, 0, 0.35),
    0 8px 28px rgba(212, 175, 55, 0.28);
  animation: goldShimmer 6s ease-in-out infinite;
}

.singbet-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
}

.singbet-frame-inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1116;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.singbet-frame-inner img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.singbet-frame:hover .singbet-frame-inner img {
  transform: scale(1.02);
}

.singbet-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adv-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-1);
  background-size: cover, cover;
  background-position: center, center;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.adv-item:nth-child(2) {
  background-image: var(--box-overlay), var(--box-photo-2);
}

.adv-item:nth-child(3) {
  background-image: var(--box-overlay), var(--box-photo-3);
}

.adv-item:hover {
  border-color: rgba(246, 226, 122, 0.75);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.adv-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f6e27a, #d4af37);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.45);
  flex-shrink: 0;
}

.adv-body h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.adv-body p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 248, 230, 0.88);
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.adv-body p strong {
  color: #f6e27a;
}

/* ---------- Options / credit ---------- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 24px 0;
}

.option-card {
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-2);
  background-size: cover, cover;
  background-position: center, center;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.option-card:nth-child(2) {
  background-image: var(--box-overlay), var(--box-photo-4);
}

.option-card:hover {
  border-color: rgba(246, 226, 122, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.22);
}

.option-number {
  display: inline-block;
  background: rgba(246, 226, 122, 0.15);
  color: #f6e27a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(246, 226, 122, 0.45);
  margin-bottom: 12px;
}

.option-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.option-card p {
  color: rgba(255, 248, 230, 0.88);
  font-size: 0.98rem;
}

.option-card p strong {
  color: #f6e27a;
}

.features-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.features-list li {
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-1);
  background-size: cover, cover;
  background-position: center, center;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  position: relative;
  color: rgba(255, 248, 230, 0.88);
  font-size: 0.95rem;
  line-height: 1.65;
  transition: border-color 0.25s, box-shadow 0.25s;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.features-list li:nth-child(even) {
  background-image: var(--box-overlay), var(--box-photo-3);
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-weight: 900;
  font-size: 0.72rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.features-list li:hover {
  border-color: rgba(246, 226, 122, 0.75);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18);
}

.features-list li strong {
  color: #f6e27a;
}

.info-card {
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-4);
  background-size: cover, cover;
  background-position: center, center;
  border: 2px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 24px 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.info-card p {
  color: rgba(255, 248, 230, 0.88);
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card strong {
  color: #f6e27a;
}

/* ---------- How to Start (background + steps) ---------- */
.section-start {
  position: relative;
  overflow: hidden;
  background: #0a0c12;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 72px 0;
}

.section-start-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/section-start-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  z-index: 0;
  filter: saturate(1.05) brightness(0.85);
}

.section-start-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(6, 8, 14, 0.82) 0%,
      rgba(8, 10, 16, 0.72) 45%,
      rgba(6, 8, 14, 0.88) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      rgba(212, 175, 55, 0.12) 0%,
      transparent 65%
    );
}

.section-start-inner {
  position: relative;
  z-index: 2;
}

.section-start .section-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.section-start .section-title::before {
  background: linear-gradient(180deg, #f6e27a, #d4af37);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
}

.section-start.section-center .section-title::before {
  background: linear-gradient(90deg, #f6e27a, #d4af37);
}

.section-start .section-lead {
  color: rgba(255, 248, 230, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.section-start .section-center .section-title,
.section-start .section-center .section-lead {
  color: #ffffff;
}

.section-start .section-center .section-lead {
  color: rgba(255, 248, 230, 0.9);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
  margin: 28px 0;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.step:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.step h3 {
  color: var(--text);
}

.step p {
  color: var(--text-muted);
}

/* Glass cards on dark How to Start section */
.section-start .step {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(246, 226, 122, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.section-start .step:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(246, 226, 122, 0.85);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.2);
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.section-start .step-num {
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.section-start .step h3 {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-start .step p {
  color: rgba(240, 236, 228, 0.88);
  line-height: 1.6;
}

.section-start-actions {
  margin-top: 12px;
}

.section-start .btn-gold {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 55, 0.3);
}

.section-start .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(246, 226, 122, 0.7);
}

/* ---------- Apply section background (sports + capital) ---------- */
.section-apply {
  position: relative;
  overflow: hidden;
  background: #0a0c12;
  padding: 72px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.section-apply-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/section-apply-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  z-index: 0;
  filter: saturate(1.08) brightness(0.88);
}

.section-apply-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(6, 8, 14, 0.78) 0%,
      rgba(8, 10, 16, 0.68) 40%,
      rgba(6, 8, 14, 0.85) 100%
    ),
    radial-gradient(
      ellipse 70% 55% at 50% 35%,
      rgba(212, 175, 55, 0.14) 0%,
      transparent 65%
    );
}

.section-apply-inner {
  position: relative;
  z-index: 2;
}

.section-apply .section-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.section-apply .section-title::before {
  background: linear-gradient(180deg, #f6e27a, #d4af37);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.section-apply .section-lead {
  color: rgba(255, 248, 230, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.section-apply .section-lead strong {
  color: #f6e27a;
}

.section-apply .footer-note {
  color: rgba(230, 225, 210, 0.75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ---------- Form (dark elevated panel) ---------- */
.form-wrap {
  background: rgba(22, 26, 36, 0.94);
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(201, 168, 76, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: lineSlide 3s linear infinite;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.field .req {
  color: #e07070;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.85;
}

.field select option {
  background: var(--bg-soft);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: #c45c5c;
  box-shadow: 0 0 0 3px rgba(196, 92, 92, 0.15);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.field .hint {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.field .hint-inline {
  font-weight: 600;
  font-size: 0.85em;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.form-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.action-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.send-note {
  font-size: 0.88rem;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.5;
}

.result-box {
  display: none;
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #12151c 0%, #1c202a 100%);
  border-radius: var(--radius);
  border: 2px solid var(--border-gold);
  color: var(--text);
  animation: slideUp 0.5s ease;
}

.result-box.show {
  display: block;
}

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

.result-box h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.copy-status {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.copy-status.fail {
  background: rgba(231, 76, 60, 0.15);
  color: #ff8a80;
  border-color: rgba(231, 76, 60, 0.4);
}

.result-box .guide {
  margin: 14px 0;
  font-size: 0.95rem;
  color: #ccc;
}

.result-box .guide ol {
  margin: 8px 0 0 20px;
  line-height: 1.8;
}

.result-box .guide strong {
  color: #fff;
}

.preview-box {
  background: #0d0d0d;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 16px;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d4d4d4;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 280px;
  overflow-y: auto;
  margin: 16px 0;
  user-select: all;
}

.footer-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- Page hero (inner pages e.g. FAQ) ---------- */
.page-hero {
  background: rgba(18, 22, 30, 0.75);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--header-h) + 20px) 0 28px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 55%),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(201, 168, 76, 0.03) 48px, rgba(201, 168, 76, 0.03) 50px);
  pointer-events: none;
  opacity: 1;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 12px;
  font-weight: 600;
}

.breadcrumb a {
  color: var(--gold-light);
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--text-soft);
}

.page-hero h1 {
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.page-hero-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 760px;
}

.page-hero-lead a {
  font-weight: 700;
  color: var(--gold-light);
}

.faq-page-wrap {
  max-width: 860px;
}

.faq-page-wrap details {
  margin-bottom: 10px;
}

.faq-page-wrap summary {
  font-size: 0.98rem;
  line-height: 1.4;
}

.faq-page-wrap details p {
  font-size: 0.95rem;
}

/* ---------- Access links page ---------- */
.access-note {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 28px;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.16),
    0 0 20px rgba(212, 175, 55, 0.1);
  background: #0c1018;
}

.access-note::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/section-access-primary-bg.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  filter: saturate(1.05) brightness(0.82);
}

.access-note::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(6, 8, 14, 0.82) 0%,
      rgba(8, 10, 16, 0.72) 50%,
      rgba(6, 8, 14, 0.86) 100%
    ),
    radial-gradient(
      ellipse 90% 80% at 30% 50%,
      rgba(212, 175, 55, 0.12) 0%,
      transparent 60%
    );
}

.access-note p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 248, 230, 0.92);
  font-size: 0.95rem;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.access-note strong {
  color: #f6e27a;
  font-weight: 800;
}

/* Crown Primary Lines — football betting background */
.access-primary {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 0 0 8px;
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 0 28px rgba(212, 175, 55, 0.12);
}

.access-backup {
  margin-top: 8px;
  margin-bottom: 8px;
}

.access-primary-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/section-access-primary-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  z-index: 0;
  filter: saturate(1.06) brightness(0.86);
}

.access-primary-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(6, 8, 14, 0.82) 0%,
      rgba(8, 10, 16, 0.72) 45%,
      rgba(6, 8, 14, 0.88) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      rgba(212, 175, 55, 0.14) 0%,
      transparent 65%
    );
}

.access-primary-inner {
  position: relative;
  z-index: 2;
  padding: 32px 24px 28px;
}

.access-primary .section-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.access-primary .section-title::before {
  background: linear-gradient(180deg, #f6e27a, #d4af37);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.access-primary .section-lead {
  color: rgba(255, 248, 230, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  margin-bottom: 22px;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  margin: 8px 0 28px;
}

.access-primary .access-grid {
  margin: 0;
}

.access-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label go"
    "host go";
  align-items: center;
  gap: 2px 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Glass-style cards on primary bg */
.access-primary .access-link {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(246, 226, 122, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.access-primary .access-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(246, 226, 122, 0.9);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.22);
  transform: translateY(-2px);
  color: #fff;
}

.access-primary .access-label {
  color: #f6e27a;
}

.access-primary .access-host {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.access-primary .access-go {
  color: #f6e27a;
}

.access-link:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18);
  transform: translateY(-2px);
  color: var(--text);
}

.access-label {
  grid-area: label;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
}

.access-host {
  grid-area: host;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  word-break: break-all;
  color: var(--text);
}

.access-go {
  grid-area: go;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.access-link-alt {
  background: linear-gradient(135deg, rgba(28, 32, 42, 0.95) 0%, rgba(22, 26, 36, 0.98) 100%);
  border-style: dashed;
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--text);
}

.faq-cta {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  padding: 36px 28px;
  border-radius: 18px;
  text-align: center;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(212, 175, 55, 0.12);
  /* Fallback if image fails */
  background: #0c1018;
}

.faq-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/section-faq-cta-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  filter: saturate(1.06) brightness(0.88);
}

.faq-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(6, 8, 14, 0.78) 0%,
      rgba(8, 10, 16, 0.72) 50%,
      rgba(6, 8, 14, 0.85) 100%
    ),
    radial-gradient(
      ellipse 80% 70% at 50% 40%,
      rgba(212, 175, 55, 0.14) 0%,
      transparent 65%
    );
}

.faq-cta > * {
  position: relative;
  z-index: 2;
}

.faq-cta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.3px;
}

.faq-cta p {
  color: rgba(255, 248, 230, 0.9);
  margin-bottom: 20px;
  font-size: 0.98rem;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.faq-cta .btn-row {
  justify-content: center;
  gap: 12px;
}

.faq-cta .btn-gold {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(212, 175, 55, 0.3);
}

.faq-cta .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(246, 226, 122, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: none;
}

.faq-cta .btn-outline:hover {
  background: rgba(212, 175, 55, 0.22);
  color: #ffffff;
  border-color: #f6e27a;
}

.faq-cta .btn-wa,
.faq-cta .btn-tg {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* ---------- FAQ ---------- */
.faq details {
  background-color: #0c1018;
  background-image: var(--box-overlay), var(--box-photo-1);
  background-size: cover, cover;
  background-position: center, center;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.faq details:nth-child(even) {
  background-image: var(--box-overlay), var(--box-photo-2);
}

.faq details[open] {
  border-color: rgba(246, 226, 122, 0.7);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.2);
}

.faq summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  transition: background 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: #f6e27a;
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  content: "−";
}

.faq summary:hover {
  background: rgba(246, 226, 122, 0.08);
}

.faq details p {
  padding: 0 20px 18px;
  color: rgba(255, 248, 230, 0.88);
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.faq details p strong {
  color: #f6e27a;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 24px;
  border-radius: var(--radius);
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.contact-card svg {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  fill: currentColor;
}

.contact-card span {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* Never show raw URLs on contact CTAs */
.contact-card small {
  display: none !important;
}

.contact-card.wa {
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  animation: whatsappGlow 3s ease-in-out infinite;
}

.contact-card.tg {
  background: linear-gradient(135deg, var(--tg), var(--tg-dark));
  box-shadow: 0 10px 30px rgba(42, 171, 238, 0.3);
  animation: tgGlow 3s ease-in-out infinite;
}

.contact-card:hover {
  transform: translateY(-4px) scale(1.02);
  color: #fff !important;
}

@keyframes whatsappGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5); }
}

@keyframes tgGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(42, 171, 238, 0.3); }
  50% { box-shadow: 0 14px 40px rgba(42, 171, 238, 0.5); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(8, 10, 14, 0.88);
  color: var(--text-muted);
  padding: 48px 0 28px;
  border-top: 3px solid var(--border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand .logo-crown {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.footer-brand strong {
  color: var(--gold-light);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.site-footer p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 360px;
  color: var(--text-muted);
}

.site-footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text);
  border: none;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .container {
    padding: 0 16px;
  }

  /* Desktop top nav hidden; bottom tabs shown */
  .nav-toggle {
    display: none !important;
  }

  .site-header .nav {
    display: none !important;
  }

  /* Mobile: only logo in top bar (still hides on scroll down) */
  .site-header {
    background: transparent;
  }

  .site-header.is-solid {
    background: rgba(10, 12, 16, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .logo-crown {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  /* Bottom tab bar */
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 12, 16, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201, 168, 76, 0.35);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
    justify-content: space-around;
    align-items: flex-start;
  }

  .bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    padding: 4px 2px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  }

  .bottom-nav a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
  }

  .bottom-nav a span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom-nav a:hover,
  .bottom-nav a:active {
    color: #f6e27a;
    background: rgba(246, 226, 122, 0.08);
  }

  .bottom-nav a.active {
    color: #f6e27a;
  }

  .bottom-nav a.active svg {
    filter: drop-shadow(0 0 6px rgba(246, 226, 122, 0.5));
  }

  .bottom-nav a.tab-cta {
    color: #1a1408;
  }

  .bottom-nav a.tab-cta .tab-cta-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f6e27a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.45);
  }

  .bottom-nav a.tab-cta .tab-cta-icon svg {
    width: 16px;
    height: 16px;
    fill: #1a1408;
    filter: none;
  }

  .bottom-nav a.tab-cta span {
    color: #f6e27a;
  }

  .bottom-nav a.tab-cta.active .tab-cta-icon {
    box-shadow: 0 0 14px rgba(246, 226, 122, 0.65);
  }

  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  .back-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .toast {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-primary {
    border-radius: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  .access-primary-inner {
    padding: 24px 16px 20px;
  }

  .access-primary .section-title {
    color: #fff;
    font-size: 1.2rem;
  }

  .access-primary .section-lead {
    color: rgba(255, 248, 230, 0.9);
    font-size: 0.9rem;
  }

  .access-note {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .access-note p {
    font-size: 0.88rem;
    color: rgba(255, 248, 230, 0.92);
  }

  .brand-tag {
    font-size: 0.62rem;
  }

  .brand-name {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .logo-crown {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cards-grid,
  .advantages-grid,
  .about-grid,
  .credit-audience {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .advantages-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .singbet-frame {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .section-badge {
    font-size: 0.78rem;
    padding: 9px 14px;
    white-space: normal;
    max-width: 100%;
    color: #f6e27a;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    text-align: left;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "num title"
      "num desc";
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    padding: 18px 16px;
  }

  .step-num {
    grid-area: num;
    margin: 0;
  }

  .step h3 {
    grid-area: title;
    margin: 0;
  }

  .step p {
    grid-area: desc;
  }

  .section-start {
    padding: 56px 0;
  }

  .section-start .section-center .section-title {
    text-align: left;
    color: #fff;
  }

  .section-start .section-center .section-lead {
    text-align: left;
    color: rgba(255, 248, 230, 0.9);
  }
}

/* ---------- Responsive: phone ---------- */
@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 14px;
  }

  /* Header */
  .header-inner {
    height: var(--header-h);
    gap: 10px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  /* Hero */
  .hero {
    padding: 40px 0 36px;
    min-height: auto;
  }

  .hero-slide {
    background-position: center 40%;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(6, 8, 14, 0.85) 0%,
        rgba(8, 10, 16, 0.55) 42%,
        rgba(6, 8, 14, 0.8) 100%
      ),
      radial-gradient(
        ellipse 90% 60% at 50% 25%,
        rgba(201, 168, 76, 0.08) 0%,
        transparent 60%
      );
  }

  .hero-dots {
    bottom: 14px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.is-active {
    width: 22px;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 1.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    animation: none;
    color: #fff;
  }

  .hero .subtitle {
    font-size: 0.92rem;
    letter-spacing: 0;
    line-height: 1.5;
    margin-bottom: 14px;
    padding: 0 4px;
    color: rgba(255, 248, 230, 0.92);
  }

  .verified-badge {
    display: inline-flex;
    max-width: 100%;
    padding: 8px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    line-height: 1.35;
    white-space: nowrap;
    animation: none;
    color: #f6e27a;
    border-color: rgba(246, 226, 122, 0.8);
  }

  .badge-full {
    display: none;
  }

  .badge-short {
    display: inline;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 2px;
    color: rgba(240, 238, 232, 0.92);
  }

  .hero-lead strong {
    color: #f6e27a;
  }

  /* Buttons */
  .btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    border-radius: 12px;
  }

  .btn-gold {
    text-transform: none;
    letter-spacing: 0.2px;
    animation: none;
  }

  .btn-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .btn svg {
    width: 18px;
    height: 18px;
  }

  /* Sections */
  .section {
    padding: 36px 0;
  }

  .section-start {
    padding: 44px 0;
  }

  .section-start-bg {
    background-position: center 40%;
  }

  .section-start-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(6, 8, 14, 0.88) 0%,
        rgba(8, 10, 16, 0.78) 50%,
        rgba(6, 8, 14, 0.92) 100%
      );
  }

  .section-start .step h3 {
    color: #fff;
  }

  .section-start .step p {
    color: rgba(240, 236, 228, 0.9);
  }

  .section-title {
    font-size: 1.25rem;
    letter-spacing: 0.3px;
    text-transform: none;
    padding-left: 14px;
    margin-bottom: 10px;
    line-height: 1.35;
  }

  .section-title::before {
    width: 4px;
    animation: none;
    height: 70% !important;
  }

  .section-center .section-title {
    text-align: left;
    display: block;
    padding-left: 14px;
  }

  .section-center .section-title::before {
    left: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 4px;
    height: 70% !important;
  }

  .section-lead {
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.65;
  }

  .section-center .section-lead {
    text-align: left;
  }

  /* Cards */
  .cards-grid,
  .advantages-grid,
  .about-grid,
  .credit-audience {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .advantages-showcase {
    gap: 20px;
  }

  .singbet-frame {
    padding: 7px;
    border-radius: 16px;
  }

  .singbet-frame::before {
    inset: 3px;
    border-radius: 12px;
  }

  .singbet-frame-inner {
    border-radius: 11px;
  }

  .singbet-caption {
    font-size: 0.78rem;
    margin-top: 10px;
  }

  .adv-item {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .adv-num {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  .adv-body h3 {
    font-size: 1rem;
  }

  .adv-body p {
    font-size: 0.9rem;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 8px 12px;
    margin-bottom: 20px;
    color: #f6e27a;
    border-width: 2px;
  }

  .card h3,
  .option-card h3,
  .adv-body h3,
  .faq summary {
    color: #fff;
  }

  .card p,
  .option-card p,
  .features-list li,
  .info-card p,
  .faq details p {
    color: rgba(255, 248, 230, 0.9);
  }

  .card {
    padding: 16px 14px;
    border-radius: 14px;
    column-gap: 12px;
    row-gap: 8px;
    border-width: 1.5px;
  }

  .card::after {
    display: none;
  }

  .card:hover {
    transform: none;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .card h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Security / banners */
  .security-box {
    padding: 18px 14px;
    margin: 20px 0;
    border-radius: 14px;
  }

  .security-box::before {
    display: none;
  }

  .security-box h3 {
    font-size: 1.05rem;
  }

  .security-box p {
    font-size: 0.9rem;
  }

  .highlight-banner {
    padding: 14px 16px;
    font-size: 0.88rem;
    letter-spacing: 0.2px;
    text-transform: none;
    line-height: 1.45;
    border-radius: 12px;
    margin: 20px 0;
    animation: none;
  }

  .highlight-banner:hover {
    transform: none;
  }

  .action-line {
    margin: 22px 0;
    height: 3px;
  }

  /* Options / credit */
  .option-card {
    padding: 18px 16px;
  }

  .option-card h3 {
    font-size: 1.05rem;
  }

  .option-card p {
    font-size: 0.9rem;
  }

  .info-card {
    padding: 16px 14px;
    margin: 16px 0;
  }

  .info-card p {
    font-size: 0.9rem;
  }

  /* Features list */
  .features-list {
    gap: 8px;
    margin: 14px 0;
  }

  .features-list li {
    padding: 12px 12px 12px 44px;
    font-size: 0.9rem;
    line-height: 1.55;
    border-radius: 10px;
  }

  .features-list li::before {
    left: 12px;
    top: 13px;
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }

  /* Form */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field.full {
    grid-column: 1;
  }

  .form-wrap {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .section-apply {
    padding: 48px 0;
  }

  .section-apply-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(6, 8, 14, 0.86) 0%,
        rgba(8, 10, 16, 0.78) 50%,
        rgba(6, 8, 14, 0.9) 100%
      );
  }

  .section-apply .section-title {
    color: #fff;
  }

  .section-apply .section-lead {
    color: rgba(255, 248, 230, 0.92);
  }

  .field label {
    font-size: 0.85rem;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 12px;
    font-size: 16px; /* prevents iOS zoom on focus */
    border-radius: 10px;
  }

  .field .hint {
    font-size: 0.75rem;
  }

  .form-actions {
    margin-top: 20px;
    padding-top: 18px;
    gap: 12px;
  }

  .action-label {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .send-note {
    font-size: 0.8rem;
  }

  .result-box {
    padding: 16px 14px;
    margin-top: 18px;
  }

  .result-box h3 {
    font-size: 1.05rem;
  }

  .preview-box {
    font-size: 0.78rem;
    max-height: 200px;
    padding: 12px;
  }

  .result-box .btn-row {
    flex-direction: column;
  }

  .footer-note {
    font-size: 0.8rem;
    padding: 0 4px;
  }

  /* FAQ */
  .faq summary {
    padding: 14px 40px 14px 14px;
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .faq details p {
    padding: 0 14px 14px;
    font-size: 0.9rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + 12px) 0 20px;
  }

  .page-hero h1 {
    font-size: 1.35rem;
  }

  .page-hero-lead {
    font-size: 0.92rem;
    text-align: left;
  }

  .faq-cta {
    padding: 28px 16px;
    margin-top: 24px;
    border-radius: 14px;
  }

  .faq-cta h3 {
    font-size: 1.15rem;
    color: #fff;
  }

  .faq-cta p {
    font-size: 0.9rem;
    color: rgba(255, 248, 230, 0.9);
  }

  .faq-cta .btn-row {
    flex-direction: column;
  }

  .faq-cta .btn {
    width: 100%;
  }

  .faq-cta .btn-outline {
    color: #fff;
    border-color: rgba(246, 226, 122, 0.8);
  }

  /* Contact */
  .contact-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .contact-card {
    flex-direction: row;
    justify-content: center;
    padding: 16px 18px;
    border-radius: 12px;
    gap: 10px;
  }

  .contact-card span {
    font-size: 0.95rem;
  }

  .contact-card svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer p {
    font-size: 0.88rem;
    max-width: none;
  }

  .footer-bottom {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* Back to top */
  .back-top {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 42px;
    height: 42px;
  }

  /* Soften heavy animations on phone */
  .logo-crown,
  .hero-logo {
    animation: none;
  }

  .contact-card.wa,
  .contact-card.tg {
    animation: none;
  }

  .toast {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    font-size: 0.85rem;
    padding: 10px 16px;
    max-width: calc(100vw - 28px);
  }
}

/* ---------- Extra-small phones ---------- */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.12rem;
  }

  .card {
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    padding: 14px 12px;
  }

  .card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 1rem;
  }

  .verified-badge {
    font-size: 0.7rem;
    padding: 7px 12px;
  }

  .logo-crown {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
}

/* Landscape phones: slightly denser */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .hero {
    padding: 20px 0;
  }

  .hero-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .section {
    padding: 28px 0;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
