/* ===== dogwifrecord — Guinness Parody Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a1a2e;
  --navy-light: #22223a;
  --navy-mid: #2a2a45;
  --gold: #c8a951;
  --gold-light: #e0c872;
  --gold-dark: #a88a3a;
  --gold-muted: rgba(200, 169, 81, 0.15);
  --white: #ffffff;
  --white-off: #f8f7f4;
  --white-warm: #faf9f6;
  --red: #9b2335;
  --red-light: #c0392b;
  --bg: #ffffff;
  --bg-alt: var(--white-off);
  --text: #2c2c3a;
  --text-muted: #6b6b80;
  --text-dim: #9a9ab0;
  --border: rgba(26, 26, 46, 0.08);
  --border-gold: rgba(200, 169, 81, 0.25);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 26, 46, 0.12);
  --shadow-xl: 0 16px 60px rgba(26, 26, 46, 0.15);
  --shadow-gold: 0 4px 20px rgba(200, 169, 81, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Sticky Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.header-logo span {
  color: var(--gold-dark);
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--navy);
}

/* Header live timer */
.header-timer {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.header-timer-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  background: var(--red-light);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-right: 8px;
}

.ht-sep {
  color: var(--text-dim);
  font-weight: 300;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.header-social a:hover {
  color: var(--navy);
}

.header-social svg {
  width: 20px;
  height: 20px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Splash Typewriter --- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  max-width: 1100px;
  width: 100%;
  padding: 0 40px;
}

.splash-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  display: none;
  margin-bottom: 32px;
}

.splash-line.active {
  display: block;
}

.splash-line.fade-out {
  animation: splash-fade-out 0.5s ease forwards;
}

.splash-gold {
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.splash-enter {
  margin-top: 8px;
}

@keyframes splash-fade-out {
  to { opacity: 0; }
}

.splash-line .cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: rgba(255, 255, 255, 0.7);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 0.6s step-end infinite;
}

.splash-gold .cursor {
  background: var(--gold);
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.splash-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(200, 169, 81, 0.3);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.splash-enter.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.splash-enter:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(200, 169, 81, 0.4);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(200, 169, 81, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 90%, rgba(26, 26, 46, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero h1 .gold { color: var(--gold-dark); }

.hero-ref {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-mascot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 40px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--border-gold);
}

/* --- Race Banner --- */
.race-banner {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--text-dim);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.race-banner::before,
.race-banner::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 80px;
}

/* --- Hero Race Comparison --- */
.hero-race {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 32px;
  width: 100%;
  max-width: 820px;
  background: var(--white-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.race-column {
  flex: 1;
  text-align: center;
  padding: 28px 24px 24px;
  position: relative;
}

.race-ours {
  background: linear-gradient(160deg, rgba(200, 169, 81, 0.08), rgba(200, 169, 81, 0.02));
}

.race-rival {
  background: rgba(26, 26, 46, 0.02);
}

/* Badges */
.race-badge {
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.race-badge-live {
  background: var(--red-light);
  color: var(--white);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.race-badge-done {
  background: var(--navy);
  color: var(--white);
  opacity: 0.5;
}

.race-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.race-ours .race-label {
  color: var(--gold-dark);
}

/* Center VS column */
.race-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  flex-shrink: 0;
  position: relative;
}

.race-center::before,
.race-center::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.race-center::before { left: 0; }
.race-center::after { right: 0; }

.race-vs {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.race-time-diff {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  text-align: center;
  line-height: 1.3;
  max-width: 70px;
}

/* Progress bars in race */
.race-progress {
  margin-top: 16px;
}

.race-progress-bar {
  height: 6px;
  background: rgba(26, 26, 46, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.race-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
}

.race-fill-ours {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  width: 0%;
  position: relative;
}

.race-fill-rival {
  background: linear-gradient(90deg, #555, #888);
}

.race-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.5rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Status text */
.race-status {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-top: 12px;
}

.rival-status {
  color: var(--text-dim);
}

.rival-timer span {
  color: var(--text-muted) !important;
}

/* Timer sizing inside race cards */
.race-column .countdown-timer {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 1px;
}

.race-column .countdown-timer .unit {
  min-width: 36px;
}

.race-column .countdown-timer .unit-label {
  font-size: 0.45rem;
}

.countdown-timer {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}

.countdown-timer.timer-negative {
  color: var(--red-light);
}

.header-timer.timer-negative {
  color: var(--red-light);
}

.countdown-timer .separator {
  color: var(--text-dim);
  font-weight: 300;
  margin: 0 2px;
}

.countdown-timer .unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown-timer .unit-label {
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Hero Mini Tracker Strip --- */
.hero-mini-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 620px;
  width: 100%;
}

.hero-mini-mcap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.hero-mini-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  font-weight: 600;
  white-space: nowrap;
}

.hero-mini-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}

.hero-mini-bar-wrap {
  width: 60px;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.hero-mini-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
}

.hero-mini-pct {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.hero-mini-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  margin: 0 16px;
  flex-shrink: 0;
}

.hero-mini-ca {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  transition: opacity 0.2s;
}

.hero-mini-ca:hover {
  opacity: 0.7;
}

.hero-mini-ca-value {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mini-ca-value.placeholder {
  color: var(--text-muted);
  animation: mcap-pulse 2s ease-in-out infinite;
}

.hero-mini-copy {
  color: var(--text-dim);
  flex-shrink: 0;
  display: flex;
}

.hero-mini-toast {
  font-size: 0.7rem;
  color: var(--gold-dark);
  margin-bottom: 16px;
  height: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-mini-toast.show {
  opacity: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.hero-cta:hover svg {
  transform: translateY(3px);
}

/* --- Section shared --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 20px;
}

/* --- Proof Section --- */
.proof-section {
  background: var(--white-off);
  overflow: hidden;
}

.proof-badge {
  text-align: center;
  margin-bottom: 16px;
}

.proof-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: var(--gold);
  margin: 0 auto 16px;
  /* center the badge */
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.proof-img-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.proof-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}

.proof-card:hover .proof-img-wrap img {
  transform: scale(1.03);
}

.proof-caption {
  padding: 14px 14px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.proof-step {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .proof-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* --- Tracker Section --- */
.tracker-section {
  background: var(--white-off);
}

.tracker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.tracker-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.tracker-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.tracker-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

/* Market Cap Counter */
.mcap-value {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
  min-height: 50px;
}

.mcap-placeholder {
  animation: mcap-pulse 2s ease-in-out infinite;
}

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

.mcap-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Progress bar */
.progress-container {
  position: relative;
  margin-bottom: 16px;
}

.progress-bar-bg {
  height: 8px;
  background: var(--white-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1s ease-out;
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  bottom: -2px;
  width: 4px;
  background: var(--gold-light);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--gold);
}

.progress-milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.progress-milestone {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  text-align: center;
}

.progress-milestone.reached {
  color: var(--gold-dark);
}

.progress-percentage {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Application Status */
.status-board {
  list-style: none;
}

.status-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.status-step:last-child {
  border-bottom: none;
}

.status-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 2px;
}

.status-icon.done {
  background: rgba(200, 169, 81, 0.15);
  color: var(--gold-dark);
}

.status-icon.current {
  background: rgba(200, 169, 81, 0.12);
  color: var(--gold-dark);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 169, 81, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(200, 169, 81, 0); }
}

.status-icon.pending {
  background: var(--white-off);
  color: var(--text-dim);
}

.status-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.status-step.is-done .status-content h4 {
  text-decoration: line-through;
  color: var(--text-muted);
}

.status-content p {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.status-step.is-current .status-content h4 {
  color: var(--gold-dark);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
  transform: translateX(-50%);
}

.timeline-entry {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.timeline-entry:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-entry:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
  font-style: italic;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.timeline-text em {
  color: var(--text-muted);
  font-style: normal;
}

/* --- Certificate --- */
.certificate-section {
  text-align: center;
  background: var(--white-off);
}

.certificate-frame {
  max-width: 700px;
  margin: 0 auto 40px;
  background: linear-gradient(135deg, #f5f0e1, #fffdf5, #f5f0e1);
  border: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 8px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.certificate-inner {
  border: 2px solid var(--gold-dark);
  border-radius: var(--radius-sm);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.certificate-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(155, 35, 53, 0.08);
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 8px;
}

.certificate-header {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.certificate-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.2;
}

.certificate-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.cert-divider {
  width: 120px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.certificate-record {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 24px;
}

.certificate-record strong {
  color: var(--navy);
}

.certificate-mcap {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.certificate-date {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 20px;
}

.certificate-stamp {
  display: inline-block;
  border: 3px solid var(--red);
  border-radius: 50%;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  transform: rotate(-12deg);
  opacity: 0.7;
}

/* Witness form */
.witness-section {
  max-width: 500px;
  margin: 0 auto;
  padding-top: 20px;
}

.witness-section h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.witness-section p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.witness-form {
  display: flex;
  gap: 8px;
}

.witness-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.witness-form input::placeholder {
  color: var(--text-dim);
}

.witness-form input:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm), 0 0 0 3px rgba(200, 169, 81, 0.1);
}

.witness-form button {
  padding: 12px 24px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: var(--shadow-md), 0 2px 8px rgba(200, 169, 81, 0.25);
}

.witness-form button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), 0 4px 16px rgba(200, 169, 81, 0.3);
}

/* --- How to Buy --- */
.buy-section {
  background: var(--bg);
}

.ca-display {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.ca-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.ca-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--white-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.ca-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.ca-address {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.ca-address.placeholder {
  animation: mcap-pulse 2s ease-in-out infinite;
  color: var(--text-muted);
}

.ca-copy-icon {
  color: var(--text-dim);
  transition: color 0.2s;
  flex-shrink: 0;
}

.ca-box:hover .ca-copy-icon {
  color: var(--gold-dark);
}

.ca-copy-icon svg {
  width: 18px;
  height: 18px;
}

.ca-toast {
  font-size: 0.75rem;
  color: var(--gold-dark);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.ca-toast.show {
  opacity: 1;
}

/* Links row */
.buy-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.buy-link {
  padding: 14px 32px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.buy-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* How to buy steps */
.buy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.buy-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.buy-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.buy-step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.buy-step h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.buy-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-social {
  margin-bottom: 24px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-disclaimer {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-cheeky {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 16px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .tracker-grid {
    grid-template-columns: 1fr;
  }

  .buy-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .header-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .header-timer-label {
    display: none;
  }

  .header-timer {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-race {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .race-center {
    flex-direction: row;
    gap: 12px;
    padding: 12px 20px;
  }

  .race-center::before,
  .race-center::after {
    top: auto;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
  }

  .race-center::before { top: 0; bottom: auto; }
  .race-center::after { bottom: 0; top: auto; }

  .race-vs {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .race-column .countdown-timer {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .hero-mascot {
    width: 150px;
    height: 150px;
  }

  .countdown-timer {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .countdown-timer .unit {
    min-width: 45px;
  }

  .hero-mini-strip {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    gap: 10px;
  }

  .hero-mini-mcap {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-mini-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .hero-mini-ca {
    width: 100%;
    justify-content: center;
  }

  /* Timeline mobile: single column */
  .timeline::before {
    left: 20px;
  }

  .timeline-entry:nth-child(odd),
  .timeline-entry:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .certificate-inner {
    padding: 32px 20px;
  }

  .witness-form {
    flex-direction: column;
  }

  .buy-links {
    flex-direction: column;
    align-items: center;
  }

  .buy-link {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
