/* World Cup Coin — vanilla CSS clone */

:root {
  --ink: #0a0a0b;
  --ink-700: #141416;
  --ink-800: #1a1a1d;
  --cream: #f4ecdc;
  --gold-100: #f5d88a;
  --gold-200: #e9be57;
  --gold-300: #e9be57;
  --gold-400: #c9971f;
  --gold-500: #a67c15;
  --gold-600: #7a5a0f;
  --pitch-light: #1fa85e;
  --font-anton: "Anton", sans-serif;
  --font-oswald: "Oswald", sans-serif;
  --font-mont: "Montserrat", sans-serif;
  --max-w: 1300px;
  --shadow-coin: 0 8px 28px -8px rgba(201, 151, 31, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mont);
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.font-anton { font-family: var(--font-anton); }
.font-oswald { font-family: var(--font-oswald); }
.font-mont { font-family: var(--font-mont); }
.text-gold { color: var(--gold-200); }
.text-gold-300 { color: var(--gold-300); }
.text-cream-70 { color: rgba(244, 236, 220, 0.7); }
.text-cream-65 { color: rgba(244, 236, 220, 0.65); }
.text-cream-60 { color: rgba(244, 236, 220, 0.6); }
.text-cream-50 { color: rgba(244, 236, 220, 0.5); }
.text-cream-45 { color: rgba(244, 236, 220, 0.45); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3.5rem; } }

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom, var(--gold-200), var(--gold-600));
  padding: 0.875rem 2rem;
  font-family: var(--font-oswald);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  box-shadow: var(--shadow-coin);
  transition: transform 0.2s;
  min-width: 150px;
}

.btn-gold:hover { transform: scale(1.05); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(201, 151, 31, 0.4);
  padding: 0.875rem 2rem;
  font-family: var(--font-oswald);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-100);
  transition: background 0.2s;
  min-width: 150px;
}

.btn-outline:hover { background: rgba(201, 151, 31, 0.1); }

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 151, 31, 0.3);
  background: rgba(20, 20, 22, 0.4);
  color: var(--gold-100);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}

.icon-btn:hover {
  transform: scale(1.06);
  border-color: rgba(233, 190, 87, 0.6);
  background: rgba(201, 151, 31, 0.15);
}

.icon-btn svg { width: 1.125rem; height: 1.125rem; }

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--pitch-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.header.scrolled {
  border-color: rgba(244, 236, 220, 0.08);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 22px -4px rgba(201, 151, 31, 0.7);
  border: 1px solid rgba(201, 151, 31, 0.4);
}

.logo-text {
  font-family: var(--font-anton);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-desktop a {
  font-family: var(--font-oswald);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(244, 236, 220, 0.7);
  transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--gold-200); }

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn-gold {
  min-width: 140px;
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
}

.menu-toggle { display: flex; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-actions { display: flex; flex: 1; justify-content: flex-end; }
  .menu-toggle { display: none; }
  .logo { flex: 1; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(16px);
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-oswald);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(244, 236, 220, 0.08);
}

.mobile-menu .btn-gold { margin-top: 1rem; width: 100%; }

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink) url("../images/heronew.png") center/cover no-repeat;
  filter: brightness(0.5) saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,11,0.6) 0%, rgba(10,10,11,0.38) 45%, rgba(10,10,11,0.52) 100%),
    linear-gradient(to top, #0a0a0b 0%, rgba(10,10,11,0.4) 8%, transparent 26%),
    radial-gradient(130% 100% at 0% 100%, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.45) 34%, transparent 62%),
    radial-gradient(90% 80% at 100% 100%, rgba(10,10,11,0.6) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 7rem;
  padding-bottom: 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.4fr 0.9fr; }
  .hero-content { padding-bottom: 5rem; }
}

.hero-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-oswald);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-200);
}

@media (min-width: 1024px) { .hero-tag { justify-content: flex-start; } }

.hero-title {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-anton);
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

@media (min-width: 1024px) { .hero-title { text-align: left; } }

.hero-desc {
  margin: 1.5rem auto 0;
  max-width: 32rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(244, 236, 220, 0.7);
}

@media (min-width: 1024px) {
  .hero-desc { margin-left: 0; text-align: left; font-size: 1.125rem; }
}

.hero-btns {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-btns { flex-direction: row; justify-content: center; }
}

@media (min-width: 1024px) {
  .hero-btns { justify-content: flex-start; }
}

/* Stats card */
.stats-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(201, 151, 31, 0.2);
  background: rgba(26, 26, 29, 0.55);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
}

@media (min-width: 1024px) { .stats-card { max-width: 24rem; justify-self: end; } }

.stats-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 151, 31, 0.15);
}

@media (min-width: 1024px) {
  .stats-card-header { flex-direction: row; justify-content: space-between; }
}

.stats-card-header span:first-child {
  font-family: var(--font-oswald);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(244, 236, 220, 0.8);
}

.stats-card-header span:last-child {
  font-family: var(--font-anton);
  font-size: 1.25rem;
  color: var(--gold-200);
}

.stats-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: center;
}

.stats-grid .label {
  font-family: var(--font-oswald);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(244, 236, 220, 0.45);
}

.stats-grid .value {
  margin-top: 0.125rem;
  font-family: var(--font-oswald);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold-100);
}

.ca-row {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 151, 31, 0.15);
  background: rgba(10, 10, 11, 0.6);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
}

.ca-row .ca-label {
  font-family: var(--font-oswald);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(244, 236, 220, 0.45);
}

.ca-row .ca-addr {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  color: rgba(244, 236, 220, 0.8);
}

.ca-row .copy-btn {
  border-radius: 9999px;
  background: rgba(201, 151, 31, 0.2);
  padding: 0.375rem 1rem;
  font-family: var(--font-oswald);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-100);
  transition: background 0.2s;
}

.ca-row .copy-btn:hover { background: rgba(201, 151, 31, 0.35); }

/* Sections */
.section {
  position: relative;
  padding: 6rem 0;
  scroll-margin-top: 6rem;
  isolation: isolate;
}

.section-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(55% 45% at 50% 0%, rgba(201, 151, 31, 0.06), transparent 70%);
}

.section-title {
  font-family: var(--font-anton);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-title-sm {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.section-grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .section-grid-2 { grid-template-columns: 1.3fr 0.7fr; align-items: end; }
  .section-grid-2-wide { grid-template-columns: 1.35fr 0.65fr; }
  .section-grid-2-equal { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* History */
.history-cards {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .history-cards { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.img-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.img-card .img-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(244, 236, 220, 0.7);
  z-index: 2;
}

.img-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.55) 0%, transparent 55%);
}

/* Expansion chart */
.expansion-card {
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
  background: rgba(244, 236, 220, 0.02);
  padding: 1.5rem 2rem;
}

.expansion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.expansion-header span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-oswald);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-200);
}

.expansion-header span:last-child {
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(244, 236, 220, 0.4);
}

.bar-chart {
  margin-top: 2.75rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bar-wrap {
  height: 10rem;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bar {
  width: 100%;
  max-width: 3.5rem;
  border-radius: 0.375rem 0.375rem 0 0;
  position: relative;
  transition: height 1s ease;
}

.bar.muted { background: rgba(244, 236, 220, 0.15); }
.bar.highlight {
  background: linear-gradient(to top, var(--gold-600), var(--gold-200));
  box-shadow: 0 0 30px rgba(233, 190, 87, 0.4);
}

.bar .bar-num {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-anton);
  font-size: 1.125rem;
  line-height: 1;
}

.bar.muted .bar-num { color: rgba(244, 236, 220, 0.8); }
.bar.highlight .bar-num { color: var(--gold-300); }

.bar-year {
  margin-top: 0.75rem;
  font-family: var(--font-oswald);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(244, 236, 220, 0.45);
}

/* Moments accordion */
.moments-section { margin-top: 4rem; }

.moments-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-oswald);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-200);
}

.moments-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .moments-grid { grid-template-columns: 1fr 0.8fr; align-items: stretch; }
}

.moment-btn {
  display: block;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
  background: rgba(244, 236, 220, 0.02);
  padding: 1.25rem 1.5rem;
  text-align: left;
  transition: all 0.3s;
}

.moment-btn:hover { border-color: rgba(244, 236, 220, 0.2); }

.moment-btn.active {
  border-color: rgba(233, 190, 87, 0.6);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  box-shadow: 0 14px 40px -16px rgba(201, 151, 31, 0.65);
}

.moment-btn-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.moment-year {
  font-family: var(--font-anton);
  font-size: 1.5rem;
  line-height: 1;
}

.moment-btn:not(.active) .moment-year { color: rgba(244, 236, 220, 0.7); }
.moment-btn.active .moment-year { color: var(--ink); }

.moment-title {
  flex: 1;
  font-family: var(--font-oswald);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.moment-btn:not(.active) .moment-title { color: var(--cream); }
.moment-btn.active .moment-title { color: var(--ink); }

.moment-plus {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 236, 220, 0.2);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s;
  color: rgba(244, 236, 220, 0.4);
}

.moment-btn.active .moment-plus {
  transform: rotate(45deg);
  border-color: rgba(10, 10, 11, 0.4);
  color: var(--ink);
}

.moment-body {
  display: none;
  padding-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.moment-btn.active .moment-body {
  display: block;
  color: rgba(10, 10, 11, 0.75);
}

.moment-preview {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
}

@media (min-width: 1024px) { .moment-preview { min-height: 0; } }

.moment-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.94) 0%, rgba(10,10,11,0.15) 48%, transparent 74%);
}

.moment-preview-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
}

.moment-preview-text .label {
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-200);
}

.moment-preview-text .year {
  margin-top: 0.5rem;
  font-family: var(--font-anton);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-300);
  text-shadow: 0 0 30px rgba(233, 190, 87, 0.35);
}

.moment-preview-text .title {
  margin-top: 0.5rem;
  font-family: var(--font-oswald);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Champions */
.champions-card {
  margin-top: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
  background: rgba(244, 236, 220, 0.02);
  padding: 1.5rem 2rem;
}

.champions-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) { .champions-grid { grid-template-columns: repeat(4, 1fr); } }

.champion-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 9999px;
  border: 1px solid rgba(244, 236, 220, 0.06);
  background: rgba(26, 26, 29, 0.6);
  padding: 0.375rem 1rem 0.375rem 0.375rem;
}

.champion-pill img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 151, 31, 0.3);
}

.champion-pill .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-oswald);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(244, 236, 220, 0.7);
}

.champion-pill .count {
  font-family: var(--font-anton);
  font-size: 0.875rem;
  color: var(--gold-300);
}

/* Breaking 48 */
.breaking-card {
  margin-top: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
  background: rgba(244, 236, 220, 0.02);
  padding: 1.5rem 2.5rem;
}

.breaking-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) { .breaking-inner { grid-template-columns: 1fr 1fr; align-items: center; } }

.big-48 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.big-48 .num {
  font-family: var(--font-anton);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-300);
  text-shadow: 0 0 34px rgba(233, 190, 87, 0.3);
}

.big-48 .sub {
  font-family: var(--font-oswald);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.3;
  color: rgba(244, 236, 220, 0.5);
}

.steps-list { margin-top: 1rem; }

.steps-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(244, 236, 220, 0.7);
}

.step-num {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 151, 31, 0.4);
  font-family: var(--font-anton);
  font-size: 0.75rem;
  color: var(--gold-200);
}

.first-timers {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 236, 220, 0.1);
}

.first-timers-grid {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.first-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.first-timer img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 151, 31, 0.3);
}

.first-timer span {
  font-family: var(--font-oswald);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 236, 220, 0.5);
}

/* Flag marquee */
.nations-section { padding-bottom: 6rem; padding-top: 2.5rem; }

.nations-header { text-align: center; }

.nations-header p {
  margin: 1.25rem auto 0;
  max-width: 48ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(244, 236, 220, 0.65);
}

.marquee-wrap {
  margin-top: 3rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
}

.flag-circle {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(201, 151, 31, 0.3);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.flag-circle:hover { transform: scale(1.1); }

.flag-circle img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 640px) { .flag-circle { width: 4rem; height: 4rem; } }

/* About / Fans */
.about-img-wrap {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
}

@media (min-width: 1024px) { .about-img-wrap { aspect-ratio: 4/3; } }

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 151, 31, 0.25);
  background: rgba(10, 10, 11, 0.6);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-200);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.matchday-stats {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(201, 151, 31, 0.2);
}

.matchday-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 151, 31, 0.15);
  background: var(--ink-800);
  padding: 0.75rem 1.5rem;
}

.matchday-header span {
  font-family: var(--font-oswald);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.matchday-header span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-200);
}

.matchday-header span:last-child { color: rgba(244, 236, 220, 0.4); }

.matchday-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(201, 151, 31, 0.1);
}

@media (min-width: 768px) { .matchday-grid { grid-template-columns: repeat(4, 1fr); } }

.matchday-stat {
  background: var(--ink-800);
  padding: 2.25rem 1.25rem;
  text-align: center;
}

.matchday-stat .num {
  font-family: var(--font-anton);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  text-shadow: 0 0 22px rgba(233, 190, 87, 0.25);
}

.matchday-stat .label {
  margin-top: 0.75rem;
  font-family: var(--font-oswald);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(244, 236, 220, 0.5);
}

/* Tokenomics */
.tax-card {
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(244, 236, 220, 0.1);
  background: rgba(244, 236, 220, 0.02);
}

.tax-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(244, 236, 220, 0.1);
  padding: 1rem 1.75rem;
}

.tax-header span {
  font-family: var(--font-oswald);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.tax-header span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-200);
}

.tax-header span:last-child { color: rgba(244, 236, 220, 0.45); }

.tax-grid {
  display: grid;
}

@media (min-width: 640px) {
  .tax-grid { grid-template-columns: repeat(3, 1fr); }
}

.tax-item {
  padding: 2.75rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(244, 236, 220, 0.1);
}

@media (min-width: 640px) {
  .tax-item { border-bottom: none; border-right: 1px solid rgba(244, 236, 220, 0.1); }
  .tax-item:last-child { border-right: none; }
}

.tax-item .pct {
  font-family: var(--font-anton);
  font-size: 3.4rem;
  line-height: 1;
}

.tax-item .pct.gold { color: #e9be57; text-shadow: 0 0 34px rgba(233, 190, 87, 0.25); }
.tax-item .pct.green { color: #1fa85e; text-shadow: 0 0 34px rgba(31, 168, 94, 0.25); }
.tax-item .pct.cream { color: #f4ecdc; text-shadow: 0 0 34px rgba(244, 236, 220, 0.25); }

.tax-item .name {
  margin-top: 1rem;
  font-family: var(--font-oswald);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.tax-item p {
  margin: 0.625rem auto 0;
  max-width: 26ch;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(244, 236, 220, 0.45);
}

.tax-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 0.375rem 1.75rem;
  gap: 0.75rem;
}

.tax-bars div {
  height: 0.375rem;
  border-radius: 9999px;
}

.token-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
  background: rgba(244, 236, 220, 0.1);
}

@media (min-width: 1024px) { .token-grid { grid-template-columns: repeat(5, 1fr); } }

.token-cell {
  background: var(--ink-800);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

@media (min-width: 1024px) { .token-cell { text-align: left; } }

.token-cell .label {
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(244, 236, 220, 0.45);
}

.token-cell .val {
  margin-top: 0.375rem;
  font-family: var(--font-anton);
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 0 20px rgba(233, 190, 87, 0.2);
}

.token-cell.span-2 { grid-column: span 2; }

@media (min-width: 1024px) { .token-cell.span-2 { grid-column: span 1; } }

.contract-box {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(244, 236, 220, 0.15);
  background: rgba(244, 236, 220, 0.02);
  padding: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .contract-box { flex-direction: row; align-items: center; justify-content: space-between; }
}

.contract-box .label {
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(244, 236, 220, 0.45);
}

.contract-box code {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--gold-100);
  word-break: break-all;
}

.contract-box .btn-gold {
  border-radius: 0.75rem;
  min-width: auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* How to buy */
.buy-section {
  position: relative;
  background: var(--ink);
}

.buy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/buy.png") center/cover no-repeat;
  opacity: 0.8;
  pointer-events: none;
}

.buy-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,11,0.94) 0%, rgba(10,10,11,0.5) 26%, rgba(10,10,11,0.5) 74%, rgba(10,10,11,0.96) 100%),
    radial-gradient(55% 45% at 50% 0%, rgba(201, 151, 31, 0.06), transparent 70%);
  pointer-events: none;
}

.buy-section .container { position: relative; z-index: 1; }

.buy-intro { text-align: center; }

.buy-intro p {
  margin: 1.75rem auto 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(244, 236, 220, 0.75);
}

.steps-timeline { margin-top: 3.5rem; position: relative; }

@media (min-width: 1024px) {
  .steps-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, rgba(201, 151, 31, 0.3), transparent);
  }
}

.step-row {
  position: relative;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .step-row { margin-top: 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .step-row:first-child { margin-top: 0; }
  .step-row:nth-child(odd) .step-card { grid-column: 1; }
  .step-row:nth-child(even) .step-card { grid-column: 2; }
  .step-row::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.875rem;
    height: 0.875rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gold-300);
    box-shadow: 0 0 18px rgba(233, 190, 87, 0.5);
    outline: 4px solid rgba(201, 151, 31, 0.15);
  }
}

.step-card {
  border-radius: 1rem;
  border: 1px solid rgba(201, 151, 31, 0.15);
  background: rgba(26, 26, 29, 0.8);
  padding: 1.75rem 2rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 190, 87, 0.4);
  background: rgba(26, 26, 29, 0.9);
}

.step-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.step-card-head .step-label {
  font-family: var(--font-oswald);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-300);
}

.step-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 151, 31, 0.3);
  color: var(--gold-200);
  flex-shrink: 0;
}

.step-card h4 {
  margin-top: 1.25rem;
  font-family: var(--font-anton);
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.step-card p {
  margin-top: 0.625rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(244, 236, 220, 0.6);
}

.buy-cta {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) { .buy-cta { flex-direction: row; justify-content: center; } }

.buy-cta .btn-gold, .buy-cta .btn-outline { min-width: 240px; padding: 1rem 2.25rem; }

/* Community */
.community-card {
  margin-top: 3rem;
  max-width: 640px;
}

.community-link {
  display: flex;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(201, 151, 31, 0.2);
  background: var(--ink-800);
  transition: all 0.3s;
}

.community-link:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 190, 87, 0.5);
}

.community-pass {
  width: 6rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-right: 2px dashed rgba(10, 10, 11, 0.5);
  background: linear-gradient(to bottom, var(--gold-200), var(--gold-600));
  color: var(--ink);
}

.community-pass svg { width: 1.75rem; height: 1.75rem; }

.community-pass span {
  font-family: var(--font-oswald);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.community-body { padding: 1.5rem 1.75rem; }

.community-body .pass-no {
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(244, 236, 220, 0.4);
}

.community-body h5 {
  margin-top: 0.375rem;
  font-family: var(--font-anton);
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.04em;
}

.community-body p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(244, 236, 220, 0.6);
}

.community-body .handle {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-oswald);
  font-size: 0.75rem;
  color: var(--gold-300);
}

.final-whistle {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(201, 151, 31, 0.25);
  background: linear-gradient(90deg, rgba(244,236,220,0.08), rgba(244,236,220,0.03));
  padding: 2.25rem 2.75rem;
}

.final-whistle-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .final-whistle-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

.final-whistle .label {
  font-family: var(--font-oswald);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-300);
}

.final-whistle .title {
  margin-top: 0.375rem;
  font-family: var(--font-anton);
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.join-img {
  margin-top: 1.25rem;
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(244, 236, 220, 0.1);
}

@media (min-width: 640px) { .join-img { aspect-ratio: 16/9; } }

.join-img img { width: 100%; height: 100%; object-fit: cover; }

.join-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.5) 0%, transparent 35%);
}

/* Footer */
.footer {
  margin-top: 1rem;
  padding-bottom: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(244, 236, 220, 0.1);
  padding: 2rem 0;
  color: rgba(244, 236, 220, 0.45);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-oswald);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.footer-brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold-200);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-oswald);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 100;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.copy-toast.show { transform: translateX(-50%) translateY(0); }
