/* =========================================================
   ZOOT ECOSYSTEM — Water-Bubble Cartoon Design System
   Light, glossy, bubbly & playful. Soft ocean palette,
   rounded shapes, glossy buttons and floating bubbles.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Fredoka:wght@400;500;600;700&display=swap');

:root {
  /* ---- Base backgrounds (light / orange) ---- */
  --bg-deep: #ffe8cf;
  --bg-card: #ffffff;
  --bg-card-header: #fff1e0;

  /* ---- Ink (deep ocean navy) used for outlines + text ---- */
  --ink: #0c3b63;
  --ink-soft: rgba(12, 59, 99, 0.16);
  --muted: #4d6f8a;

  /* ---- Bubble accent palette ---- */
  --purple: #8a7bff;
  --purple-glow: rgba(138, 123, 255, 0.4);
  --pink: #ff6fae;
  --pink-glow: rgba(255, 111, 174, 0.4);
  --yellow: #ffcf3f;
  --yellow-glow: rgba(255, 207, 63, 0.45);
  --mint: #34d8a0;
  --mint-glow: rgba(52, 216, 160, 0.4);
  --blue: #2bb8ff;
  --blue-glow: rgba(43, 184, 255, 0.4);
  --orange: #ff924c;
  --orange-glow: rgba(255, 146, 76, 0.4);
  --red: #ff6d7d;
  --red-glow: rgba(255, 109, 125, 0.4);

  /* ---- Geometry ---- */
  --radius: 30px;
  --radius-sm: 20px;
  --border: 3px solid var(--ink);

  /* ---- Soft bubble shadows (colored, blurred, glossy) ---- */
  --shadow-purple: 0 18px 34px rgba(138, 123, 255, 0.38), inset 0 3px 0 rgba(255, 255, 255, 0.85);
  --shadow-pink: 0 18px 34px rgba(255, 111, 174, 0.38), inset 0 3px 0 rgba(255, 255, 255, 0.85);
  --shadow-mint: 0 18px 34px rgba(52, 216, 160, 0.38), inset 0 3px 0 rgba(255, 255, 255, 0.85);
  --shadow-blue: 0 18px 34px rgba(43, 184, 255, 0.38), inset 0 3px 0 rgba(255, 255, 255, 0.85);
  --shadow-yellow: 0 18px 34px rgba(255, 207, 63, 0.4), inset 0 3px 0 rgba(255, 255, 255, 0.85);
  --shadow-orange: 0 18px 34px rgba(255, 146, 76, 0.38), inset 0 3px 0 rgba(255, 255, 255, 0.85);
  --shadow-red: 0 18px 34px rgba(255, 109, 125, 0.38), inset 0 3px 0 rgba(255, 255, 255, 0.85);
  --shadow-ink: 0 18px 34px rgba(12, 59, 99, 0.2), inset 0 3px 0 rgba(255, 255, 255, 0.85);

  --shadow-sm-pink: 0 10px 20px rgba(255, 111, 174, 0.42);
  --shadow-sm-blue: 0 10px 20px rgba(43, 184, 255, 0.42);
  --shadow-sm-yellow: 0 10px 20px rgba(255, 207, 63, 0.45);

  --maxw: 1200px;
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Fredoka', system-ui, sans-serif;
  --font-mono: 'Fredoka', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'><circle cx='13' cy='13' r='8' fill='%232bb8ff' stroke='%230c3b63' stroke-width='2.5'/><circle cx='10' cy='10' r='2.4' fill='%23ffffff' opacity='0.9'/></svg>") 13 13, auto;
}

html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: #ffe0c2;
}
::-webkit-scrollbar-thumb {
  background: var(--orange);
  border: 4px solid #ffe0c2;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg-deep);
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cstyle%3E.bubble %7B font-family: 'Luckiest Guy', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; %7D.tag %7B font-family: 'Fredoka', sans-serif; font-weight: 700; font-style: italic; %7D.accent %7B fill: none; stroke: %2387CEEB; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; %7D%3C/style%3E%3Cg opacity='0.08'%3E%3Ctext x='80' y='140' class='bubble' font-size='75' fill='%2387CEEB' stroke='%232BB8FF' stroke-width='5' stroke-linejoin='round' transform='rotate(-12 80 140)'%3EZOOT%3C/text%3E%3Ctext x='83' y='135' class='bubble' font-size='75' fill='%23FFFFFF' opacity='0.3' transform='rotate(-12 80 140)'%3EZOOT%3C/text%3E%3Ctext x='340' y='280' class='tag' font-size='90' fill='none' stroke='%232BB8FF' stroke-width='4' stroke-linejoin='round' transform='rotate(15 340 280)'%3Ezoot!%3C/text%3E%3Cpath class='accent' d='M 320,300 Q 380,310 440,290' stroke-width='5' /%3E%3Cpath class='accent' d='M 430,280 L 450,295 L 435,315' stroke-width='4' /%3E%3Ctext x='110' y='440' class='bubble' font-size='100' fill='none' stroke='%2387CEEB' stroke-width='6' stroke-linejoin='round' stroke-dasharray='12 6' transform='rotate(-5 110 440)'%3EZOOT%3C/text%3E%3Cpath class='accent' d='M 120,40 L 130,20 L 140,40 L 150,25 L 160,40 Z' transform='rotate(-12 140 30)' fill='%2387CEEB' fill-opacity='0.2' /%3E%3Cpath class='accent' d='M 130,460 C 130,480 135,480 135,460 M 220,455 C 220,490 225,490 225,455 M 300,450 C 300,475 303,475 303,450' stroke-width='3' /%3E%3Cpath class='accent' d='M 480,100 L 500,100 M 490,80 L 490,120 M 483,93 L 497,107 M 483,107 L 497,93' stroke-width='2' /%3E%3Cpath class='accent' d='M 100,280 L 115,280 M 107,272 L 107,288' stroke-width='2' /%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #fff3e6 0%, #ffe2c4 45%, #ffd6ad 100%);
  background-attachment: scroll, fixed;
  background-size: 600px 600px, auto;
  background-repeat: repeat, no-repeat;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Floating bubble field (decorative, fixed behind content) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.75) 18%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55) 20%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(circle at 50% 50%, rgba(255, 146, 76, 0.18) 22%, rgba(255, 146, 76, 0) 66%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.6) 16%, rgba(255, 255, 255, 0) 60%);
  background-repeat: no-repeat;
  background-position: 8% 20%, 82% 14%, 70% 78%, 24% 88%;
  background-size: 220px 220px, 150px 150px, 320px 320px, 110px 110px;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { background-position: 8% 20%, 82% 14%, 70% 78%, 24% 88%; }
  to   { background-position: 12% 14%, 78% 20%, 66% 70%, 28% 82%; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 60px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.85rem;
  background: #ffffff;
  color: var(--blue);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 3px solid var(--ink);
  box-shadow: 0 8px 16px rgba(12, 59, 99, 0.12);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.3px;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9), 0 6px 0 rgba(12, 59, 99, 0.12);
}
h2 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85), 0 4px 0 rgba(12, 59, 99, 0.1);
}
h3 {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
}

.section-title { margin-bottom: 16px; }
.section-sub {
  max-width: 680px; margin: 0 auto 60px;
  font-size: 1.2rem; color: var(--muted); font-weight: 500;
}
.center .section-sub { margin-left: auto; margin-right: auto; }

/* Text accents */
.text-stroke {
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 rgba(12, 59, 99, 0.18);
}
.hl-purple { color: var(--purple); }
.hl-pink { color: var(--pink); }
.hl-mint { color: #1fb98a; }
.hl-blue { color: var(--blue); }
.hl-orange { color: var(--orange); }
.hl-red { color: var(--red); }

/* Accent fill tiles (icons etc.) */
.bg-purple { background: var(--purple); color: #fff; }
.bg-pink { background: var(--pink); color: #fff; }
.bg-mint { background: var(--mint); color: #06402f; }
.bg-blue { background: var(--blue); color: #06324a; }
.bg-yellow { background: var(--yellow); color: var(--ink); }
.bg-orange { background: var(--orange); color: #5a2400; }
.bg-red { background: var(--red); color: #fff; }

/* ---------- Buttons (glossy bubbles) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.3px;
  padding: 15px 30px;
  border: var(--border); border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 55%),
    var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-sm-yellow), inset 0 -3px 0 rgba(12, 59, 99, 0.12);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.18s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; top: 6px; left: 16px;
  width: 26px; height: 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  filter: blur(1px);
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 30px rgba(255, 207, 63, 0.5), inset 0 -3px 0 rgba(12, 59, 99, 0.12);
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn--purple { background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%), var(--purple); color: #fff; box-shadow: 0 10px 20px var(--purple-glow), inset 0 -3px 0 rgba(12,59,99,0.18); }
.btn--purple:hover { box-shadow: 0 20px 30px var(--purple-glow), inset 0 -3px 0 rgba(12,59,99,0.18); }

.btn--pink { background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%), var(--pink); color: #fff; box-shadow: 0 10px 20px var(--pink-glow), inset 0 -3px 0 rgba(12,59,99,0.18); }
.btn--pink:hover { box-shadow: 0 20px 30px var(--pink-glow), inset 0 -3px 0 rgba(12,59,99,0.18); }

.btn--mint { background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%), var(--mint); color: #06402f; box-shadow: 0 10px 20px var(--mint-glow), inset 0 -3px 0 rgba(12,59,99,0.15); }
.btn--mint:hover { box-shadow: 0 20px 30px var(--mint-glow), inset 0 -3px 0 rgba(12,59,99,0.15); }

.btn--blue { background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%), var(--blue); color: #06324a; box-shadow: 0 10px 20px var(--blue-glow), inset 0 -3px 0 rgba(12,59,99,0.15); }
.btn--blue:hover { box-shadow: 0 20px 30px var(--blue-glow), inset 0 -3px 0 rgba(12,59,99,0.15); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.7); color: var(--ink);
  box-shadow: 0 10px 20px rgba(12, 59, 99, 0.12), inset 0 -3px 0 rgba(12, 59, 99, 0.1);
}
.btn--ghost:hover { background: #fff; box-shadow: 0 20px 30px rgba(12, 59, 99, 0.18), inset 0 -3px 0 rgba(12, 59, 99, 0.1); }

.btn--lg { font-size: 1.2rem; padding: 17px 36px; }
.btn--sm { font-size: 0.95rem; padding: 10px 20px; }

/* ---------- Cards (glossy bubbles) ---------- */
.card {
  background: linear-gradient(180deg, #ffffff, #f4fbff);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-purple);
  padding: 32px;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.22s ease;
}
.card--hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 44px rgba(255, 111, 174, 0.42), inset 0 3px 0 rgba(255, 255, 255, 0.9);
}

.card--pink { box-shadow: var(--shadow-pink); }
.card--mint { box-shadow: var(--shadow-mint); }
.card--blue { box-shadow: var(--shadow-blue); }
.card--yellow { box-shadow: var(--shadow-yellow); }
.card--orange { box-shadow: var(--shadow-orange); }
.card--red { box-shadow: var(--shadow-red); }
.card--purple { box-shadow: var(--shadow-purple); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.75rem;
  padding: 6px 14px; border-radius: 999px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: #fff;
}
.pill--live { background: var(--mint); color: #06402f; }
.pill--soon { background: var(--purple); color: #fff; }
.pill--hot { background: var(--pink); color: #fff; }
.pill--locked { background: #8a97a6; color: #fff; }

/* =========================================================
   LOCKED STATES (coming-soon ecosystem items)
   ========================================================= */
/* Nav dropdown locked items */
.dropdown__menu a.locked { opacity: 0.55; cursor: not-allowed; }
.dropdown__menu a.locked:hover { background: transparent; transform: none; }

/* Footer locked items */
.footer-locked { opacity: 0.55; cursor: not-allowed; display: inline-flex; gap: 6px; }

/* Locked "button" chip on cards */
.btn--locked {
  background: #8a97a6;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.9;
}
.btn--locked:hover { transform: none; box-shadow: none; }

/* Locked ecosystem cards */
.eco-card.locked {
  cursor: not-allowed;
  opacity: 0.72;
  filter: saturate(0.75);
}
.eco-card.locked:hover { transform: none; }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 8px 26px rgba(12, 59, 99, 0.1);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink);
}
.brand .bolt { color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-weight: 600; font-size: 1.02rem;
  padding: 9px 16px; border-radius: 999px;
  border: 2px solid transparent;
  transition: all 0.15s;
  color: var(--ink);
}
.nav__links a:hover {
  background: #fff;
  border-color: var(--ink);
  color: var(--blue);
  box-shadow: 0 6px 14px rgba(12, 59, 99, 0.14);
  transform: translateY(-2px);
}
.nav__links a.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 6px 14px var(--blue-glow);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) scale(0.92);
  background: #fff; border: var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 22px 40px rgba(12, 59, 99, 0.22); padding: 12px; min-width: 260px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}
.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) scale(1);
}
.lang-dropdown .dropdown__menu {
  left: auto !important;
  right: 0 !important;
  transform: scale(0.92) !important;
  transform-origin: top right;
  min-width: 140px !important;
}
.lang-dropdown:hover .dropdown__menu,
.lang-dropdown:focus-within .dropdown__menu,
.lang-dropdown.open .dropdown__menu {
  transform: scale(1) !important;
}
.lang-dropdown.open .dropdown__menu {
  opacity: 1 !important;
  visibility: visible !important;
}
.dropdown__menu a {
  display: flex; align-items: center; gap: 12px; justify-content: flex-start !important;
  padding: 12px 14px !important; border-radius: 14px !important;
  background: transparent !important;
  border: 2px solid transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
.dropdown__menu a:hover {
  background: var(--bg-card-header) !important;
  border-color: var(--ink) !important;
  color: var(--blue) !important;
}
.dropdown__menu a .ico { font-size: 1.3rem; }
.dropdown__menu a .tag { margin-left: auto; font-size: 0.65rem; padding: 3px 8px; }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger {
  display: none; background: var(--yellow); border: var(--border);
  border-radius: 16px; width: 50px; height: 50px; font-size: 1.6rem; cursor: pointer;
  box-shadow: var(--shadow-sm-yellow);
  justify-content: center; align-items: center; color: var(--ink);
}

@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 88px 16px auto 16px;
    flex-direction: column; align-items: stretch;
    background: #fff; border: var(--border); border-radius: var(--radius);
    box-shadow: 0 26px 50px rgba(12, 59, 99, 0.25); padding: 20px; gap: 10px;
    transform: translateY(-20px); opacity: 0; visibility: hidden;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.2); max-height: 80vh; overflow-y: auto;
    z-index: 101;
  }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 14px 20px; }
  /* Only the Ecosystem menu inside the burger expands inline — NOT the language menu */
  .nav__links .dropdown__menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-radius: 0; padding: 8px 0 8px 16px;
    min-width: 0; border-left: 3px solid var(--blue);
  }
  .nav__burger { display: flex; }
  /* Hide only the long "Join Telegram" pill on mobile; keep theme + language reachable */
  .nav__cta > a.btn { display: none; }
  /* Keep the language menu as an anchored, compact tap-dropdown */
  .lang-dropdown .dropdown__menu { position: absolute; top: calc(100% + 10px); }
}

/* ---------- Global small-screen spacing (phones) ---------- */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 40px 0; }
  .hero { padding: 48px 0 70px; }
  .card { padding: 22px; }
  .btn--lg { font-size: 1.08rem; padding: 15px 26px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .stat { flex: 1 1 42%; min-width: 0; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 90px 0 120px; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.hero__title { margin: 16px 0 24px; }
.hero__lead {
  font-size: 1.25rem; font-weight: 500; color: var(--muted); max-width: 580px; margin-bottom: 36px;
  line-height: 1.7;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat {
  background: #fff; border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm-blue); padding: 16px 22px; text-align: center; min-width: 125px;
}
.stat b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; display: block; line-height: 1; color: var(--blue); }
.stat span { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
}

/* ---------- Media placeholder slots ---------- */
.media-slot {
  position: relative; display: grid; place-items: center;
  min-height: 340px; border-radius: var(--radius);
  border: 4px dashed var(--blue); background: rgba(43, 184, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(43, 184, 255, 0.12);
  overflow: hidden;
}
.media-slot--lg { min-height: 440px; }
.media-slot--sm { min-height: 220px; }
.media-slot .slot-label {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 10px;
  text-align: center; padding: 24px; color: #1c83c0; font-weight: 600;
  z-index: 0; pointer-events: none;
}
.media-slot .slot-label .slot-ico { font-size: 3rem; }
.media-slot .slot-label code {
  background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 10px;
  font-size: 0.85rem; font-weight: 600;
}
.media-slot img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.media-slot img.missing { display: none; }
.media-slot video {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
}
.media-slot video.missing { display: none; }

/* =========================================================
   ECOSYSTEM GRID
   ========================================================= */
.eco-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
@media (max-width: 980px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eco-grid { grid-template-columns: 1fr; } }

.eco-card { display: flex; flex-direction: column; gap: 14px; overflow: hidden; text-align: left; }
.eco-card__top { display: flex; align-items: center; justify-content: space-between; }
.eco-card__ico {
  width: 68px; height: 64px; border-radius: 20px; border: var(--border);
  display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 8px 16px rgba(12, 59, 99, 0.16);
}
.eco-card h3 { margin-top: 6px; color: var(--ink); }
.eco-card p { color: var(--muted); font-weight: 500; flex: 1; font-size: 1rem; }
.eco-card .btn { align-self: flex-start; margin-top: 10px; width: 100%; }

/* =========================================================
   FEATURE GRID & ROADMAP
   ========================================================= */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { padding: 28px; text-align: left; }
.feat__ico {
  width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.8rem; border: var(--border); margin-bottom: 18px; box-shadow: 0 8px 16px rgba(12, 59, 99, 0.16);
}
.feat h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--ink); }
.feat p { color: var(--muted); font-weight: 500; font-size: 1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; text-align: left; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink);
  width: 54px; height: 54px; border-radius: 50%; border: var(--border);
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow-sm-pink);
  background: var(--yellow);
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--ink); }
.step p { color: var(--muted); font-weight: 500; font-size: 1rem; }

/* ---------- Roadmap ---------- */
.roadmap { position: relative; display: grid; gap: 30px; }
.road-item { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: stretch; }
.road-item__phase {
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  background: #fff; color: var(--ink); border-radius: var(--radius-sm);
  display: grid; place-content: center; text-align: center; padding: 20px;
  border: var(--border); box-shadow: 0 12px 22px rgba(12, 59, 99, 0.12);
  letter-spacing: 0.3px;
}
.road-item__body { padding: 26px 32px; text-align: left; }
.road-item__body h3 { margin-bottom: 12px; color: var(--ink); }
.road-item__body ul { display: grid; gap: 10px; }
.road-item__body li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.road-item__body li::before { content: '🫧'; }
.road-item.is-done .road-item__phase { background: var(--mint); color: #06402f; border-color: var(--ink); box-shadow: 0 12px 22px var(--mint-glow); }
.road-item.is-now .road-item__phase { background: var(--pink); color: #fff; border-color: var(--ink); box-shadow: 0 12px 22px var(--pink-glow); }
@media (max-width: 680px) {
  .road-item { grid-template-columns: 1fr; }
  .road-item__phase { padding: 14px; }
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.price { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.price.is-featured { transform: scale(1.04); z-index: 2; box-shadow: var(--shadow-yellow); }
.price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--ink); margin-top: 8px; }
.price .amount small { font-size: 1rem; font-family: var(--font-body); color: var(--muted); }
.price ul { display: grid; gap: 10px; flex: 1; margin: 12px 0; }
.price li { display: flex; gap: 10px; font-weight: 500; font-size: 1rem; color: var(--muted); }
.price li::before { content: '✓'; color: #1fb98a; font-weight: 700; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(160deg, #ffffff, #fff1e2);
  color: var(--ink);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-blue); padding: 60px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner h2 { margin-bottom: 16px; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--ink); }
.cta-banner p { font-size: 1.2rem; margin-bottom: 32px; color: var(--muted); font-weight: 500; }

/* =========================================================
   PAGE HEADER (utility pages)
   ========================================================= */
.page-head { padding: 70px 0 50px; position: relative; }
.page-head__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 40px; align-items: center; }
.page-head__badge {
  width: 96px; height: 96px; border-radius: 28px; border: var(--border);
  display: grid; place-items: center; font-size: 3rem; box-shadow: var(--shadow-blue);
  margin-bottom: 20px;
}
.page-head p { font-size: 1.25rem; font-weight: 500; color: var(--muted); max-width: 580px; margin: 18px 0 32px; }
.breadcrumb { font-weight: 600; color: var(--muted); margin-bottom: 10px; font-size: 1rem; }
.breadcrumb a:hover { color: var(--blue); }
@media (max-width: 900px) { .page-head__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; } .page-head p { margin-left: auto; margin-right: auto; } }

/* =========================================================
   COMING SOON / WAITLIST
   ========================================================= */
.soon-hero { text-align: center; padding: 90px 0; }
.soon-emoji { font-size: clamp(4.5rem, 15vw, 8.5rem); display: block; margin-bottom: 15px; }
.soon-hero h1 { margin-bottom: 20px; }
.soon-hero p { font-size: 1.25rem; color: var(--muted); font-weight: 500; max-width: 600px; margin: 0 auto 36px; }
.notify {
  display: flex; gap: 12px; max-width: 500px; margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.notify input {
  flex: 1; min-width: 240px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 500;
  padding: 16px 24px; border: var(--border); border-radius: 999px; box-shadow: var(--shadow-sm-blue);
  background: #fff; color: var(--ink);
}
.notify input::placeholder { color: #8aa6bd; }
.notify input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: linear-gradient(180deg, #0e4a7a, #0c3b63); color: #d6ecff; padding: 80px 0 30px;
  border-top: 4px solid var(--ink); margin-top: 60px;
  box-shadow: 0 -10px 40px rgba(12, 59, 99, 0.18);
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; text-align: left; }
.footer__brand .brand { color: #fff; font-size: 2.2rem; }
.footer__brand p { margin-top: 16px; color: #a9cdec; font-weight: 500; max-width: 320px; font-size: 0.98rem; }
.footer h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; color: var(--yellow); letter-spacing: 0.3px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #c2e0f5; font-weight: 500; transition: all 0.15s; }
.footer a:hover { color: #fff; padding-left: 4px; }
.footer__bottom {
  margin-top: 60px; padding-top: 30px; border-top: 2px solid rgba(255, 255, 255, 0.15);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #8fb6d6; font-size: 0.95rem; font-weight: 500;
}
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__socials a {
  width: 46px; height: 46px; border-radius: 16px; border: 3px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1); color: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.footer__socials a:hover {
  background: var(--yellow); color: var(--ink);
  border-color: var(--yellow);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px var(--yellow-glow);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   DECOR + ANIMATIONS
   ========================================================= */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.bob { animation: bob 4s ease-in-out infinite; }

.tilt { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2.5deg); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, .bob, body::before { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Marquee ticker */
.ticker {
  background: #fff; color: var(--blue); overflow: hidden; white-space: nowrap;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 12px 0;
  box-shadow: 0 8px 20px rgba(12, 59, 99, 0.08);
}
.ticker__track { display: inline-block; animation: scrollx 24s linear infinite; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.5px; font-size: 1.15rem; }
.ticker__track span { margin: 0 30px; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Two-column generic */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; text-align: center; } }

.list-check { display: grid; gap: 14px; text-align: left; }
.list-check li { display: flex; gap: 14px; font-weight: 500; align-items: flex-start; color: var(--muted); }
.list-check li .b { font-size: 1.4rem; line-height: 1; }

/* Dashboard UI specifics (glassy bubble panel) */
.dash-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: 0 16px 30px rgba(12, 59, 99, 0.14), inset 0 3px 0 rgba(255, 255, 255, 0.85);
}
.dash-row {
  display: flex; justify-content: space-between; padding: 12px;
  border-bottom: 2px dashed rgba(12, 59, 99, 0.12);
  color: var(--ink); font-weight: 500;
}
.dash-row:last-child { border-bottom: none; }
.dash-val { font-weight: 700; color: var(--blue); }

/* =========================================================
   SLIDESHOW (NFT SNEAK PEEK)
   ========================================================= */
.slideshow-container {
  max-width: 500px;
  position: relative;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff, #fffdfa);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-orange);
  padding: 20px;
  overflow: hidden;
}
.slideshow-inner {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid var(--ink);
  background: #fffdf6;
}
.my-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}
.my-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 59, 99, 0.85);
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid #fff;
  box-shadow: 0 8px 16px rgba(12, 59, 99, 0.2);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
/* Next & previous buttons */
.prev-slide, .next-slide {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  color: var(--ink);
  font-weight: bold;
  font-size: 1.3rem;
  transition: 0.2s ease;
  border-radius: 50%;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 var(--ink);
  z-index: 10;
}
.prev-slide {
  left: 12px;
}
.next-slide {
  right: 12px;
}
.prev-slide:hover, .next-slide:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.prev-slide:active, .next-slide:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 1px 0 var(--ink);
}
/* Dots */
.slideshow-dots {
  text-align: center;
  margin-top: 16px;
}
.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 5px;
  background-color: #e0d5c1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.active-dot, .dot:hover {
  background-color: var(--orange);
  transform: scale(1.2);
}
/* Fading animation */
.fade {
  animation-name: fadeEffect;
  animation-duration: 0.6s;
}
@keyframes fadeEffect {
  from {opacity: .4} 
  to {opacity: 1}
}

/* =========================================================
   ZOOTMEME — GALLERY, CONTEST, COUNTDOWN & UPLOAD
   ========================================================= */
.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .meme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .meme-grid { grid-template-columns: 1fr; } }

.meme-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.meme-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--bg-card-header);
}
.meme-card__img img,
.meme-card__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.meme-card__rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 12px;
  box-shadow: 0 4px 10px rgba(12, 59, 99, 0.2);
}
.meme-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.meme-card__wallet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--bg-card-header);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  max-width: 60%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%), var(--pink);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 16px var(--pink-glow);
}
.vote-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 22px var(--pink-glow); }
.vote-btn:active { transform: translateY(0) scale(0.96); }
.vote-btn.voted {
  background: var(--mint);
  color: #06402f;
  cursor: default;
  box-shadow: 0 8px 16px var(--mint-glow);
}
.vote-btn.voted:hover { transform: none; }

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px auto 28px;
}
.count-box {
  min-width: 92px;
  background: linear-gradient(180deg, #ffffff, #f4fbff);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-purple);
  padding: 16px 10px;
  text-align: center;
}
.count-box b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--purple);
}
.count-box span {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
@media (max-width: 560px) { .count-box { min-width: 68px; padding: 12px 6px; } .count-box b { font-size: 1.9rem; } }

/* ---------- Upload form ---------- */
.meme-upload {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.field-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
}
.meme-upload input[type="text"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 15px 20px;
  border: var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--ink);
  box-shadow: var(--shadow-sm-blue);
}
.meme-upload input[type="text"]::placeholder { color: #8aa6bd; }
.meme-upload input[type="text"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }

.file-drop {
  position: relative;
  border: 4px dashed var(--purple);
  border-radius: var(--radius);
  background: rgba(138, 123, 255, 0.08);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.file-drop:hover { background: rgba(138, 123, 255, 0.15); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .fd-ico { font-size: 2.6rem; display: block; margin-bottom: 8px; }
.file-drop .fd-text { font-weight: 600; color: var(--ink); }
.file-drop .fd-hint { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.file-preview {
  margin: 4px auto 0;
  max-width: 240px;
  border-radius: var(--radius-sm);
  border: 3px solid var(--ink);
  display: none;
}
.file-preview.show { display: block; }

/* ---------- Winner banner ---------- */
.winner-banner {
  display: none;
  align-items: center;
  gap: 22px;
  background: linear-gradient(160deg, #fff8e6, #ffe9c2);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-yellow);
  padding: 22px 26px;
  margin-bottom: 40px;
}
.winner-banner.show { display: flex; }
.winner-banner img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 3px solid var(--ink);
  flex-shrink: 0;
}
.winner-banner .wb-body h3 { margin-bottom: 4px; }
.winner-banner .wb-body p { color: var(--muted); font-weight: 500; margin: 0; }

/* ---------- Empty state ---------- */
.meme-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
  font-weight: 500;
  font-size: 1.1rem;
  border: 4px dashed var(--ink-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
}

/* Round-closed note */
.round-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(160deg, #fff8e6, #ffe9c2);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-yellow);
  padding: 14px 20px;
  margin: 0 auto 28px;
  max-width: 620px;
}

/* ---------- Official video gallery (small clickable thumbs) ---------- */
.vid-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .vid-gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 520px) { .vid-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.vid-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--bg-card-header);
  cursor: pointer;
  box-shadow: var(--shadow-purple);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.vid-card:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 22px 34px rgba(138, 123, 255, 0.5); }
.vid-card:active { transform: translateY(0) scale(0.98); }
.vid-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vid-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.18s ease;
}
.vid-card:hover .vid-card__play { opacity: 1; }
.vid-card__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 3px solid var(--ink);
  color: var(--ink);
  font-size: 1.1rem;
  padding-left: 3px;
  box-shadow: 0 6px 14px rgba(12, 59, 99, 0.3);
}
.vid-card__tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: rgba(12, 59, 99, 0.6);
  border-radius: 999px;
  padding: 3px 9px;
  backdrop-filter: blur(4px);
}

/* ---------- Video lightbox / modal ---------- */
.vid-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 20, 40, 0.82);
  backdrop-filter: blur(8px);
}
.vid-modal.open { display: flex; }
.vid-modal__inner {
  position: relative;
  width: 100%;
  max-width: min(94vw, 440px);
}
.vid-modal__inner video {
  width: 100%;
  max-height: 86vh;
  display: block;
  background: #000;
  border-radius: var(--radius);
  border: 4px solid var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.vid-modal__close {
  position: absolute;
  top: -16px;
  right: -12px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--pink);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}
.vid-modal__close:hover { transform: scale(1.1) rotate(90deg); }

/* =========================================================
   DARK THEME SYSTEM
   ========================================================= */
body.dark-theme {
  /* Dark warm chocolate-orange colors */
  --bg-deep: #160e05;
  --bg-card: #271a10;
  --bg-card-header: #352317;
  
  --ink: #ffe5cb;
  --ink-soft: rgba(255, 229, 203, 0.16);
  --muted: #c2a792;
  
  /* Overrides background image to dark-themed graffiti SVG and warm dark background */
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cstyle%3E.bubble %7B font-family: 'Luckiest Guy', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; %7D.tag %7B font-family: 'Fredoka', sans-serif; font-weight: 700; font-style: italic; %7D.accent %7B fill: none; stroke: %232BB8FF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; %7D%3C/style%3E%3Cg opacity='0.15'%3E%3Ctext x='80' y='140' class='bubble' font-size='75' fill='%232BB8FF' stroke='%2387CEEB' stroke-width='5' stroke-linejoin='round' transform='rotate(-12 80 140)'%3EZOOT%3C/text%3E%3Ctext x='83' y='135' class='bubble' font-size='75' fill='%23FFFFFF' opacity='0.3' transform='rotate(-12 80 140)'%3EZOOT%3C/text%3E%3Ctext x='340' y='280' class='tag' font-size='90' fill='none' stroke='%2387CEEB' stroke-width='4' stroke-linejoin='round' transform='rotate(15 340 280)'%3Ezoot!%3C/text%3E%3Cpath class='accent' d='M 320,300 Q 380,310 440,290' stroke-width='5' /%3E%3Cpath class='accent' d='M 430,280 L 450,295 L 435,315' stroke-width='4' /%3E%3Ctext x='110' y='440' class='bubble' font-size='100' fill='none' stroke='%232BB8FF' stroke-width='6' stroke-linejoin='round' stroke-dasharray='12 6' transform='rotate(-5 110 440)'%3EZOOT%3C/text%3E%3Cpath class='accent' d='M 120,40 L 130,20 L 140,40 L 150,25 L 160,40 Z' transform='rotate(-12 140 30)' fill='%232BB8FF' fill-opacity='0.25' /%3E%3Cpath class='accent' d='M 130,460 C 130,480 135,480 135,460 M 220,455 C 220,490 225,490 225,455 M 300,450 C 300,475 303,475 303,450' stroke-width='3' /%3E%3Cpath class='accent' d='M 480,100 L 500,100 M 490,80 L 490,120 M 483,93 L 497,107 M 483,107 L 497,93' stroke-width='2' /%3E%3Cpath class='accent' d='M 100,280 L 115,280 M 107,272 L 107,288' stroke-width='2' /%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #1f140a 0%, #160d05 45%, #0d0702 100%);
}

/* Base overrides for Dark Mode */
body.dark-theme::before {
  /* Make floating bubbles look lighter and more cosmic on dark background */
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45) 18%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(circle at 50% 50%, rgba(43, 184, 255, 0.22) 22%, rgba(43, 184, 255, 0) 66%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35) 16%, rgba(255, 255, 255, 0) 60%);
}

body.dark-theme .card {
  background: linear-gradient(180deg, var(--bg-card), #1b1109);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

body.dark-theme .card--hover:hover {
  box-shadow: 0 26px 44px rgba(255, 111, 174, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

body.dark-theme h1 {
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9), 0 6px 0 rgba(255, 229, 203, 0.08);
}

body.dark-theme h2 {
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.8), 0 4px 0 rgba(255, 229, 203, 0.05);
}

body.dark-theme .nav {
  background: rgba(22, 14, 5, 0.72);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

body.dark-theme .nav__links a {
  color: var(--ink);
}

body.dark-theme .nav__links a:hover {
  background: var(--bg-card-header);
  color: var(--blue);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

body.dark-theme .nav__links a.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(43, 184, 255, 0.3);
}

body.dark-theme .dropdown__menu {
  background: var(--bg-card);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
}

body.dark-theme .dropdown__menu a:hover {
  background: var(--bg-card-header) !important;
}

body.dark-theme .stat {
  background: var(--bg-card);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

body.dark-theme .stat b {
  color: var(--blue);
}

body.dark-theme .stat span {
  color: var(--muted);
}

body.dark-theme .eyebrow {
  background: var(--bg-card);
  color: var(--blue);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

body.dark-theme .media-slot {
  background: rgba(43, 184, 255, 0.05);
  box-shadow: inset 0 0 30px rgba(43, 184, 255, 0.08);
}

body.dark-theme .media-slot .slot-label {
  color: var(--muted);
}

body.dark-theme .dash-panel {
  background: rgba(39, 26, 16, 0.75);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

body.dark-theme .dash-row {
  border-bottom: 2px dashed rgba(255, 229, 203, 0.12);
  color: var(--ink);
}

body.dark-theme .ticker {
  background: var(--bg-card);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.dark-theme .slideshow-container {
  background: linear-gradient(180deg, var(--bg-card), #1f140a);
}

body.dark-theme .slideshow-inner {
  background: #191007;
}

body.dark-theme .dot {
  background-color: #3b2c21;
}

body.dark-theme .notify input {
  background: var(--bg-card);
  color: var(--ink);
}

body.dark-theme .notify input::placeholder {
  color: #725e4c;
}

body.dark-theme .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 -3px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3), inset 0 -3px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .cta-banner {
  background: linear-gradient(160deg, var(--bg-card), #1f140a);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-theme .road-item__phase {
  background: var(--bg-card);
  color: var(--ink);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
}

body.dark-theme .road-item.is-done .road-item__phase {
  background: var(--mint);
  color: #06402f;
}

body.dark-theme .road-item.is-now .road-item__phase {
  background: var(--pink);
  color: #fff;
}

::-webkit-scrollbar-track {
  background: #1a1107;
}
body.dark-theme ::-webkit-scrollbar-track {
  background: #140d04;
}
