@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Rajdhani:wght@500;600;700&family=JetBrains+Mono:wght@400;700&display=optional');

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

:root {
  --bg: #0D0F14;
  --surface: #12141A;
  --card: #16181F;
  --card2: #1A1C24;
  --border: #252830;
  --accent: #FFD700;
  --accent2: #FFE44D;
  --text: #E8E4D4;
  --dim: #7A7560;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Rajdhani', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* UTILITY */
.container { width: 100%; max-width: 1152px; margin: 0 auto; }
.logo-font { font-family: var(--font-display); }
.section-title { font-family: var(--font-display); letter-spacing: 2px; }

/* NAV */
nav {
  background: rgba(13,15,20,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  height: 88px;
  display: flex;
  align-items: center;
  padding: 0 3rem;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  letter-spacing: 3px;
  text-decoration: none;
  transition: color 0.2s;
  /* Prevent FOUT reflow: cap size so fallback font doesn't cause visible jump */
  line-height: 1;
  height: 40px;
  overflow: hidden;
}
.nav-logo:hover { color: var(--accent); }
.nav-links { display: flex; gap: 8px; align-items: center; list-style: none; }
.nav-link {
  color: var(--dim);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.2s;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.nav-link:hover { color: var(--accent); background: rgba(255,215,0,0.07); }
.nav-link.active { color: var(--accent); }

/* DROPDOWN */
.nav-more { position: relative; }
.dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.dropdown-trigger svg { transition: transform 0.2s; }
.nav-more:hover .dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.18s;
}
.nav-more:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
}
.dropdown-item:hover { color: var(--accent); background: rgba(0,0,0,0.1); }

/* FOOTER */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 2rem 0;
  text-align: left;
  position: relative;
  z-index: 1;
}
footer a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-col--brand svg { margin-bottom: 14px; }
footer .footer-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: 3px; color: var(--text); margin-bottom: 14px; }
.footer-tagline { color: var(--dim); font-size: 0.85rem; line-height: 1.7; max-width: 280px; margin-bottom: 16px; }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { font-size: 0.85rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 24px 0 28px;
  text-align: center;
}
footer .footer-bottom p { color: var(--dim); font-size: 0.8rem; margin-bottom: 0; }
footer .footer-sub { font-size: 0.72rem; color: var(--border); text-transform: uppercase; letter-spacing: 2px; margin-top: 10px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow: 0 0 28px rgba(255,215,0,0.3);
  border: none;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation; /* eliminates 300ms tap delay on mobile */
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.btn-primary:hover { background: #FFE44D; /* transform via JS magnetic */ box-shadow: 0 0 40px rgba(255,215,0,0.5); }
.btn-primary:active { transform: scale(0.97); }

/* STATS BAR */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 2rem;
  position: relative;
  z-index: 1;
}
.stats-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.73rem; color: var(--dim); letter-spacing: 3px; text-transform: uppercase; }

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 0; /* was 92vh — caused massive blank space above fold */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 80px; /* generous padding instead of forced height */
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  opacity: 0.4;
}
.hero-glow-center {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.12), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.hero-glow-tr {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,228,77,0.07), transparent 70%);
  top: 20%; right: 10%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 896px; width: 100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.5s ease-out both;
}
.pulse-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite;
}
.hero-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 8px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.15s;
}
.hero-img-placeholder {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border: 2px dashed rgba(255,215,0,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,215,0,0.2);
}
@media (min-width: 768px) { .hero-img-placeholder { width: 96px; height: 96px; } }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 0.82rem; color: var(--dim); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; animation: fadeUp 0.7s ease both; animation-delay: 0.25s; }
.hero-desc { font-size: 1rem; color: var(--dim); margin-bottom: 48px; letter-spacing: 1px; animation: fadeUp 0.7s ease both; animation-delay: 0.3s; }
.hero-desc span { color: var(--accent2); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.7s ease both; animation-delay: 0.4s; }

/* SWEEPING ARROW */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  animation: sweepArrow 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  opacity: 0;
}

/* WHY SECTION */
.why-section {
  padding: 80px 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.why-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.06), transparent 70%);
  right: -96px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.features-row { display: flex; flex-direction: column; gap: 32px; align-items: stretch; }
@media (min-width: 1024px) { .features-row { flex-direction: row; } }
.features-grid { flex: 1; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .features-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--border); padding: 2rem; border-radius: 8px;
  transition: all 0.25s ease; position: relative;
}
.feature::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 0 0 8px 8px; opacity: 0; transition: opacity 0.3s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255,215,0,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.feature:hover::after { opacity: 1; }
.feature-emoji { font-size: 1.875rem; margin-bottom: 20px; display: block; }
.feature h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: 3px; color: var(--text); margin-bottom: 8px; text-transform: uppercase; }
.feature p { color: var(--dim); font-size: 0.875rem; line-height: 1.7; }

.ads-placeholder {
  background: rgba(14,20,32,0.5);
  border: 1px dashed rgba(30,42,58,0.8);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  min-height: 90px;
  overflow: hidden;
}
/* "Advertisement" label — shown only on EMPTY slots awaiting an ad code */
.ads-placeholder::after {
  content: 'Advertisement';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(85,119,170,0.2);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
/* Once a real ad is placed in the slot, the skeleton box/border/label disappear
   so only the live ad creative is visible */
.ads-placeholder.is-filled {
  background: transparent;
  border: none;
  border-radius: 0;
}
.ads-placeholder.is-filled::after { content: none; display: none; }
.ads-placeholder ins { position: relative; z-index: 1; }
.ads-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 8px; color: rgba(85,119,170,0.2); line-height: 2.5; display: flex; flex-direction: column; align-items: center; user-select: none; text-transform: uppercase; }

/* HOW TO SECTION */
.how-section { padding: 80px 2rem; position: relative; }
.steps-row { display: flex; flex-direction: column; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .steps-row { flex-direction: row; } }
.steps-grid { flex: 1; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: 1fr 1fr 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  padding: 1.75rem; border-radius: 8px; transition: all 0.25s ease; position: relative; overflow: hidden;
}
.step::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,215,0,0.04) 0%, transparent 60%); pointer-events: none; }
.step:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(255,215,0,0.1); }
.step-number {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  background: rgba(255,215,0,0.12); border: 1px solid rgba(255,215,0,0.3); color: var(--accent);
  border-radius: 6px; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: 3px; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.step p { color: var(--dim); font-size: 0.88rem; line-height: 1.7; }
.step p strong { color: var(--accent); font-weight: 600; }
.step p span { color: var(--accent); }

/* ANIMATIONS */
@keyframes sweepArrow {
  0% { right: -25%; opacity: 0; }
  8% { opacity: 0.2; }
  85% { opacity: 0.15; }
  100% { right: 115%; opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes scan {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}
@keyframes blink {
  50% { opacity: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.5s ease both; }
.fade-in-d1 { animation-delay: 0.05s; }
.fade-in-d2 { animation-delay: 0.1s; }
.fade-in-d3 { animation-delay: 0.15s; }
.fade-in-d4 { animation-delay: 0.2s; }
.fade-in-d5 { animation-delay: 0.25s; }
.fade-in-d6 { animation-delay: 0.3s; }

/* VERSIONS TABLE */
.versions-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.versions-table thead tr { background: var(--card2); border-bottom: 1px solid var(--border); }
.versions-table th { padding: 11px 16px; text-align: left; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.versions-table td { padding: 13px 16px; font-size: 0.88rem; color: var(--text); border-bottom: 1px solid rgba(30,42,58,0.5); }
.versions-table tr:last-child td { border-bottom: none; }
.versions-table tr:hover td { background: rgba(255,215,0,0.03); }

/* TAB BUTTONS */
.tab-bar { display: inline-flex; padding: 4px; background: var(--card2); border: 1px solid var(--border); border-radius: 12px; gap: 4px; margin-bottom: 16px; }
.tab-btn {
  padding: 8px 16px; border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  transition: all 0.2s; color: var(--dim); background: none; border: none; cursor: pointer;
  display: flex; align-items: center;
}
.tab-btn:hover { color: var(--accent); }
.tab-btn.active { background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.35); color: var(--accent); }

/* PANEL */
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; min-height: 220px; }

/* DOWNLOAD PAGE HEADER */
.dl-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-top: 104px; padding-bottom: 48px; padding-left: 2rem; padding-right: 2rem;
  position: relative; overflow: hidden;
  margin-top: -64px; /* compensate sticky nav */
}
.dl-header-bg { position: absolute; inset: 0; z-index: 0; }
.dl-header-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: blur(1px); transition: transform 0.7s; }
.dl-header:hover .dl-header-bg img { transform: scale(1.05); }
.dl-header-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg), rgba(13,15,20,0.95), transparent); }
.dl-header-overlay2 { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), transparent, rgba(13,15,20,0.4)); }
.dl-header-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .dl-header-inner { flex-direction: row; } }
.dl-info { display: flex; align-items: flex-start; gap: 20px; }
.dl-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: 3px; color: var(--text); line-height: 1.2; margin-bottom: 8px; }
.dl-desc { color: var(--dim); font-size: 0.875rem; line-height: 1.7; max-width: 32rem; margin-bottom: 16px; }
.dl-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--dim); background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 4px 12px; border-radius: 999px; }

/* ROADMAP */
.roadmap-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; display: flex; gap: 2rem; align-items: flex-start; position: relative; overflow: hidden; transition: all 0.25s ease; }
.roadmap-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,215,0,0.04) 0%, transparent 50%); pointer-events: none; }
.roadmap-card:hover { border-color: rgba(255,215,0,0.25); /* transform: JS managed */ box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.roadmap-icon { width: 64px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,215,0,0.05); border-radius: 12px; border: 1px solid rgba(255,215,0,0.1); }
.roadmap-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent2); background: rgba(255,228,77,0.1); border: 1px solid rgba(255,228,77,0.2); padding: 4px 12px; border-radius: 6px; margin-bottom: 16px; font-weight: 700; }

/* ABOUT PAGE */
.about-scan-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0.2; }
.about-scan-line { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,215,0,0.05) 1px, transparent 1px); background-size: 100% 40px; animation: scan 8s linear infinite; }
.about-cursor { display: inline-block; width: 16px; height: 40px; background: var(--accent); margin-left: 12px; animation: blink 1s step-end infinite; vertical-align: middle; }
@media (min-width: 768px) { .about-cursor { width: 20px; height: 56px; } }
.about-card { background: var(--surface); border: 1px solid var(--border); padding: 2rem; border-radius: 12px; overflow: hidden; position: relative; transition: all 0.3s; }
.about-card:hover { border-color: rgba(255,215,0,0.4); /* transform: JS managed */ }
.about-card-icon-bg { position: absolute; top: 0; right: 0; padding: 2rem; opacity: 0.05; transition: opacity 0.3s; }
.about-card:hover .about-card-icon-bg { opacity: 0.1; }
.impact-badge { font-size: 10px; font-family: var(--font-mono); border: 1px solid rgba(255,215,0,0.2); padding: 2px 8px; border-radius: 4px; color: rgba(255,215,0,0.6); }
.about-icon-box { display: inline-flex; padding: 12px; background: rgba(255,215,0,0.05); border-radius: 8px; color: var(--accent); border: 1px solid rgba(255,215,0,0.2); margin-bottom: 24px; }
.about-hover-line { height: 2px; width: 0; background: var(--accent); transition: width 0.5s; }
.about-card:hover .about-hover-line { width: 100%; }
.mini-stat { background: var(--surface); border: 1px solid var(--border); padding: 12px; border-radius: 8px; }
.mini-stat-label { font-size: 10px; font-family: var(--font-mono); color: var(--dim); margin-bottom: 4px; }
.mini-stat-value { font-size: 0.75rem; font-weight: 700; font-family: var(--font-mono); }
.toolkit-panel { position: relative; padding: 4px; background: linear-gradient(135deg, rgba(255,215,0,0.2), transparent); border-radius: 16px; }
.toolkit-inner { background: var(--surface); padding: 2rem; border-radius: 14px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.toolkit-bg-icon { position: absolute; top: 0; right: 0; padding: 2rem; opacity: 0.1; pointer-events: none; }
.vertical-nav-indicator { position: fixed; bottom: 32px; left: 32px; z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0.3; }
.vert-line { height: 96px; width: 1px; background: linear-gradient(to top, var(--accent), transparent); }
.vert-text { font-family: var(--font-mono); font-size: 9px; letter-spacing: 4px; color: var(--accent); text-transform: uppercase; writing-mode: vertical-rl; }

/* REVIEWS */
.discord-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: space-between; transition: border-color 0.2s; }
@media (min-width: 768px) { .discord-card { flex-direction: row; } }
.discord-card:hover { border-color: rgba(88,101,242,0.4); }
.discord-icon-box { width: 56px; height: 56px; background: rgba(88,101,242,0.15); border: 1px solid rgba(88,101,242,0.3); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #818cf8; flex-shrink: 0; }
.btn-discord { background: #5865f2; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: all 0.2s; box-shadow: 0 8px 24px rgba(88,101,242,0.35); width: 100%; justify-content: center; touch-action: manipulation; -webkit-tap-highlight-color: transparent; will-change: transform; }
@media (min-width: 768px) { .btn-discord { width: auto; } }
.btn-discord:hover { transform: scale(1.05); }
.btn-discord:active { transform: scale(0.95); }

/* About footer CTA */
.cta-box { background: rgba(255,215,0,0.05); border: 1px solid rgba(255,215,0,0.1); padding: 3rem; border-radius: 24px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,215,0,0.03), transparent 70%); pointer-events: none; }
.share-btn { display: flex; align-items: center; gap: 12px; padding: 12px; color: var(--dim); border-radius: 8px; font-size: 0.875rem; transition: all 0.15s; text-align: left; background: none; border: none; cursor: pointer; width: 100%; font-family: var(--font-sans); }
.share-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* ============================================================
   SCROLL-REVEAL ANIMATION SYSTEM
   Cards/steps start hidden, animate in when entering viewport
   with staggered delays — matching the video effect exactly
   ============================================================ */

/* Base reveal state: invisible and shifted down */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  /* Safety net: if JS fails or observer never fires, show content after 1.2s */
  animation: reveal-fallback 0.55s cubic-bezier(0.22,1,0.36,1) 1.2s both;
}
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}

/* When JS adds .visible the element animates in (overrides fallback animation) */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none; /* cancel fallback once JS fires */
}

/* Staggered delays for grids of cards */
.reveal[data-delay="1"] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.19s; }
.reveal[data-delay="4"] { transition-delay: 0.26s; }
.reveal[data-delay="5"] { transition-delay: 0.33s; }
.reveal[data-delay="6"] { transition-delay: 0.40s; }

/* Section headings / labels slide in from slightly left */
.reveal-heading {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: heading-fallback 0.5s ease 1.0s both;
}
@keyframes heading-fallback {
  to { opacity: 1; transform: translateX(0); }
}
.reveal-heading.visible {
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

/* Stat numbers count up — handled by JS, just hide initially */
.stat-item.reveal {
  transform: translateY(16px);
}

/* Stats bar numbers animate scale-in */
.stat-num {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   OPNAK ANIMATION UPGRADE v3 — Snappy, Magnetic, Alive
   ============================================================ */

/* ── Reveal: spring easing instead of plain ease ── */
.reveal {
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.reveal-heading {
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── Nav shrink on scroll ── */
nav { transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease; }
nav.nav-scrolled {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 62px !important;
  background: rgba(13,15,20,0.95) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,215,0,0.06);
}
nav.nav-scrolled .nav-logo { font-size: 1.5rem !important; transition: font-size 0.3s ease; }

/* ── Buttons — snappier hover + active push ── */
.btn-primary {
  transition: background 0.15s, box-shadow 0.15s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  /* translateY handled by JS magnetic — CSS only controls shadow/bg */
  box-shadow: 0 0 50px rgba(255,215,0,0.6), 0 8px 20px rgba(0,0,0,0.4) !important;
  background: #FFE44D !important;
}
.btn-primary:active { transform: scale(0.97) !important; transition-duration: 0.08s !important; }

/* ── Ripple keyframe ── */
@keyframes rippleAnim {
  to { transform: scale(1); opacity: 0; }
}

/* ── Page transition overlay ── */
#page-overlay { will-change: opacity; }

/* ── Stats bar scan ── */
@keyframes statsScan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* ── Hero particles ── */
@keyframes heroParticle {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  15%  { opacity: 0.6; }
  80%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.3); }
}

/* ── Tilt card smoothing — handled by JS, but base state reset ── */
.benefit-card, .setup-card, .roadmap-card, .testimonial-card, .about-card {
  /* will-change set by JS on mouseenter only - avoids wasting GPU layers */
}

/* ── Nav link hover — slide-up underline ── */
.nav-link {
  position: relative;
  overflow: hidden;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--accent);
  transition: left 0.2s cubic-bezier(0.34,1.56,0.64,1), right 0.2s cubic-bezier(0.34,1.56,0.64,1);
  opacity: 0.7;
}
.nav-link:hover::after, .nav-link.active::after { left: 10%; right: 10%; }

/* ── Dropdown items — slide in ── */
.dropdown-menu { transition: opacity 0.18s, transform 0.22s cubic-bezier(0.34,1.56,0.64,1) !important; }
.dropdown-item {
  transition: color 0.15s, background 0.15s, transform 0.15s !important;
}
.dropdown-item:hover { transform: translateX(4px) !important; }

/* ── Stats numbers — pop in ── */
.stat-item.visible .stat-num {
  animation: statPop 0.45s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes statPop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Section labels — accent glow pulse ── */
.section-label {
  animation: labelGlow 3s ease-in-out infinite alternate;
}
@keyframes labelGlow {
  from { text-shadow: none; opacity: 0.85; }
  to   { text-shadow: 0 0 12px rgba(255,215,0,0.5); opacity: 1; }
}

/* ── Trust banner border breathe ── */
.trust-banner {
  animation: borderBreathe 4s ease-in-out infinite alternate;
}
@keyframes borderBreathe {
  from { border-color: rgba(255,215,0,0.18); box-shadow: none; }
  to   { border-color: rgba(255,215,0,0.38); box-shadow: 0 0 30px rgba(255,215,0,0.07); }
}

/* ── Hero title — shimmer sweep on load ── */
.hero-title {
  background-size: 200% auto !important;
  animation: titleShimmer 3.5s linear infinite;
}
@keyframes titleShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── CTA scan line — faster ── */
.why-cta-scan, .dl-cta-scan {
  animation-duration: 2.5s !important;
}

/* ── Benefit cards — icon pop on hover ── */
.benefit-card:hover .benefit-icon {
  animation: iconPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes iconPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* ── Reveal items — faster stagger ── */
.reveal-item { transition-duration: 0.38s !important; }
.reveal-item[data-delay="1"] { transition-delay: 0.03s !important; }
.reveal-item[data-delay="2"] { transition-delay: 0.08s !important; }
.reveal-item[data-delay="3"] { transition-delay: 0.13s !important; }
.reveal-item[data-delay="4"] { transition-delay: 0.18s !important; }

/* ── VS Table rows — stagger on scroll ── */
.vs-table tbody tr {
  transition: background 0.15s, transform 0.2s;
}
.vs-table tbody tr:hover {
  background: rgba(255,215,0,0.04);
  transform: translateX(2px);
}

/* ── Roadmap cards pulse border on hover ── */
.roadmap-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,215,0,0.2), 0 0 30px rgba(255,215,0,0.06) !important;
}

/* ── Pulse dot — faster, snappier ── */
.pulse-dot {
  animation: pulse-dot 1.4s ease-in-out infinite !important;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); transform: scale(1); }
  50%       { opacity: 0.3; box-shadow: none; transform: scale(0.7); }
}

/* ── Footer logo hover ── */
footer .footer-logo {
  transition: color 0.2s, letter-spacing 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}
footer .footer-logo:hover {
  color: var(--accent) !important;
  letter-spacing: 6px !important;
}

/* ── Hero badge border spin ── */
.hero-badge {
  background: rgba(255,215,0,0.08) !important;
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from var(--angle, 0deg), transparent 80%, rgba(255,215,0,0.5) 100%);
  border-radius: inherit;
  animation: badgeSpin 3s linear infinite;
  z-index: -1;
}
@keyframes badgeSpin {
  to { --angle: 360deg; }
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ── Metric bars — overshoot on animate ── */
.metric-bar-fill {
  transition: width 1.1s cubic-bezier(0.34, 1.1, 0.64, 1) !important;
}

/* ── Gallery items — snappier zoom ── */
.gallery-item {
  transition: border-color 0.18s, transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s !important;
}
.gallery-item:hover { transform: scale(1.03) !important; }

/* ── Share chips — slide ── */
.share-chip {
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.share-chip:hover { transform: translateY(-2px) !important; }

/* ── Testimonial cards ── */
.testimonial-card {
  transition: border-color 0.2s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s !important;
}

/* ── About cards ── */
.about-card {
  transition: border-color 0.2s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1) !important;
}

/* ── Reduce motion support ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.1ms !important; }
}

/* ── Scroll-to-top button ── */
#scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  cursor: pointer;
  z-index: 999;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(10px);
}
#scroll-top.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
#scroll-top:hover {
  background: rgba(255,215,0,0.22);
  box-shadow: 0 0 20px rgba(255,215,0,0.3);
  transform: translateY(-3px) !important;
}
#scroll-top svg { width: 18px; height: 18px; }

/* ── Nav progress bar glow ── */
body > div[style*="position:fixed"][style*="height:2px"] {
  box-shadow: 0 0 8px rgba(255,215,0,0.6);
}

/* ============================================================
   GUIDES — shared article-card grid (used on homepage + guides hub)
   ============================================================ */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s, box-shadow 0.3s;
}
.guide-card:hover { transform: translateY(-6px); border-color: rgba(255,215,0,0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.guide-card-label { display: block; font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.guide-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 12px; letter-spacing: 0.3px; }
.guide-card p { color: var(--dim); font-size: 0.85rem; line-height: 1.7; margin-bottom: 18px; }
.guide-card-read { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; color: var(--accent2); }

/* ── Related guides strip (bottom of article pages) ── */
.related-guides { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-guides-label { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.related-guides-list { display: flex; flex-direction: column; gap: 10px; }
.related-guides-list a { display: flex; align-items: baseline; gap: 8px; color: var(--text); text-decoration: none; font-size: 0.9rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.2s, padding-left 0.2s; }
.related-guides-list a:hover { color: var(--accent); padding-left: 6px; }
.related-guides-list a span { color: var(--dim); font-size: 0.78rem; }

/* ── Simple FAQ accordion (community page) ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.5px; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-chevron { flex-shrink: 0; transition: transform 0.25s ease; color: var(--accent); }
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-item p { color: var(--dim); font-size: 0.9rem; line-height: 1.75; padding: 0 24px 22px; margin: 0; }

/* ── Ad-safety: prevent ad iframes from sitting above interactive elements ── */
/* Adsterra/popunder scripts inject fixed iframes — keep them below nav (z:999) */
.ads-placeholder iframe,
.ads-placeholder ins,
[id^="container-"] iframe {
  max-width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}
/* Popunder scripts sometimes inject a full-screen transparent overlay div.
   This rule destroys any such overlay that isn't our consent gate. */
body > div[style*="position: fixed"]:not(#opnak-consent-overlay):not(#scroll-top):not(#page-overlay) {
  pointer-events: none !important;
}

/* ── Mobile Nav (already added in previous version, keep it here too) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
@media (max-width: 767px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 0;
    z-index: 998;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a,
  .nav-links li button {
    width: 100%;
    padding: 14px 24px;
    text-align: left;
    border-radius: 0;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--card);
    padding: 4px 0 4px 16px;
  }
}

/* ── Ad Collapse — Bulletproof Version ─────────────────────────────────────
   All ad wrappers are display:none by default via inline style.
   The ad script's onload callback calls window.showAd(id) which removes
   display:none. If the script never loads (file://, adblock, timeout) the
   element stays hidden and takes zero space. No MutationObserver needed.
   ────────────────────────────────────────────────────────────────────────── */

/* Ad sidebar integrates into flex layout only when visible */
.dl-sidebar { transition: opacity 0.3s ease; }

/* Ad iframe safety: never overflow their container */
.ads-placeholder iframe { max-width: 100% !important; }
