:root {
  --bg: #07070C;
  --ink: #F6F4EF;
  --ink-dim: #B8B5BA;
  --lime: #C8FF1A;
  --purple: #6B2EFF;
  --red: #FF3D1F;
  --orange: #FF7A1A;
  --magenta: #C73DFF;
  --cyan: #2EE5C8;
}

.mec-hero-frame {
  width: 100%;
  max-width: 1440px;
  height: 900px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
}

/* ── STARFIELD ── */
#bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── AMBIENT ORBS ── */
.orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orbFloat ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -28px) scale(1.1); }
}

/* ── NAV ── */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px var(--lime); }
  50% { transform: scale(1.8); box-shadow: 0 0 22px var(--lime), 0 0 48px rgba(200, 255, 26, .5); }
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}

.nav-links a.active::after, .nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--lime);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.btn-lime {
  background: var(--lime);
  color: #000;
}

.btn-lime::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 55%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  animation: shimmer 4s ease-in-out infinite;
  animation-delay: 1.8s;
}

@keyframes shimmer {
  0%, 60% { left: -150%; }
  100% { left: 250%; }
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(200, 255, 26, .7);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, .55);
}

.btn .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #000;
  color: var(--lime);
  display: inline-grid;
  place-items: center;
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 4;
  padding: 24px 36px 0;
  height: calc(900px - 220px);
  overflow: hidden;
}

/* RAINBOW SWOOSHES */
.rainbow {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.rainbow svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rainbow.left {
  top: 40px;
  left: -30px;
  width: 300px;
  height: 460px;
  animation: rGlowL 5s ease-in-out infinite;
  animation-delay: 2.4s;
}

.rainbow.right {
  bottom: 0;
  right: -10px;
  width: 400px;
  height: 320px;
  animation: rGlowR 5.5s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes rGlowL {
  0%, 100% { filter: none; }
  50% { filter: drop-shadow(0 0 12px rgba(200, 255, 26, .55)) brightness(1.18); }
}

@keyframes rGlowR {
  0%, 100% { filter: none; }
  50% { filter: drop-shadow(0 0 12px rgba(107, 46, 255, .65)) brightness(1.18); }
}

.rainbow path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.6s cubic-bezier(.6, .1, .2, 1) forwards;
}

.rainbow path:nth-child(1) { animation-delay: .1s; }
.rainbow path:nth-child(2) { animation-delay: .25s; }
.rainbow path:nth-child(3) { animation-delay: .4s; }
.rainbow path:nth-child(4) { animation-delay: .55s; }
.rainbow path:nth-child(5) { animation-delay: .7s; }
.rainbow path:nth-child(6) { animation-delay: .85s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* HALFTONES */
.ht {
  position: absolute;
  pointer-events: none;
}

.ht.tl {
  top: 50px;
  left: 0;
  width: 160px;
  height: 200px;
  background-image: radial-gradient(circle, var(--lime) 22%, transparent 24%);
  background-size: 14px 14px;
  mask-image: linear-gradient(135deg, #000 30%, transparent 75%);
  -webkit-mask-image: linear-gradient(135deg, #000 30%, transparent 75%);
  animation: htBreath 4s ease-in-out infinite;
}

.ht.br {
  right: 0;
  bottom: 60px;
  width: 200px;
  height: 240px;
  background-image: radial-gradient(circle, #A87BFF 22%, transparent 24%);
  background-size: 14px 14px;
  mask-image: linear-gradient(225deg, #000 25%, transparent 75%);
  -webkit-mask-image: linear-gradient(225deg, #000 25%, transparent 75%);
  animation: htBreath 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes htBreath {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; transform: scale(1.04); }
}

/* CONFETTI */
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.conf {
  position: absolute;
  animation: drift linear infinite;
}

@keyframes drift {
  0% { transform: translateY(-20vh) rotate(0); }
  100% { transform: translateY(122vh) rotate(720deg); }
}

/* HERO GRID */
.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 200px 1fr 480px;
  gap: 32px;
  padding-top: 30px;
}

.num-26 {
  width: 200px;
  height: 280px;
}

.num-26 svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ball-spin {
  transform-origin: 134px 130px;
  animation: spinBall 9s linear infinite;
}

@keyframes spinBall { to { transform: rotate(360deg); } }

/* EYEBROW */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow .badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  color: #000;
  display: grid;
  place-items: center;
  animation: rotateBadge 7s linear infinite;
}

@keyframes rotateBadge { to { transform: rotate(360deg); } }

.eyebrow .badge svg {
  width: 12px;
  height: 12px;
}

/* TITLE */
h1.title {
  margin: 0 0 14px;
  font-family: 'Anton', sans-serif;
  font-size: 108px;
  line-height: .86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1.title .l1, h1.title .l3 {
  color: var(--ink);
  display: block;
}

h1.title .l2 {
  color: var(--lime);
  display: block;
  animation: limeGlow 3s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes limeGlow {
  0%, 100% { text-shadow: 0 0 50px rgba(200, 255, 26, .15); }
  50% { text-shadow: 0 0 20px rgba(200, 255, 26, .9), 0 0 70px rgba(200, 255, 26, .4), 0 0 130px rgba(200, 255, 26, .15); }
}

/* REVEAL */
.rev {
  overflow: hidden;
  display: block;
}

.rev > span {
  display: block;
  transform: translateY(110%);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards;
}

.rev.d1 > span { animation-delay: .15s }
.rev.d2 > span { animation-delay: .3s }
.rev.d3 > span { animation-delay: .45s }
.rev.d4 > span { animation-delay: .6s }
.rev.d5 > span { animation-delay: .75s }
.rev.d6 > span { animation-delay: .9s }

@keyframes rise { to { transform: translateY(0); } }

/* DATE PILL */
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--purple);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px;
  margin: 4px 0 10px;
  box-shadow: 0 14px 50px -10px rgba(107, 46, 255, .55);
  transform: rotate(-1deg);
  animation: pillAttn 7s ease-in-out infinite;
  animation-delay: 2.2s;
}

@keyframes pillAttn {
  0%, 85%, 100% { transform: rotate(-1deg); }
  88% { transform: rotate(-4deg); }
  93% { transform: rotate(.5deg); }
  97% { transform: rotate(-1.5deg); }
}

/* COUNTDOWN */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 12px;
  animation: countIn .8s .9s both;
}

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

.cd-block {
  text-align: center;
  min-width: 46px;
}

.cd-num {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  line-height: 1;
  color: var(--lime);
  display: block;
}

.cd-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: block;
  margin-top: 1px;
}

.cd-sep {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  color: rgba(255, 255, 255, .22);
  line-height: 1;
}

/* COPY + CTA */
.copy {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0 0 18px;
}

.cta-row {
  display: flex;
  gap: 12px;
}

/* IMAGE CARD */
.img-card {
  position: relative;
  aspect-ratio: 1.05 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0c2e 0%, #3a0d4f 40%, #1a0a2a 100%);
  isolation: isolate;
}

.img-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 75% 25%, rgba(255, 80, 200, .45), transparent 60%), radial-gradient(50% 50% at 15% 30%, rgba(46, 229, 200, .30), transparent 60%), radial-gradient(80% 60% at 50% 100%, rgba(107, 46, 255, .55), transparent 70%);
  animation: cardAtm 5s ease-in-out infinite;
}

@keyframes cardAtm {
  0%, 100% { opacity: 1; }
  50% { filter: brightness(1.25); }
}

.silhouette {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: radial-gradient(ellipse 40px 60px at 8% 80%, #000 60%, transparent 62%), radial-gradient(ellipse 35px 55px at 18% 75%, #050008 60%, transparent 62%), radial-gradient(ellipse 50px 80px at 32% 90%, #000 60%, transparent 62%), radial-gradient(ellipse 70px 110px at 50% 100%, #000 60%, transparent 62%), radial-gradient(ellipse 40px 60px at 68% 78%, #060008 60%, transparent 62%), radial-gradient(ellipse 55px 90px at 84% 95%, #000 60%, transparent 62%), linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .85) 60%, #000 100%);
}

.scarf {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 56%;
  height: 75%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
}

.scarf svg {
  width: 100%;
  height: 100%;
}

.fw-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

/* STRIP */
.strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: var(--purple);
}

.strip-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 16px 36px 14px;
}

.strip-head .k {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.strip-head h2 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  line-height: .9;
  text-transform: uppercase;
}

.country {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  padding-left: 16px;
}

.flag-tile {
  flex: 0 0 64px;
  height: 70px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}

.flag-tile:hover {
  transform: scale(1.12) rotate(3deg);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, .5);
}

.flag-tile.lime { background: var(--lime); color: #2A0E5E; }
.flag-tile.cyan { background: var(--cyan); color: #2A0E5E; }
.flag-tile.red { background: var(--red); color: #fff; }
.flag-tile svg { width: 34px; height: 34px; }

.country .name {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.country:nth-child(2) .name { color: var(--lime); }
.country:nth-child(3) .name { color: var(--cyan); }
.country:nth-child(4) .name { color: var(--red); }

.country small {
  font-size: 11px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.4;
  display: block;
}

/* TICKER */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 5px 0;
}

.ticker {
  display: inline-flex;
  gap: 50px;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tick-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.tick-item .star {
  color: var(--lime);
  margin: 0 4px;
}
