/* ============================================
   ALMOST FREE KEYS — Professional Website CSS
   ============================================ */

/* --- RESET & TOKENS --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #060b14;
  --bg-dark:    #0c1526;
  --bg-card:    #111d33;
  --bg-card2:   #0f1929;
  --accent:     #e5ad35;
  --accent-2:   #cc6c08;
  --accent-glow:rgba(229,173,53,0.25);
  --text:       #e8edf5;
  --text-muted: #7b90b2;
  --border:     rgba(255,255,255,0.07);
  --radius:     14px;
  --radius-lg:  24px;
  --shadow:     0 8px 40px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(229,173,53,0.1);
  border: 1px solid rgba(229,173,53,0.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.section-label.centered { display: block; text-align: center; }
h2.centered { text-align: center; }
.section-sub.centered { text-align: center; }

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* --- LAYOUT --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section:not(#hero):not(#stats) {
  padding: 100px 0;
  position: relative;
}
section:not(#hero) {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(229,173,53,0.12) 30%, rgba(229,173,53,0.22) 50%, rgba(229,173,53,0.12) 70%, transparent) 1;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 0 24px rgba(229,173,53,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(229,173,53,0.5);
}
.btn-primary.full-width { width: 100%; text-align: center; padding: 16px; }

.btn-ghost {
  display: inline-block;
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(229,173,53,0.07);
}

/* --- NAVBAR --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(6, 11, 20, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
}
#navbar.scrolled {
  top: 0;
  background: rgba(6, 11, 20, 0.92);
  border-bottom-color: rgba(229, 173, 53, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 173, 53, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 24px; /* Taller padding for a larger, readable logo */
  transition: all var(--transition);
}
#navbar.scrolled .nav-inner {
  padding: 3px 24px; /* Slightly tighter on scroll */
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0; /* remove inline-block gap */
}
.nav-logo-img {
  height: 94px;        /* Resized logo to be bigger and perfectly visible */
  width: auto;
  filter: brightness(1.05);
  transition: all var(--transition);
}
.nav-logo-img:hover {
  transform: scale(1.04);
  filter: brightness(1.18) drop-shadow(0 0 8px rgba(229,173,53,0.55));
}
#navbar.scrolled .nav-logo-img {
  height: 80px;        /* Slightly scaled height on scroll, remaining highly visible */
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

/* Sliding active link indicator line */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  color: var(--text-muted) !important;
}
.nav-cta:hover {
  color: var(--text) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(6,11,20,0.97);
  backdrop-filter: blur(16px);
  padding: 12px 24px 24px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mob-link {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mob-link:hover { color: var(--text); }
.mob-cta {
  color: var(--text-muted) !important;
}
.mob-cta:hover {
  color: var(--text) !important;
}

/* --- HERO --- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28; /* premium subtle blend with navy bg for readable text and beautiful aesthetic */
}

/* Remove old gradient pseudo-elements */
#hero::before, #hero::after { content: none; }

/* --- FLOATING GAME COVER ORBS --- */
.hero-overlay {
  z-index: 0; /* base darkening layer */
}

.hero-covers {
  position: absolute;
  inset: 0;
  z-index: 2; /* above overlay — hover works on every orb */
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  z-index: 3; /* above orbs */
}

/* Wrapper drifts; image handles hover independently — no transform conflict */
.gc-wrap {
  position: absolute;
  line-height: 0;
}

.gc {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.1);
  transition:
    opacity    0.4s ease,
    transform  0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    filter     0.4s ease;
}

.gc:hover {
  opacity: 1 !important;
  transform: scale(1.65) !important;
  box-shadow:
    0 0 0 3px  rgba(229,173,53,0.9),
    0 0 22px   rgba(229,173,53,0.7),
    0 0 55px   rgba(204,108,8,0.5),
    0 12px 40px rgba(0,0,0,0.6);
  filter: brightness(1.25) saturate(1.2);
  z-index: 10;
  position: relative;
}

/* ── 16 unique positions spread across the full viewport ── */
/*    columns: far-left │ mid-left │ mid-right │ far-right      */
.gc-1  { top:  4%;  left:  2%;  animation: drift1 21s ease-in-out infinite;           }
.gc-2  { top: 45%;  left:  0%;  animation: drift2 26s ease-in-out infinite;           }
.gc-3  { top: 78%;  left:  4%;  animation: drift3 18s ease-in-out infinite;           }
.gc-4  { top:  6%;  right: 3%;  animation: drift4 23s ease-in-out infinite;           }
.gc-5  { top: 48%;  right: 1%;  animation: drift5 29s ease-in-out infinite;           }
.gc-6  { top: 75%;  right: 5%;  animation: drift6 20s ease-in-out infinite;           }
.gc-7  { top: 15%;  left: 14%;  animation: drift3 25s ease-in-out infinite; animation-delay: -6s;  }
.gc-8  { top: 62%;  left: 12%;  animation: drift1 19s ease-in-out infinite; animation-delay: -9s;  }
.gc-9  { top: 88%;  left: 30%;  animation: drift2 22s ease-in-out infinite; animation-delay: -4s;  }
.gc-10 { top: 18%;  right:14%;  animation: drift5 27s ease-in-out infinite; animation-delay: -11s; }
.gc-11 { top: 65%;  right:12%;  animation: drift4 16s ease-in-out infinite; animation-delay: -3s;  }
.gc-12 { top: 85%;  right:28%;  animation: drift6 24s ease-in-out infinite; animation-delay: -7s;  }
.gc-13 { top:  2%;  left: 35%;  animation: drift2 31s ease-in-out infinite; animation-delay: -14s; }
.gc-14 { top:  2%;  right:32%;  animation: drift1 17s ease-in-out infinite; animation-delay: -5s;  }
.gc-15 { top: 38%;  left: 22%;  animation: drift4 28s ease-in-out infinite; animation-delay: -10s; }
.gc-16 { top: 38%;  right:20%;  animation: drift3 22s ease-in-out infinite; animation-delay: -8s;  }

/* ── Per-orb sizes (varied 80–130px) ── */
.gc-1  .gc { width:120px; height:120px; }
.gc-2  .gc { width:130px; height:130px; }
.gc-3  .gc { width:110px; height:110px; }
.gc-4  .gc { width:125px; height:125px; }
.gc-5  .gc { width:115px; height:115px; }
.gc-6  .gc { width:108px; height:108px; }
.gc-7  .gc { width: 90px; height: 90px; opacity:0.38; }
.gc-8  .gc { width: 95px; height: 95px; opacity:0.40; }
.gc-9  .gc { width: 85px; height: 85px; opacity:0.35; }
.gc-10 .gc { width: 92px; height: 92px; opacity:0.38; }
.gc-11 .gc { width:100px; height:100px; opacity:0.42; }
.gc-12 .gc { width: 88px; height: 88px; opacity:0.36; }
.gc-13 .gc { width: 80px; height: 80px; opacity:0.32; }
.gc-14 .gc { width: 82px; height: 82px; opacity:0.33; }
.gc-15 .gc { width: 78px; height: 78px; opacity:0.30; }
.gc-16 .gc { width: 75px; height: 75px; opacity:0.30; }

/* ── 6 unique multi-point drift paths ── */
@keyframes drift1 {
  0%   { transform: translate(  0px,   0px); }
  15%  { transform: translate( 22px, -28px); }
  35%  { transform: translate( 36px,   6px); }
  55%  { transform: translate( 14px,  32px); }
  75%  { transform: translate(-20px,  22px); }
  90%  { transform: translate(-30px,  -6px); }
  100% { transform: translate(  0px,   0px); }
}
@keyframes drift2 {
  0%   { transform: translate(  0px,   0px); }
  20%  { transform: translate(-20px, -26px); }
  40%  { transform: translate(-32px,  10px); }
  60%  { transform: translate(-10px,  34px); }
  80%  { transform: translate( 24px,  18px); }
  100% { transform: translate(  0px,   0px); }
}
@keyframes drift3 {
  0%   { transform: translate(  0px,   0px); }
  25%  { transform: translate( 26px,  20px); }
  50%  { transform: translate(-10px,  36px); }
  75%  { transform: translate(-28px,   4px); }
  100% { transform: translate(  0px,   0px); }
}
@keyframes drift4 {
  0%   { transform: translate(  0px,   0px); }
  20%  { transform: translate(-24px, -28px); }
  45%  { transform: translate( 20px, -22px); }
  70%  { transform: translate( 30px,  16px); }
  100% { transform: translate(  0px,   0px); }
}
@keyframes drift5 {
  0%   { transform: translate(  0px,   0px); }
  18%  { transform: translate( 16px, -24px); }
  40%  { transform: translate( 32px,   4px); }
  60%  { transform: translate( 12px,  30px); }
  80%  { transform: translate(-18px,  16px); }
  100% { transform: translate(  0px,   0px); }
}
@keyframes drift6 {
  0%   { transform: translate(  0px,   0px); }
  30%  { transform: translate(-26px,  20px); }
  60%  { transform: translate( 22px,  26px); }
  80%  { transform: translate( 18px, -16px); }
  100% { transform: translate(  0px,   0px); }
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 45%,
    rgba(6,11,20,0.6) 75%,
    rgba(6,11,20,1)   100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(229,173,53,0.12);
  border: 1px solid rgba(229,173,53,0.3);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero-content h1 {
  margin-bottom: 1.4rem;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0 auto 2.2rem;
  animation: fadeUp 0.9s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.4s ease both;
}

.hero-disclaimer {
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 550px;
  line-height: 1.5;
  animation: fadeUp 0.9s 0.5s ease both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1s 1.2s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 1.8s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* --- STATS BAR --- */
#stats {
  background: var(--bg-card2);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(229,173,53,0.12) 30%, rgba(229,173,53,0.22) 50%, rgba(229,173,53,0.12) 70%, transparent) 1;
  padding: 48px 24px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 16px 48px;
}
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-text {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem; /* Sized up from 2.4rem to match stat-num height */
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-suffix {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* --- ABOUT --- */
#about {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  top: 35%;
  right: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(229,173,53,0.06) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.about-grid {
  position: relative;
  z-index: 1;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about-points {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}
.check {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.about-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(229,173,53,0.15);
}
.card-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,173,53,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.profile-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 0 30px rgba(229,173,53,0.4);
  object-fit: cover;
  transition: transform var(--transition), box-shadow var(--transition);
}
.profile-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(229,173,53,0.6);
}
.about-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.card-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}
.card-contacts-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.card-email {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  word-break: break-all;
  border: 1px solid rgba(229,173,53,0.3);
  padding: 10px 16px;
  border-radius: var(--radius);
  background: rgba(229,173,53,0.07);
  transition: background var(--transition), border-color var(--transition);
}
.card-email:hover {
  background: rgba(229,173,53,0.14);
  border-color: var(--accent);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}
.social-links a:hover {
  color: var(--text);
  background: rgba(229,173,53,0.07);
  border-color: rgba(229,173,53,0.3);
  transform: translateY(-2px);
}

/* --- SERVICES --- */
#services {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
#services::before {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(204,108,8,0.05) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
#services .container {
  position: relative;
  z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(229,173,53,0.12);
  border-color: rgba(229,173,53,0.3);
}
.svc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }

/* --- GLOBAL REACH --- */
#reach {
  background: var(--bg-deep);
  background-image: radial-gradient(rgba(229,173,53,0.04) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  position: relative;
  overflow: hidden;
}
#reach::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(204,108,8,0.06) 0%, transparent 70%);
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}
#reach .container {
  position: relative;
  z-index: 1;
}
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}
.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.region-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(204,108,8,0.12);
  border-color: rgba(204,108,8,0.25);
}
.region-flag { font-size: 2.8rem; margin-bottom: 1rem; }
.region-card h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.region-card p { color: var(--text-muted); font-size: 0.9rem; }

/* --- WHY ME --- */
#why {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229,173,53,0.04) 0%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
#why .container {
  position: relative;
  z-index: 1;
}
.why-inner { max-width: 760px; margin: 0 auto; }
.why-inner h2 { margin-bottom: 3rem; }
.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.why-item:hover {
  border-color: rgba(229,173,53,0.25);
  box-shadow: 0 8px 30px rgba(229,173,53,0.08);
}
.why-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.why-item h4 { margin-bottom: 0.4rem; }
.why-item p { color: var(--text-muted); font-size: 0.93rem; }

/* --- CONTACT --- */
#contact { background: var(--bg-deep); }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.contact-info-side h3 { font-size: 1.3rem; margin-bottom: 1.6rem; }
.contact-email-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(229,173,53,0.07);
  border: 1px solid rgba(229,173,53,0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 1.4rem;
  transition: background var(--transition), border-color var(--transition);
}
.contact-email-block:hover {
  background: rgba(229,173,53,0.12);
  border-color: var(--accent);
}
.contact-email-icon { font-size: 1.5rem; }
.contact-email-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-email-addr {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  word-break: break-all;
}
.contact-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.contact-note strong { color: var(--text); }

/* FORM */
.contact-form-side { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b90b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(123,144,178,0.5); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229,173,53,0.12);
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* --- FOOTER --- */
#footer {
  background: var(--bg-card2);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(229,173,53,0.12) 30%, rgba(229,173,53,0.22) 50%, rgba(229,173,53,0.12) 70%, transparent) 1;
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-logo-img {
  height: 160px;          /* bigger in footer where there's more space */
  width: auto;
  filter: brightness(1.0) saturate(1.1);
  transition: filter 0.3s ease;
}
.footer-logo-img:hover {
  filter: brightness(1.15) saturate(1.2) drop-shadow(0 0 10px rgba(229,173,53,0.5));
}
.footer-tagline { color: var(--text-muted); font-size: 0.88rem; }
.footer-email {
  color: var(--accent);
  font-size: 0.9rem;
  transition: opacity var(--transition);
}
.footer-email:hover { opacity: 0.75; }
.footer-socials a { transition: color var(--transition); }
.footer-socials a:hover { color: var(--accent) !important; }
.footer-copy {
  color: rgba(123,144,178,0.45);
  font-size: 0.78rem;
  margin-top: 8px;
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-card { max-width: 420px; margin: 0 auto; }

  .contact-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 36px;
  }
  .form-row { grid-template-columns: 1fr; }

  .stat-item { padding: 16px 28px; }
  .stat-divider { display: none; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section:not(#hero):not(#stats) { padding: 72px 0; }
}

/* --- LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6,11,20,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.lightbox.show {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 50px rgba(0,0,0,0.8);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-muted);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--accent); }

/* ============================================
   NEW ADDITIONS
   ============================================ */

/* --- SCROLL PROGRESS BAR --- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(229,173,53,0.6);
}

/* --- HOW IT WORKS --- */
#how-it-works { background: var(--bg-dark); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 3rem;
  counter-reset: steps;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(229,173,53,0.12);
  border-color: rgba(229,173,53,0.3);
}
.step-card:hover::before { opacity: 1; }

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.35;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.step-card h3 { margin-bottom: 0.6rem; }
.step-card p  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Connector arrows between steps on desktop */
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- TRUST BADGES --- */
#trust {
  background: var(--bg-card2);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(229,173,53,0.12) 30%, rgba(229,173,53,0.22) 50%, rgba(229,173,53,0.12) 70%, transparent) 1;
  padding: 40px 24px;
}
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  flex: 1;
  min-width: 200px;
  justify-content: center;
}
.trust-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.trust-badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.trust-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.trust-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .trust-divider { display: none; }
  .trust-badge { border-bottom: 1px solid var(--border); width: 100%; justify-content: flex-start; }
  .trust-badge:last-child { border-bottom: none; }
}

/* --- BACK TO TOP BUTTON --- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(229,173,53,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  box-shadow: 0 6px 28px rgba(229,173,53,0.6);
  transform: translateY(-2px);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(12, 21, 38, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 800;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  flex-wrap: wrap;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-actions { flex-shrink: 0; }
.cookie-actions .btn-primary {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* --- SUBMIT BUTTON SPINNER --- */
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
#form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- FORM SUCCESS OVERLAY --- */
.contact-form-side {
  position: relative; /* anchor for overlay */
}
.contact-box {
  position: relative; /* anchor for overlay */
}
.form-success-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.form-success-overlay.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.form-success-inner {
  text-align: center;
  padding: 40px 24px;
  max-width: 360px;
}
.form-success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes popIn {
  from { transform: scale(0.3) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.form-success-inner h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.form-success-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   INTERACTIVE REFINEMENTS (DISCORD, VIDEO TOGGLE, PULSE COUNTERS)
   ============================================ */

/* --- DISCORD CLICK-TO-COPY --- */
.discord-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229,173,53,0.06);
  border: 1px dashed rgba(229,173,53,0.3);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: all var(--transition);
  position: relative;
  vertical-align: middle;
}
.discord-copy-btn:hover {
  background: rgba(229,173,53,0.12);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.discord-copy-btn .discord-username {
  font-weight: 600;
  color: var(--text);
}
.discord-copy-btn .copy-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.discord-copy-btn:hover .copy-badge {
  color: var(--text);
  background: rgba(229,173,53,0.25);
  border-color: var(--accent);
}
/* Success copied state */
.discord-copy-btn.copied {
  background: rgba(74, 222, 128, 0.1) !important;
  border-color: #4ade80 !important;
  color: #4ade80 !important;
}
.discord-copy-btn.copied .copy-badge {
  background: rgba(74, 222, 128, 0.25) !important;
  border-color: #4ade80 !important;
  color: #fff !important;
}

.discord-copy-btn.footer-discord {
  font-size: 0.82rem;
  padding: 4px 12px;
  background: rgba(255,255,255,0.02);
  border-color: var(--border);
  color: var(--text-muted);
}
.discord-copy-btn.footer-discord:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(229,173,53,0.06);
}

/* --- HERO VIDEO TOGGLE --- */
.hero-video-toggle {
  position: absolute;
  bottom: 32px;
  left: 28px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(12, 21, 38, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 10;
  outline: none;
  transition: all var(--transition);
}
.hero-video-toggle:hover {
  background: rgba(229,173,53,0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.06);
}

/* --- STAT PULSE GLOW --- */
@keyframes statPulse {
  0% {
    text-shadow: 0 0 0 rgba(229, 173, 53, 0);
    transform: scale(1);
  }
  30% {
    text-shadow: 0 0 15px rgba(229, 173, 53, 0.8), 0 0 30px rgba(204, 108, 8, 0.4);
    transform: scale(1.08);
  }
  100% {
    text-shadow: 0 0 0 rgba(229, 173, 53, 0);
    transform: scale(1);
  }
}
.pulse-glow {
  animation: statPulse 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  display: inline-block; /* ensures scale transformation works correctly */
}

/* ============================================
   CHANNELS TICKER & FAQ ACCORDION STYLING
   ============================================ */

/* --- CHANNELS TICKER --- */
#channels {
  background: var(--bg-deep);
  padding: 30px 0 !important;
  overflow: hidden;
}
.channels-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.ticker-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  margin: -12px 0;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep) 0%, transparent 100%);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-deep) 0%, transparent 100%);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marquee 25s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
}
.ticker-item:hover {
  color: var(--text);
  background: rgba(229,173,53,0.08);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(229,173,53,0.15);
  transform: translateY(-1px);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- FAQ ACCORDION --- */
#faq {
  background: var(--bg-deep);
}
.faq-accordion {
  max-width: 780px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover {
  border-color: rgba(229,173,53,0.3);
  box-shadow: 0 4px 20px rgba(229,173,53,0.05);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
}
.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 16px;
  transition: color var(--transition);
}
.faq-trigger:hover .faq-question {
  color: var(--accent);
}
.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), color var(--transition);
  flex-shrink: 0;
}
.faq-trigger:hover .faq-icon {
  color: var(--accent);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-content p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* Opened state styles */
.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(229,173,53,0.08);
}
.faq-item.active .faq-question {
  color: var(--accent);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

/* ============================================
   B2B PATHWAY PORTAL STYLING
   ============================================ */

#portal {
  background: var(--bg-dark);
}
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 3.5rem;
}
.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
/* Glowing backing lights on hover for the portal cards! */
.portal-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.15;
  filter: blur(40px);
  transition: opacity var(--transition);
}
.portal-card.publishers::after {
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.portal-card.partners::after {
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
}
.portal-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229,173,53,0.3);
  box-shadow: 0 16px 50px rgba(229,173,53,0.12);
}
.portal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(229,173,53,0.08);
  border: 1px solid rgba(229,173,53,0.2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.portal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.portal-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.portal-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}
.portal-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2.2rem;
  width: 100%;
}
.portal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.portal-features li span {
  color: var(--accent);
  font-weight: bold;
}
/* Active link highlighting in header */
.nav-links a.active {
  color: var(--accent) !important;
  font-weight: 600;
}
.mobile-menu a.active {
  color: var(--accent) !important;
  font-weight: 600;
}

@media (max-width: 800px) {
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .portal-card {
    padding: 36px 28px;
  }
}

/* --- ICONS & PAYMENT METHODS STYLING --- */
.ticker-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ticker-item {
  text-decoration: none;
}

.contact-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

.video-toggle-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: transform var(--transition);
}

.hero-video-toggle:hover .video-toggle-img {
  transform: scale(1.1);
}

.payment-methods {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  text-align: left;
}

.payment-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Glassmorphic Tooltip Popup Container */
.payment-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.payment-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(12, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.05);
  z-index: 100;
}

.payment-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.payment-icon {
  height: 48px;
  width: 48px;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity var(--transition), transform var(--transition);
}

.payment-icon:hover {
  opacity: 1;
  transform: translateY(-4px);
}

/* Biography 48x48 Social Cards */
.about-social-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 8px 18px !important;
  height: 64px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border) !important;
  transition: all var(--transition) !important;
}

.social-links a.about-social-btn {
  color: var(--text-muted);
  text-decoration: none;
}

.about-social-btn:hover {
  color: var(--text) !important;
  background: rgba(229, 173, 53, 0.08) !important;
  border-color: var(--accent) !important;
  transform: translateY(-2px) !important;
}

.about-social-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.about-social-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.35;
}

.about-social-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.region-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.payment-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
  text-align: left;
}

#portal {
  position: relative;
  overflow: hidden;
}

#portal .container {
  position: relative;
  z-index: 2;
}

/* Floating B2B Pathway Background Platform Icons */
.portal-covers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.pc-wrap {
  position: absolute;
  line-height: 0;
}

.pc {
  display: block;
  opacity: 0.22; /* Elevate opacity for clear and intense visibility in the background */
  filter: grayscale(0.1) brightness(0.95);
  transition: opacity var(--transition), transform var(--transition);
}

/* Positions for 16 floating platform background icons spread dynamically */
.pc-1  { top: 5%;  left: 3%;  animation: portalDrift1 12s ease-in-out infinite; }
.pc-2  { top: 35%; left: 1%;  animation: portalDrift2 15s ease-in-out infinite; }
.pc-3  { top: 65%; left: 4%;  animation: portalDrift3 11s ease-in-out infinite; }
.pc-4  { top: 88%; left: 2%;  animation: portalDrift4 13s ease-in-out infinite; }
.pc-5  { top: 20%; left: 12%; animation: portalDrift5 16s ease-in-out infinite; }
.pc-6  { top: 50%; left: 14%; animation: portalDrift6 14s ease-in-out infinite; }
.pc-7  { top: 80%; left: 11%; animation: portalDrift1 17s ease-in-out infinite; animation-delay: -3s; }
.pc-8  { top: 6%;  right: 2%;  animation: portalDrift2 13s ease-in-out infinite; animation-delay: -4s; }
.pc-9  { top: 38%; right: 1%;  animation: portalDrift3 15s ease-in-out infinite; animation-delay: -2s; }
.pc-10 { top: 68%; right: 3%;  animation: portalDrift4 12s ease-in-out infinite; animation-delay: -5s; }
.pc-11 { top: 90%; right: 2%;  animation: portalDrift5 16s ease-in-out infinite; animation-delay: -1s; }
.pc-12 { top: 22%; right: 13%; animation: portalDrift6 14s ease-in-out infinite; animation-delay: -7s; }
.pc-13 { top: 52%; right: 11%; animation: portalDrift1 15s ease-in-out infinite; animation-delay: -6s; }
.pc-14 { top: 78%; right: 15%; animation: portalDrift2 13s ease-in-out infinite; animation-delay: -8s; }
.pc-15 { top: 3%;  left: 45%; animation: portalDrift3 18s ease-in-out infinite; }
.pc-16 { bottom: 4%; left: 52%; animation: portalDrift4 16s ease-in-out infinite; }

/* Sizes for platform background icons (compact and sharp: 46px - 58px) */
.pc-1  .pc { width: 54px; height: 54px; }
.pc-2  .pc { width: 58px; height: 58px; }
.pc-3  .pc { width: 48px; height: 48px; }
.pc-4  .pc { width: 52px; height: 52px; }
.pc-5  .pc { width: 50px; height: 50px; }
.pc-6  .pc { width: 46px; height: 46px; }
.pc-7  .pc { width: 48px; height: 48px; }
.pc-8  .pc { width: 52px; height: 52px; }
.pc-9  .pc { width: 54px; height: 54px; }
.pc-10 .pc { width: 56px; height: 56px; }
.pc-11 .pc { width: 46px; height: 46px; }
.pc-12 .pc { width: 50px; height: 50px; }
.pc-13 .pc { width: 48px; height: 48px; }
.pc-14 .pc { width: 52px; height: 52px; }
.pc-15 .pc { width: 46px; height: 46px; }
.pc-16 .pc { width: 48px; height: 48px; }

/* Active high-travel drifting keyframes with larger offsets & rotation angles */
@keyframes portalDrift1 {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  25%  { transform: translate(28px, -28px) rotate(8deg); }
  50%  { transform: translate(44px, 14px) rotate(-8deg); }
  75%  { transform: translate(-14px, 32px) rotate(12deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}
@keyframes portalDrift2 {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  30%  { transform: translate(-32px, -18px) rotate(-12deg); }
  65%  { transform: translate(18px, 26px) rotate(10deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}
@keyframes portalDrift3 {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  50%  { transform: translate(36px, 36px) rotate(16deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}
@keyframes portalDrift4 {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  45%  { transform: translate(-22px, 32px) rotate(-10deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}
@keyframes portalDrift5 {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  20%  { transform: translate(24px, -20px) rotate(6deg); }
  50%  { transform: translate(-18px, 28px) rotate(-8deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}
@keyframes portalDrift6 {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  40%  { transform: translate(30px, 18px) rotate(12deg); }
  70%  { transform: translate(-26px, -14px) rotate(-10deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

/* Scroll Progress Bar at ceiling */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  z-index: 1000;
  transition: width 0.1s ease;
  box-shadow: 0 2px 10px rgba(229, 173, 53, 0.4);
}

/* Mouse Glow Track Overlay on Cards */
.portal-card, .service-card, .region-card {
  position: relative;
  overflow: hidden;
}

.portal-card::before, .service-card::before, .region-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(229, 173, 53, 0.08), transparent 80%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.portal-card:hover::before, .service-card:hover::before, .region-card:hover::before {
  opacity: 1;
}

.portal-card *, .service-card *, .region-card * {
  position: relative;
  z-index: 1;
}

.portal-card .portal-badge, .portal-card::after {
  z-index: 1;
}

/* ============================================
   PARTNER CTA & GATEWAY MODAL STYLING
   ============================================ */

/* --- PARTNER CTA --- */
#partner-cta {
  background: var(--bg-card2);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#partner-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(229,173,53,0.05) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
#partner-cta .container {
  position: relative;
  z-index: 1;
}

/* --- CHOICE MODAL --- */
.modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 11, 20, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
}
.modal.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  padding: 48px;
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow), 0 0 50px rgba(229, 173, 53, 0.08);
}
.modal.show .modal-content {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  padding: 4px;
}
.modal-close:hover {
  color: var(--accent);
  transform: scale(1.08);
}
.modal h2 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  text-align: center;
}
.modal-sub {
  color: var(--text-muted);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.2rem;
  font-size: 0.98rem;
  line-height: 1.5;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.modal-option-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.modal-option-card:hover {
  border-color: rgba(229, 173, 53, 0.3);
  background: rgba(229, 173, 53, 0.04);
  transform: translateY(-4px);
}
.option-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}
.modal-option-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.modal-option-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}
.modal-btn {
  padding: 12px 24px;
  font-size: 0.88rem;
  width: 100%;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 32px 20px;
  }
  .modal h2 {
    font-size: 1.7rem;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-option-card {
    padding: 24px;
  }
}

/* --- HERO DRIVER BACKGROUND PARTICLES --- */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5; /* Beautiful glowing overlay opacity */
}

/* --- REGION CARD HOVER DETAILS --- */
.region-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.4s ease;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  text-align: left;
  border-top: 1px dashed rgba(229, 173, 53, 0.18);
  padding-top: 10px;
  width: 100%;
}
.region-card:hover .region-details {
  max-height: 100px;
  opacity: 1;
  margin-top: 14px;
}
.region-details ul li {
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- FAQ SEARCH ACCORDION --- */
.faq-search-container {
  max-width: 480px;
  margin: 1.5rem auto 2.5rem;
  position: relative;
}
.faq-search-input {
  width: 100%;
  padding: 14px 44px 14px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: center;
}
.faq-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(229, 173, 53, 0.15);
}
.faq-search-clear {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  display: none;
  transition: color var(--transition);
}
.faq-search-clear:hover {
  color: var(--accent);
}

/* --- COUNTER PROGRESS SILVER CLASS --- */
.stat-num.counting {
  background: linear-gradient(135deg, #7b90b2 0%, #a3b8cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
