/* =========================================================
   POLYGOOSE dark, modern, trading desk aesthetic
   palette: near-black + telegram blue + signal green
   typography: Inter (everything) + JetBrains Mono (numbers)
   ========================================================= */

:root {
  --bg: #0b0e14;
  --bg-2: #0f131c;
  --surface: #14191f;
  --surface-2: #1b2129;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #e8eaee;
  --text-muted: #8b93a8;
  --text-dim: #5a6175;

  --accent: #2ea6e0;
  --accent-2: #229ed9;
  --accent-soft: rgba(46, 166, 224, 0.14);
  --accent-glow: rgba(46, 166, 224, 0.32);

  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.14);
  --red: #f87171;
  --gold: #f5b942;
  /* Matches solid black in tier mascot assets (e.g. golden-goose.jpg) */
  --tier-mascot-bg: #000000;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', Consolas, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

/* ambient gradients behind the page */
body::before {
  content: '';
  position: fixed;
  inset: -10% -10% auto -10%;
  height: 80vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 30% 0%, rgba(46, 166, 224, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 10%, rgba(52, 211, 153, 0.05), transparent 70%);
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: var(--text); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; font-weight: 600; }

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

::selection { background: var(--accent); color: var(--bg); }

/* shared "live" pulse dot */
.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  margin-inline-end: 0.5rem;
  vertical-align: 1px;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* =========== HEADER =========== */
.site-header {
  padding: 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  z-index: 100;
}

.site-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--text);
}

.brand-mark {
  color: var(--accent);
  display: flex;
  filter: drop-shadow(0 0 12px rgba(46, 166, 224, 0.4));
}
.brand-name { color: var(--text); }

.site-header-tools {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav-links a,
.site-nav > .nav-cta { color: var(--text-muted); }
.site-nav-links a:hover,
.site-nav > .nav-cta:hover { color: var(--text); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
}
.nav-toggle:hover { color: var(--text); background: var(--border); }
.nav-toggle[aria-expanded="true"] {
  color: var(--accent);
  border-color: rgba(46, 166, 224, 0.45);
  background: var(--accent-soft);
}
.nav-toggle-bars {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.15s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.15s ease, top 0.15s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-cta {
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
  color: var(--bg) !important;
}

/* language switcher */
.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 0.35rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.9rem; color: var(--text-muted);
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-sm);
  max-width: 100%;
}
.lang-current > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-current:hover { color: var(--text); background: var(--border); }
.lang-menu {
  position: absolute; top: calc(100% + 0.5rem); inset-inline-end: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  list-style: none; padding: 0.4rem;
  min-width: 160px; max-height: 380px; overflow-y: auto;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  z-index: 200;
}
.lang-menu li a {
  display: block; padding: 0.5rem 0.85rem;
  font-size: 0.9rem; color: var(--text-muted);
  border-radius: 6px;
}
.lang-current-with-flag,
.lang-menu-with-flag { line-height: 1.2; }
.lang-menu li a:hover { background: var(--border); color: var(--text); }
.lang-menu li a[aria-current="page"] { color: var(--accent); font-weight: 600; }

@media (min-width: 761px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.1rem clamp(1rem, 4vw, 3rem);
  }
  .site-header-bar {
    display: contents;
  }
  .site-header-tools {
    display: contents;
  }
  .brand {
    order: 1;
    flex-shrink: 0;
  }
  .site-nav {
    order: 2;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex: 1;
    justify-content: flex-end;
    margin-inline-end: 0.25rem;
    border: none;
    padding: 0;
    width: auto;
  }
  .site-nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0;
  }
  .nav-cta { order: 3; }
  .lang-switcher { order: 4; }
}

@media (max-width: 760px) {
  .site-header {
    max-width: 100%;
    overflow-x: clip;
  }
  .site-header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.5rem 0.35rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .brand {
    grid-column: 1;
    min-width: 0;
    overflow: hidden;
  }
  .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-header-tools {
    display: contents;
  }
  .nav-toggle {
    display: flex;
    grid-column: 2;
    justify-self: end;
  }
  /* Primary CTA stays in hero; frees header space for locale control on narrow viewports */
  .site-header-tools .nav-cta {
    display: none;
  }
  .lang-switcher {
    grid-column: 3;
    justify-self: end;
    max-width: 100%;
  }
  .lang-current > span:first-child {
    max-width: 5.5rem;
  }
  .site-nav {
    display: block;
    width: 100%;
    border-top: 1px solid var(--border);
    padding: 0 clamp(1rem, 4vw, 3rem) 0.65rem;
  }
  .site-nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 0;
  }
  .site-nav.is-open .site-nav-links {
    display: flex;
  }
  .site-nav:not(.is-open) {
    display: none;
  }
  .site-nav-links a {
    display: block;
    padding: 0.7rem 0.35rem;
    font-size: 0.95rem;
    color: var(--text);
  }
  .site-nav-links a:hover {
    background: var(--border);
    color: var(--text);
  }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 480px) {
  .site-header-bar { padding: 0.9rem 1rem; }
  .site-nav { padding: 0 1rem 0.65rem; }
  .brand { font-size: 1rem; gap: 0.45rem; }
  .brand-mark svg { width: 24px; height: 24px; }
  .lang-current { padding: 0.4rem 0.45rem; font-size: 0.85rem; }
  .lang-current > span:first-child { max-width: 4.25rem; }
}

/* =========== HERO =========== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.2rem, 4vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1.6rem;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(46, 166, 224, 0.22);
  border-radius: 999px;
}

.hero-title {
  margin-bottom: 1.4rem;
  max-width: 16ch;
  background: linear-gradient(180deg, var(--text) 0%, #b8bdcb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 50ch;
  margin-bottom: 2.2rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hero-ctas { display: flex; gap: 0.85rem; margin-bottom: 3rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 18px rgba(46, 166, 224, 0.22);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 10px 28px rgba(46, 166, 224, 0.36);
}
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.2); }
.btn-block { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 560px;
}
.hero-stats > div { display: flex; flex-direction: column; gap: 0.35rem; }
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-stats dd {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}

/* dashboard mockup. Visual allocation split + whale roster */
.hero-dash {
  background:
    linear-gradient(180deg, rgba(20, 25, 31, 0.96) 0%, rgba(15, 19, 28, 0.96) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-sans);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  direction: ltr;
}
.hero-dash::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(46, 166, 224, 0.35), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.dash-bar-left {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.dash-brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  margin-inline-end: 0.55rem;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(46, 166, 224, 0.4));
}
.dash-brand-mark-spin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: dash-logo-spin 3.5s linear infinite;
}
.dash-brand-mark-spin svg {
  display: block;
}
@keyframes dash-logo-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .dash-brand-mark-spin { animation: none; }
}
.dash-brand { color: var(--text); font-weight: 500; }
.dash-bar-balance {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  font-feature-settings: 'tnum';
}

.dash-block { padding: 1.3rem 1.2rem; border-bottom: 1px solid var(--border); }
.dash-block:last-child { border-bottom: none; }

/* ---- ALLOCATION ---- */
.alloc-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.alloc-side { display: flex; flex-direction: column; gap: 0.3rem; }
.alloc-arb-side { text-align: left; }
.alloc-copy-side { text-align: right; }
.alloc-pct {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.alloc-arb-side .alloc-pct { color: var(--accent); }
.alloc-copy-side .alloc-pct { color: var(--green); }
.alloc-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.alloc-bar {
  position: relative;
  height: 10px;
  display: flex;
  border-radius: 999px;
  background: var(--surface-2);
}
.alloc-fill-arb {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 999px 0 0 999px;
  box-shadow: 0 0 14px rgba(46, 166, 224, 0.45);
}
.alloc-fill-copy {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--green) 0%, #5be3a7 100%);
  border-radius: 0 999px 999px 0;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.4);
}
.alloc-knob {
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--text);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 4px rgba(255, 255, 255, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.6);
}

/* ---- WHALES ---- */
.dash-section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.dash-active {
  display: inline-flex;
  align-items: center;
  color: var(--green);
}

.whale-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.whale {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.whale-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--cat-bg, rgba(255, 255, 255, 0.04));
  color: var(--cat-fg, var(--accent));
  overflow: hidden;
}
.whale-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.whale-avatar-fallback {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  display: block;
}
.whale-avatar-skeleton {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  position: relative;
}
.whale-avatar-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  animation: skeletonShimmer 1.2s ease-in-out infinite;
}
@keyframes skeletonShimmer {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}
.cat-sports { --cat-bg: rgba(251, 146, 60, 0.16); --cat-fg: #fb923c; }
.cat-crypto { --cat-bg: rgba(96, 165, 250, 0.16); --cat-fg: #60a5fa; }
.cat-politics { --cat-bg: rgba(167, 139, 250, 0.16); --cat-fg: #a78bfa; }
.cat-culture { --cat-bg: rgba(244, 114, 182, 0.16); --cat-fg: #f472b6; }
.cat-macro { --cat-bg: rgba(251, 191, 36, 0.16); --cat-fg: #fbbf24; }

.whale-body { min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }

.whale-addr.slot-field,
.whale-pnl.slot-field {
  overflow: hidden;
  height: 1.15em;
  line-height: 1.15em;
  padding: 0;
}
.slot-viewport {
  height: 100%;
  overflow: hidden;
}
.slot-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.slot-line {
  height: 1.15em;
  line-height: 1.15em;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whale-addr {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.1;
}
.whale-cat,
.whale-pnl {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--cat-fg, var(--text-dim));
  letter-spacing: 0.04em;
}
.whale-pnl--up { color: #34d399; }
.whale-pnl--down { color: #f87171; }

.whale--revealing {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.12);
}

/* Hero dashboard: animated disappearance of inactive whales */
.whale--inactive {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.dash-bar-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.whale-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  font-feature-settings: 'tnum';
}

.pulse-dot.small {
  width: 5px;
  height: 5px;
  margin-inline-end: 0.35rem;
}

@media (max-width: 480px) {
  .alloc-pct { font-size: 1.8rem; }
  .dash-block { padding: 1.1rem 1rem; }
}

/* =========== SECTIONS =========== */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 4vw, 4rem); }

.section-head {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-head h2 { margin-bottom: 1rem; letter-spacing: -0.03em; }
.section-head p { font-size: 1.05rem; color: var(--text-muted); }

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  background: var(--accent-soft);
  border: 1px solid rgba(46, 166, 224, 0.22);
  border-radius: 999px;
}

/* =========== PRODUCTS =========== */
.products { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem 1.85rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.product::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(46, 166, 224, 0.18) 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.product:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.product:hover::before { opacity: 1; }

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}
.product-name { margin-bottom: 0.5rem; font-size: 1.2rem; }
.product-headline {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.product-body {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.6;
}
.product-bullets {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 1.3rem;
}
.product-bullets li {
  position: relative;
  padding-inline-start: 1.4rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.product-bullets li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(46, 166, 224, 0.5);
}

/* =========== HOW =========== */
.steps {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-inline 0.2s ease;
}
.steps li:last-child { border-bottom: none; }
.steps li:hover { padding-inline: 0.5rem; }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border: 1px solid rgba(46, 166, 224, 0.22);
  border-radius: 50%;
  letter-spacing: 0.04em;
}
.steps h3 { margin-bottom: 0.35rem; font-size: 1.08rem; }
.steps p { font-size: 0.95rem; color: var(--text-muted); }

/* =========== PRICING =========== */
.pricing { background: var(--bg-2); border-top: 1px solid var(--border); }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.tier-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}
.tier-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}
@media (max-width: 960px) {
  .tier-grid-2,
  .tier-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  background: var(--tier-mascot-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.tier-mascot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  aspect-ratio: 1;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--tier-mascot-bg);
  box-shadow: none;
  background: var(--tier-mascot-bg);
  pointer-events: none;
  user-select: none;
}

.tier-mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

@media (prefers-reduced-motion: no-preference) {
  .tier-mascot {
    animation: tier-mascot-pulse 4s ease-in-out infinite;
    will-change: transform, filter;
  }
  .tier-1 .tier-mascot { animation-delay: 0s; }
  .tier-2 .tier-mascot { animation-delay: 0.65s; }
  .tier-3 .tier-mascot { animation-delay: 1.3s; }
}

@keyframes tier-mascot-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  }
  50% {
    transform: scale(1.045);
    filter: drop-shadow(0 12px 28px rgba(46, 166, 224, 0.22));
  }
}

@media (max-width: 640px) {
  .tier-mascot-wrap {
    width: 70px;
    height: 70px;
  }
}

.tier-tag,
.tier-name,
.tier-price,
.tier-fee,
.tier-body,
.tier-features {
  width: 100%;
  text-align: start;
}
.tier-2 {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(46, 166, 224, 0.06), transparent 40%), var(--tier-mascot-bg);
  box-shadow:
    0 0 0 1px rgba(46, 166, 224, 0.4),
    0 24px 60px rgba(46, 166, 224, 0.12);
}
.tier-2::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}
.tier-3 { border-color: rgba(245, 185, 66, 0.4); }

.tier-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  display: inline-block;
}
.tier-2 .tier-tag { color: var(--accent); }
.tier-3 .tier-tag { color: var(--gold); }

.tier-name {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.018em;
}
.tier-price {
  font-family: var(--font-sans);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
}
.tier-fee {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.tier-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}
.tier-features {
  list-style: none;
  padding: 0;
  flex: 1;
}
.tier-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.55rem 0;
  position: relative;
  padding-inline-start: 1.65rem;
}
.tier-features li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 14px; height: 14px;
  background: var(--accent-soft);
  border-radius: 50%;
  border: 1px solid rgba(46, 166, 224, 0.3);
}
.tier-features li::after {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: calc(0.75em + 4px);
  width: 6px; height: 3px;
  border-inline-start: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
body.rtl .tier-features li::after { transform: rotate(45deg); inset-inline-start: 4px; }

/* =========== WAITLIST =========== */
.waitlist {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(46, 166, 224, 0.14), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.waitlist .section-head { margin-bottom: 2.5rem; }

.waitlist-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.waitlist h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.waitlist > .waitlist-inner > p { font-size: 1.02rem; margin-bottom: 2.5rem; color: var(--text-muted); }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.waitlist-form label { display: flex; flex-direction: column; gap: 0.4rem; }
.waitlist-form .label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.waitlist-form input,
.waitlist-form select {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  padding: 0.85rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.waitlist-form input::placeholder { color: var(--text-dim); }
.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.waitlist-form select option { background: var(--surface); color: var(--text); }

.waitlist-form .btn-primary { margin-top: 0.4rem; }
.waitlist-form button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.form-message {
  text-align: center;
  font-size: 0.92rem;
  min-height: 1.4em;
  margin-top: 0.4rem;
}
.form-message.success { color: var(--green); }
.form-message.error { color: var(--red); }

/* =========== HONESTY =========== */
.honesty {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.honesty-inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.honesty h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--text);
  letter-spacing: -0.025em;
}
.honesty p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =========== FOOTER =========== */
.site-footer {
  background: var(--bg-2);
  color: var(--text-dim);
  padding: 3rem clamp(1.2rem, 4vw, 4rem) 2rem;
  border-top: 1px solid var(--border);
}
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}
.foot-tag { font-family: var(--font-sans); font-size: 0.98rem; color: var(--text); font-weight: 500; }
.foot-links { display: flex; gap: 1.75rem; }
.foot-links a { color: var(--text-muted); font-size: 0.9rem; }
.foot-links a:hover { color: var(--accent); }
.foot-rights { font-family: var(--font-mono); font-size: 0.74rem; opacity: 0.7; }

/* =========== RTL ADJUSTMENTS =========== */
body.rtl { direction: rtl; }
body.rtl .hero-terminal { direction: ltr; }
body.rtl .hero-stats dd,
body.rtl .tier-price { direction: ltr; display: inline-block; }

/* =========== MOTION =========== */
@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: fadeUp 0.7s ease-out both; }
  .hero-sub { animation: fadeUp 0.7s ease-out 0.08s both; }
  .hero-ctas { animation: fadeUp 0.7s ease-out 0.16s both; }
  .hero-stats { animation: fadeUp 0.7s ease-out 0.24s both; }
  .hero-dash { animation: fadeIn 0.9s ease-out 0.3s both; }
  .eyebrow { animation: fadeUp 0.6s ease-out both; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .tier-mascot {
    animation: none !important;
  }
}

/* =========== NEWS / BLOG =========== */
.blog {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.2rem, 4vw, 2rem) 4rem;
}

.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-inline-start: 0.4rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* News index */
.blog-head { margin-bottom: 2.5rem; }
.blog-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.blog-lede { font-size: 1.12rem; color: var(--text-muted); max-width: 62ch; line-height: 1.6; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.post-kicker { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.post-card-title { font-size: 1.25rem; color: var(--text); line-height: 1.2; }
.post-card-excerpt { color: var(--text-muted); font-size: 0.95rem; flex: 1; line-height: 1.55; }
.post-card-cta { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* Article (World Cup hub + match page) */
.article-head { margin-bottom: 2.5rem; }
.article-kicker {
  display: inline-block; font-family: var(--font-mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent);
  padding: 0.35rem 0.8rem; background: var(--accent-soft);
  border: 1px solid rgba(46, 166, 224, 0.22); border-radius: 999px; margin-bottom: 1.2rem;
}
.article-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 0.8rem; line-height: 1.08; }
.article-sub { font-size: 1.15rem; color: var(--text); opacity: 0.92; margin-bottom: 0.9rem; }
.article-meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-dim); margin-bottom: 1.3rem; }
.article-lede { font-size: 1.12rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.4rem; max-width: 66ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; margin: 1.2rem 0; }
.affiliate-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.3rem; }

.article-section { margin: 2.5rem 0; }
.article-section > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.article-section p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; max-width: 70ch; }
.article-section p:last-child { margin-bottom: 0; }

/* Facts panel */
.facts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.facts-title { font-size: 1.05rem; margin-bottom: 1rem; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem 1.5rem; }
@media (max-width: 600px) { .facts-grid { grid-template-columns: 1fr; } }
.fact dt { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 0.2rem; }
.fact dd { color: var(--text); font-weight: 500; }

/* Fixture list */
.fixtures-title { margin: 1.4rem 0 0.8rem; font-size: 1.05rem; }
.fixtures { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.fixture {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem;
  padding: 0.9rem 1.1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.fixture--featured { border-color: rgba(46, 166, 224, 0.4); background: var(--accent-soft); }
.fixture-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); font-weight: 600; flex: 0 0 auto; min-width: 3.4rem; }
.fixture-teams { font-weight: 600; color: var(--text); flex: 1 1 auto; }
.fixture-vs { color: var(--text-dim); font-weight: 400; font-size: 0.85em; padding: 0 0.15rem; }
.fixture-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  border: 1px solid rgba(46, 166, 224, 0.4); border-radius: 999px;
  padding: 0.1rem 0.5rem; margin-inline-start: 0.4rem; vertical-align: middle;
}
.fixture-venue { flex: 1 1 100%; font-size: 0.82rem; color: var(--text-muted); padding-inline-start: 4.4rem; }
.fixture-cta { flex: 0 0 auto; font-weight: 600; color: var(--accent); font-size: 0.85rem; white-space: nowrap; }
.fixture-cta:hover { color: var(--text); }
@media (max-width: 480px) { .fixture-venue { padding-inline-start: 0; flex-basis: 100%; } }

/* Team cards (match page) */
.team-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .team-cards { grid-template-columns: 1fr; } }
.team-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.team-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--text); }

/* FAQ */
.faq .faq-item { padding: 1.2rem 0; border-top: 1px solid var(--border); }
.faq .faq-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text); }
.faq .faq-item p { margin-bottom: 0; }

/* CTA block + disclaimer */
.cta-block {
  margin: 3rem 0 1rem; padding: 2rem;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius-xl); text-align: center;
}
.cta-block h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.6rem; }
.cta-block p { color: var(--text-muted); max-width: 52ch; margin: 0 auto 1.2rem; }
.cta-block .cta-row { justify-content: center; }
.disclaimer { font-size: 0.76rem; color: var(--text-dim); margin: 1rem auto 0; max-width: 62ch; }
.ref-link { color: var(--accent); font-weight: 600; }
.ref-link:hover { color: var(--text); }

/* Winner odds board + group index (hub) */
.odds-board { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.25rem; margin: 1rem 0; max-width: 600px; }
@media (max-width: 600px) { .odds-board { grid-template-columns: 1fr; } }
.odds-board li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.odds-team { color: var(--text); font-weight: 500; }
.odds-pct { font-family: var(--font-mono); color: var(--accent); font-weight: 600; }
.odds-note { font-size: 0.85rem; margin-top: 0.7rem; }
.group-block { margin: 1.75rem 0; }
.group-block .fixtures-title { font-size: 1.1rem; }
