/* We Are 26 — styled after worldcupmascots.xyz matchday poster */

@font-face {
  font-family: "SportsWorld";
  src: url("../assets/fonts/SportsWorld-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --mx: #0b6b3a;
  --mx-deep: #06401f;
  --ca: #d52b1e;
  --ca-deep: #8a1810;
  --us: #1e2b88;
  --us-deep: #0d174a;
  --gold: #d9a520;
  --gold-bright: #ffd84d;
  --cream: #f5ecd6;
  --cream-2: #eadfc4;
  --cream-3: #dfd2b3;
  --ink: #12100c;
  --ink-dim: #57513f;
  --line: rgba(18, 16, 12, 0.14);
  --line-strong: rgba(18, 16, 12, 0.44);
  --maxw: 1280px;
  --top-h: 36px;
  --flag-h: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Libre Franklin", Georgia, serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:not(.btn):not(.nav-cta):not(.live-chip):not(.join-card):hover { color: var(--ca); }

.display {
  font-family: "SportsWorld", "Bungee", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
}

.stencil {
  font-family: "Staatliches", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wrap { max-width: var(--maxw); margin: 0 auto; position: relative; }

/* Flag stripe */
.flag-stripe { display: flex; height: 6px; width: 100%; position: relative; z-index: 60; }
.flag-stripe.thick { height: var(--flag-h); }
.flag-stripe .m { flex: 1; background: var(--mx); }
.flag-stripe .c { flex: 1; background: var(--ca); }
.flag-stripe .u { flex: 1; background: var(--us); }

/* Top ticker */
.top {
  position: sticky;
  top: var(--flag-h);
  z-index: 55;
  background: var(--ink);
  color: var(--cream);
  height: var(--top-h);
  overflow: hidden;
}

.ticker-wrap { height: 100%; display: flex; align-items: center; padding: 0 16px; overflow: hidden; }

.ticker {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 44s linear infinite;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding-left: 100%;
}

.ticker span { color: rgba(245, 236, 214, 0.88); }
.ticker .hot { color: var(--gold-bright); }
.ticker .live { color: var(--gold-bright); }
.ticker .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ca);
  animation: pulse 1.6s infinite;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.ticker .ball {
  width: 16px;
  height: 16px;
  object-fit: contain;
  animation: spin 2.6s linear infinite;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Nav */
.nav {
  position: sticky;
  top: calc(var(--flag-h) + var(--top-h));
  z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-mark { display: flex; align-items: center; gap: 12px; }
.logo-ball {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.28));
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.logo-mark:hover .logo-ball { transform: rotate(220deg); }
.logo-text { line-height: 1.1; }
.logo-text b { font-size: 22px; display: block; letter-spacing: 0.04em; }
.logo-text span { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); font-weight: 700; }

.menu { display: flex; gap: 2px; align-items: center; list-style: none; }

.menu a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  position: relative;
  transition: background 0.18s;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  background: var(--ca);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.menu a:hover { background: rgba(18, 16, 12, 0.04); }
.menu a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 14px 22px !important;
  font-size: 15px !important;
  letter-spacing: 0.08em;
  border: 2px solid var(--ink);
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--ca) !important; border-color: var(--ca); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 24px 100px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(60% 48% at 50% 0%, rgba(217, 165, 32, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  width: min(1400px, 140vw);
  height: 900px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 900' fill='none' stroke='%2312100C' stroke-width='3'%3E%3Ccircle cx='700' cy='520' r='260' opacity='.28'/%3E%3Ccircle cx='700' cy='520' r='6' fill='%2312100C' opacity='.35'/%3E%3Cline x1='0' y1='520' x2='1400' y2='520' opacity='.2'/%3E%3Cpath d='M 260 520 A 200 200 0 0 1 460 320' opacity='.22'/%3E%3Cpath d='M 940 320 A 200 200 0 0 1 1140 520' opacity='.22'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(70% 40% at 50% 10%, rgba(255, 216, 77, 0.18), transparent 65%);
}

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

.confetti-rain i {
  position: absolute;
  top: -20px;
  width: 6px;
  height: 10px;
  opacity: 0.65;
  animation: fall linear infinite;
}

.confetti-rain i:nth-child(5n) { background: var(--mx); left: 5%; animation-duration: 8s; }
.confetti-rain i:nth-child(5n+1) { background: var(--ca); left: 15%; animation-duration: 10s; animation-delay: -2s; }
.confetti-rain i:nth-child(5n+2) { background: var(--us); left: 25%; animation-duration: 9s; animation-delay: -4s; }
.confetti-rain i:nth-child(5n+3) { background: var(--gold); left: 35%; animation-duration: 11s; }
.confetti-rain i:nth-child(5n+4) { background: var(--ink); left: 45%; animation-duration: 7s; animation-delay: -1s; }
.confetti-rain i:nth-child(odd) { left: 55%; }
.confetti-rain i:nth-child(even) { left: 75%; }

@keyframes fall {
  to { transform: translateY(105vh) rotate(720deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 32px;
  align-items: start;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.22em;
  border: 2px solid var(--ink);
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.2s;
}

.live-chip:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--gold-bright);
  color: var(--cream);
}

.live-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ca);
  animation: pulse 1.6s infinite;
}

.live-chip b { color: var(--gold-bright); }

.match-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--ink-dim);
}

.match-meta .box {
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  background: var(--cream);
}

h1.hero-title {
  font-size: clamp(58px, 11vw, 140px);
  margin: 0 0 12px;
  line-height: 0.94;
}

h1.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}

.hero-symbol {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 16px;
}

.hero-symbol .red { color: var(--ca); }
.hero-symbol .green { color: var(--mx); }
.hero-symbol .gold { color: var(--gold); }

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 520px;
  color: #2a261d;
  font-weight: 500;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Contract copy band (hero) */
.ca-band {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 2px solid var(--ink);
}

.ca-band .ca-label {
  color: var(--gold-bright);
  font-size: 15px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.ca-band .ca-value {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  opacity: 0.92;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(70vw, 520px);
  white-space: nowrap;
}

.ca-band .ca-copy {
  background: var(--gold-bright);
  color: var(--ink);
  border: 2px solid var(--gold-bright);
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.ca-band .ca-copy:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.ca-band .ca-copy:active {
  transform: translateY(1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 15px;
  letter-spacing: 0.06em;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  min-height: 50px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn.solid { background: var(--ink); color: var(--cream); }
.btn.solid:hover { background: var(--ca); border-color: var(--ca); color: var(--cream); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn.gold-cta { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.btn.gold-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Hero art panel */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--mx);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: visible;
  margin-top: 20px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mx) 0%, var(--mx) 33%, var(--ca) 33%, var(--ca) 66%, var(--us) 66%, var(--us) 100%);
  opacity: 0.92;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(245, 236, 214, 0.6) 18px 19px),
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(245, 236, 214, 0.6) 18px 19px);
}

.hero-art > img:not(.ball-deco) {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 95%;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.42));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-art:hover > img:not(.ball-deco) {
  transform: translateX(-50%) scale(1.03);
}

.hero-art .corner {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  background: var(--cream);
  padding: 6px 10px;
  font-size: 14px;
  border: 2px solid var(--ink);
}

.ball-deco {
  position: absolute;
  bottom: -18px;
  left: -18px;
  z-index: 5;
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: spin 8s linear infinite;
}

.hero-art .price-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}

.hero-art .price-strip .tick { color: var(--gold-bright); font-weight: 700; }

/* Sections */
.section {
  padding: 110px 24px;
  border-bottom: 2px solid var(--ink);
  position: relative;
}

.section-squad { background: var(--cream-2); }
.section-chart { background: var(--cream); }
.section-press { background: var(--cream); }
.section-join { background: var(--cream-2); }

.net-divider {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(18, 16, 12, 0.15) 10px 11px),
    repeating-linear-gradient(-45deg, transparent 0 10px, rgba(18, 16, 12, 0.15) 10px 11px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.chapter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.chapter .num {
  background: var(--ink);
  color: var(--cream);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

h2.section-title {
  font-size: clamp(42px, 6.8vw, 88px);
  margin: 14px 0 0;
  line-height: 0.94;
}

h2.section-title .red { color: var(--ca); }
h2.section-title .green { color: var(--mx); }
h2.section-title .blue { color: var(--us); }
h2.section-title .gold { color: var(--gold); }
h2.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.lede {
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  color: #3a362a;
  margin: 0;
}

.bio-strip {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  margin-bottom: 2rem;
  font-style: normal;
}

/* Squad */
.squad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  background: var(--ink);
  margin-bottom: 2.5rem;
}

.player {
  position: relative;
  padding: 32px 24px 28px;
  border-right: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 580px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.player:last-child { border-right: none; }
.player.mx { background: var(--mx); color: var(--cream); }
.player.ca { background: var(--ca); color: var(--cream); }
.player.us { background: var(--us); color: var(--cream); }

.player .jersey {
  position: absolute;
  font-size: 200px;
  color: rgba(245, 236, 214, 0.16);
  top: -36px;
  right: -24px;
  line-height: 0.85;
  pointer-events: none;
}

.player .plate {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.player .plate .flag {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.player h3 { font-size: 52px; margin: 0 0 2px; position: relative; z-index: 1; }
.player .role { font-size: 15px; letter-spacing: 0.16em; margin-bottom: 12px; opacity: 0.92; z-index: 1; position: relative; }
.player .bio { font-size: 14px; line-height: 1.6; opacity: 0.96; z-index: 1; position: relative; max-width: 320px; }

.player .art {
  flex: 1;
  position: relative;
  margin-top: 16px;
  min-height: 220px;
}

.player .art img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 140%;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.player:hover .art img {
  transform: translateX(-50%) translateY(-10px) scale(1.04);
}

.about-copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 800px;
}

.about-copy p { margin-bottom: 1rem; }
.about-copy strong { color: var(--ink); }

/* How to buy */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  margin-bottom: 2rem;
}

.how-step {
  padding: 32px 24px;
  border-right: 2px solid var(--ink);
  background: var(--cream);
  transition: background 0.2s;
}

.how-step:last-child { border-right: none; }
.how-step:hover { background: var(--cream-2); }

.how-step .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.how-step .num { font-size: 72px; line-height: 0.9; }
.how-step:nth-child(1) .num { color: var(--ca); }
.how-step:nth-child(2) .num { color: var(--us); }
.how-step:nth-child(3) .num { color: var(--mx); }
.how-step:nth-child(4) .num { color: var(--gold); }

.how-step .step-icon { font-size: 2rem; }

.how-step h3 { font-size: 22px; margin: 0 0 10px; }
.how-step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-dim); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Chart */
.chart-card {
  border: 2px solid var(--ink);
  background: #0f0f0f;
  box-shadow: 10px 10px 0 var(--ink);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap;
  gap: 10px;
}

.chart-head .lbl { color: var(--gold-bright); font-size: 15px; }
.chart-head .tag { font-size: 12px; letter-spacing: 0.2em; }
.chart-head .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ca);
  animation: pulse 1.6s infinite;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.chart-embed {
  position: relative;
  width: 100%;
  min-height: 560px;
  height: min(72vh, 620px);
  background: #0a0a0a;
}

.chart-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.placeholder-ball {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  opacity: 0.5;
  animation: spin 12s linear infinite;
}

.chart-placeholder code {
  margin-top: 0.5rem;
  color: var(--gold-bright);
}

.chart-footer { text-align: center; margin-top: 1.5rem; }

/* Press / X timeline */
.press-accounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.press-pill {
  padding: 8px 16px;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.press-pill:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}

.press-pill.host-boston { border-color: var(--us); color: var(--us); background: rgba(30, 43, 136, 0.06); }
.press-pill.host-vancouver { border-color: var(--ca); color: var(--ca-deep); background: rgba(213, 43, 30, 0.06); }
.press-pill.host-kansascity { border-color: var(--mx); color: var(--mx-deep); background: rgba(11, 107, 58, 0.06); }

.tweet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tweet-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tweet-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.tweet-card.host-boston { --host-accent: var(--us); }
.tweet-card.host-vancouver { --host-accent: var(--ca); }
.tweet-card.host-kansascity { --host-accent: var(--mx); }

.tweet-card::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--host-accent, var(--gold));
}

.tweet-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.14em;
  border-bottom: 2px solid var(--ink);
}

.tweet-meta time { opacity: 0.7; font-size: 10px; }

.tweet-account {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-family: "SportsWorld", "Bungee", sans-serif;
  text-transform: uppercase;
}

.tweet-label {
  font-size: 10px;
  opacity: 0.75;
  text-transform: uppercase;
  line-height: 1.4;
}

.tweet-embed {
  padding: 14px 12px 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 220px;
  background: var(--cream-2);
  position: relative;
}

/* Cream frame around X widget — X only allows light/dark inside iframe */
.tweet-embed::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--line-strong);
  pointer-events: none;
  z-index: 0;
  border-radius: 2px;
}

.tweet-embed.is-loaded::before {
  border-color: transparent;
}

.tweet-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  z-index: 1;
}

.tweet-loading-ball {
  font-size: 1.5rem;
  animation: spin 3s linear infinite;
  opacity: 0.5;
}

.tweet-embed .twitter-tweet,
.tweet-embed twitter-widget {
  margin: 0 auto !important;
  z-index: 1;
  position: relative;
}

.tweet-embed iframe {
  border-radius: 4px !important;
  border: 2px solid var(--ink) !important;
  box-shadow: 3px 3px 0 var(--ink) !important;
  max-width: 100% !important;
}

.tweet-fallback {
  display: inline-flex;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  background: var(--gold-bright);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  z-index: 1;
}

.tweet-fallback:hover {
  background: var(--cream);
  color: var(--ink);
}

/* Join */
.banner-panel {
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  margin-bottom: 2.5rem;
  overflow: hidden;
  background: var(--ink);
}

.joinus-banner {
  width: 100%;
  height: auto;
  display: block;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 2rem;
}

.join-card {
  padding: 2.5rem 2rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.join-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.join-icon { font-size: 3rem; margin-bottom: 1rem; }
.join-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.join-card p { color: var(--ink-dim); margin-bottom: 1.25rem; flex: 1; }
.join-link { color: var(--us); font-weight: 700; letter-spacing: 0.1em; }
.join-ball { margin: 0 auto 1rem; object-fit: contain; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.tag-row span {
  padding: 8px 16px;
  border: 1.5px solid var(--ink);
  background: var(--cream);
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(245, 236, 214, 0.75);
  padding: 3rem 24px 2.5rem;
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; }

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.footer-brand {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-ca {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  opacity: 0.85;
  word-break: break-all;
}

.footer-ca a {
  color: var(--gold-bright);
  font-family: ui-monospace, Consolas, monospace;
}

.footer-ca a:hover {
  color: var(--cream);
}

.disclaimer {
  max-width: 52ch;
  font-size: 0.75rem;
  opacity: 0.55;
  line-height: 1.5;
}

/* Float buy */
.float-buy {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  background: var(--ca);
  color: var(--cream);
  padding: 14px 24px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 14px;
  transition: transform 0.15s, background 0.2s;
}

.float-buy:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--gold-bright);
  color: var(--ink);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin: 0 auto; }
  .squad { grid-template-columns: 1fr; }
  .player { border-right: none; border-bottom: 2px solid var(--ink); min-height: 480px; }
  .player:last-child { border-bottom: none; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-step:nth-child(2) { border-right: none; }
  .how-step:nth-child(1),
  .how-step:nth-child(2) { border-bottom: 2px solid var(--ink); }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .menu {
    position: fixed;
    top: calc(var(--flag-h) + var(--top-h) + 76px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s, opacity 0.35s;
  }

  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a { width: 100%; justify-content: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none !important; border-bottom: 2px solid var(--ink); }
  .how-step:last-child { border-bottom: none; }
  .join-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .tweet-grid { grid-template-columns: 1fr; }
  .ca-band .ca-value { max-width: 220px; }
}

@media (max-width: 1100px) {
  .tweet-grid { grid-template-columns: repeat(2, 1fr); }
}
