/* ==========================================================================
   TeamFit Tactics — Dark Athletic Design
   ========================================================================== */

:root {
  --primary: #00E5FF;
  --primary-dim: #00B8D4;
  --accent: #FF9100;
  --success: #69F0AE;
  --error: #FF5252;
  --gold: #FFD700;
  --gold-dark: #FFA500;
  --silver: #E8E8E8;
  --silver-dark: #B8B8B8;
  --bronze: #CD7F32;
  --bronze-dark: #8B4513;

  --bg: #0B0D10;
  --surface: #12151A;
  --surface-elevated: #181C22;
  --surface-bright: #1E232B;
  --text: #E8ECF1;
  --text-secondary: #8A94A2;
  --text-dim: #525C69;
  --border: #1E232B;
  --border-muted: #181C22;

  --tier-iron: #5C5C5C;
  --tier-bronze: #CD7F32;
  --tier-silver: #C0C0C0;
  --tier-gold: #FFD700;
  --tier-platinum: #5DADE2;
  --tier-emerald: #2ECC71;
  --tier-diamond: #85C1E9;
  --tier-master: #9B59B6;
  --tier-grandmaster: #E74C3C;
  --tier-challenger: #F39C12;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 14px;

  /* compat aliases used by leaderboard JS */
  --background: var(--bg);
  --surface-elevated-compat: var(--surface-elevated);
  --text-primary: var(--text);
  --overlay-10: rgba(0,0,0,0.4);
  --overlay-20: rgba(0,0,0,0.6);
  --overlay-light-10: rgba(255,255,255,0.04);
  --overlay-light-20: rgba(255,255,255,0.08);
  --overlay-light-40: rgba(255,255,255,0.15);
  --secondary: #B8C5D9;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }

.main {
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 64px;
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-section { display: flex; align-items: center; gap: 10px; }

.logo-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  border-radius: 9px;
  color: #0B0D10;
}
.logo-icon svg { width: 20px; height: 20px; }

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}
.logo-text p { font-size: 11px; color: var(--text-dim); margin-top: 1px; }

.cta-button {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: var(--accent);
  color: white;
  border: none; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  text-decoration: none; cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.cta-button:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255, 145, 0, 0.35); }
.cta-button:active { transform: scale(0.97); }
.cta-button svg { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(0, 229, 255, 0.08), transparent),
    radial-gradient(ellipse 400px 250px at 30% 100%, rgba(255, 145, 0, 0.05), transparent);
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-dim), transparent);
  opacity: 0.3;
}

.hero-inner { max-width: 600px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Flow Section ---------- */
.flow-section { padding: 56px 0 48px; }

.flow-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.flow-track {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

/* Vertical connector line */
.flow-track::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary-dim), var(--border), var(--accent));
  opacity: 0.3;
}

.flow-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.flow-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.flow-step:nth-child(2).visible { transition-delay: 80ms; }
.flow-step:nth-child(3).visible { transition-delay: 160ms; }
.flow-step:nth-child(4).visible { transition-delay: 240ms; }

.flow-step-label {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}

.flow-step-label span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.flow-step:first-child .flow-step-label span {
  border-color: var(--primary-dim);
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
}

.flow-step-body { flex: 1; min-width: 0; }

.flow-step-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.flow-step-body > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ---------- Embedded UI Mockups ---------- */
.embedded-ui {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}

.ui-field {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 6px;
  font-size: 12px; color: var(--text-dim);
}
.ui-field strong { color: var(--text); font-weight: 600; }

.ui-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #0B0D10;
  border-radius: 9px;
  padding: 9px;
  text-align: center;
  font-weight: 700; font-size: 12px;
  margin-top: 2px;
}

/* Overlap visualization — timeline diagram */
.overlap-viz { padding: 18px 16px 14px; position: relative; }

.timeline-header {
  position: relative;
  height: 18px;
  margin-bottom: 8px;
  margin-left: 72px;
}

.time-mark {
  position: absolute;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

.timeline-grid {
  position: absolute;
  top: 30px;
  bottom: 38px;
  left: 88px;
  right: 16px;
  pointer-events: none;
}

.grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  opacity: 0.5;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
}

.bar-label {
  flex-shrink: 0;
  width: 62px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  text-align: right;
}

.bar-label-glow {
  color: var(--success);
  text-shadow: 0 0 12px rgba(105, 240, 174, 0.4);
}

.bar-track {
  flex: 1;
  position: relative;
  height: 100%;
}

.bar {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.bar-workout {
  background: rgba(0, 229, 255, 0.13);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--primary);
}

.bar-match {
  background: rgba(255, 145, 0, 0.13);
  border: 1px solid rgba(255, 145, 0, 0.35);
  color: var(--accent);
}

.bar-validated {
  background: rgba(105, 240, 174, 0.15);
  border: 1px solid rgba(105, 240, 174, 0.5);
  color: var(--success);
  z-index: 2;
}

.overlap-zone {
  position: absolute;
  top: -40px;
  height: calc(100% + 40px);
  border-left: 1px dashed rgba(105, 240, 174, 0.3);
  border-right: 1px dashed rgba(105, 240, 174, 0.3);
  background: rgba(105, 240, 174, 0.04);
  pointer-events: none;
  z-index: 1;
}

.bar-row-validated {
  margin-top: 2px;
}

.overlap-caption {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 14px;
  letter-spacing: 0.3px;
}

/* Results mockup */
.results-ui { padding: 8px; }

.result-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  margin-bottom: 4px;
  background: var(--surface-elevated);
  border-left: 3px solid var(--text-dim);
  font-size: 13px;
}
.result-row.win { border-left-color: var(--gold); }

.r-place {
  font-family: var(--font-display);
  font-size: 16px; width: 30px;
  color: var(--text-dim);
}
.result-row.win .r-place { color: var(--gold); }

.r-type { flex: 1; color: var(--text-secondary); }

.r-mins {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

/* Leaderboard mockup */
.lb-ui { padding: 8px; }

.lb-entry {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  margin-bottom: 4px;
  font-size: 13px;
}
.lb-entry.gold { background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent); }
.lb-entry.silver { background: linear-gradient(90deg, rgba(192, 192, 192, 0.08), transparent); }
.lb-entry.bronze { background: linear-gradient(90deg, rgba(205, 127, 50, 0.08), transparent); }

.lb-pos {
  font-family: var(--font-display);
  font-size: 18px; width: 22px; text-align: center;
}
.lb-entry.gold .lb-pos { color: var(--gold); }
.lb-entry.silver .lb-pos { color: var(--silver-dark); }
.lb-entry.bronze .lb-pos { color: var(--bronze); }

.lb-who { flex: 1; font-weight: 600; }
.lb-who em { font-weight: 400; font-style: normal; color: var(--text-dim); }

.lb-time { font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ---------- Leaderboard (live data) ---------- */
.leaderboard-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap; gap: 8px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.last-updated { font-size: 13px; color: var(--text-dim); }

.leaderboard-container {
  display: flex; flex-direction: column; gap: 10px;
}

.loading-skeleton { display: flex; flex-direction: column; gap: 10px; }

.skeleton-card {
  height: 68px;
  background: var(--surface);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.skeleton-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Leaderboard Card */
.leaderboard-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease;
  animation: fadeInUp 0.4s ease backwards;
}
.leaderboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.leaderboard-card:nth-child(1) { animation-delay: 0ms; }
.leaderboard-card:nth-child(2) { animation-delay: 60ms; }
.leaderboard-card:nth-child(3) { animation-delay: 120ms; }
.leaderboard-card:nth-child(4) { animation-delay: 180ms; }
.leaderboard-card:nth-child(5) { animation-delay: 240ms; }
.leaderboard-card:nth-child(6) { animation-delay: 300ms; }
.leaderboard-card:nth-child(7) { animation-delay: 360ms; }
.leaderboard-card:nth-child(8) { animation-delay: 420ms; }
.leaderboard-card:nth-child(9) { animation-delay: 480ms; }
.leaderboard-card:nth-child(10) { animation-delay: 540ms; }

.card-accent {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--text-dim);
}
.leaderboard-card.rank-1 .card-accent { background: linear-gradient(to bottom, var(--gold), var(--gold-dark)); }
.leaderboard-card.rank-2 .card-accent { background: linear-gradient(to bottom, var(--silver), var(--silver-dark)); }
.leaderboard-card.rank-3 .card-accent { background: linear-gradient(to bottom, var(--bronze), var(--bronze-dark)); }

.card-glow { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.leaderboard-card.rank-1 .card-glow { background: linear-gradient(90deg, rgba(255,215,0,0.1), transparent 50%); opacity: 1; }
.leaderboard-card.rank-2 .card-glow { background: linear-gradient(90deg, rgba(192,192,192,0.07), transparent 50%); opacity: 1; }
.leaderboard-card.rank-3 .card-glow { background: linear-gradient(90deg, rgba(205,127,50,0.07), transparent 50%); opacity: 1; }

.rank-avatar {
  position: relative; width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-left: 4px; z-index: 1;
}
.rank-number { font-family: var(--font-display); font-size: 18px; color: var(--text-secondary); }

.rank-avatar.has-companion .rank-number {
  position: absolute; bottom: -3px; right: -3px;
  width: 18px; height: 18px; font-size: 11px;
  background: var(--surface-elevated);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border); z-index: 2;
}
.leaderboard-card.rank-1 .rank-avatar.has-companion .rank-number { border-color: var(--gold); color: var(--gold-dark); }
.leaderboard-card.rank-2 .rank-avatar.has-companion .rank-number { border-color: var(--silver-dark); color: var(--tier-silver); }
.leaderboard-card.rank-3 .rank-avatar.has-companion .rank-number { border-color: var(--bronze); color: var(--bronze); }

.companion-img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border); background: var(--surface);
}
.leaderboard-card.rank-1 .companion-img { border-color: var(--gold); box-shadow: 0 0 10px rgba(255,215,0,0.3); }
.leaderboard-card.rank-2 .companion-img { border-color: var(--silver-dark); box-shadow: 0 0 8px rgba(192,192,192,0.2); }
.leaderboard-card.rank-3 .companion-img { border-color: var(--bronze); box-shadow: 0 0 8px rgba(205,127,50,0.2); }

.player-info { flex: 1; min-width: 0; z-index: 1; }

.player-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.player-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-tag { font-size: 12px; color: var(--text-dim); }

.player-region {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  padding: 1px 5px; background: var(--primary); color: #0B0D10;
  border-radius: 3px; letter-spacing: 0.5px;
}

.player-stats { display: flex; align-items: center; gap: 10px; margin-top: 3px; }
.stat { display: flex; align-items: baseline; gap: 3px; }
.stat-value { font-weight: 600; font-size: 12px; }
.stat-label { font-size: 10px; color: var(--text-dim); }
.stat-separator { width: 1px; height: 10px; background: var(--border); }

.tft-badge {
  flex-shrink: 0; padding: 3px 7px; border-radius: 5px;
  font-weight: 600; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.5px; border: 1px solid; z-index: 1;
}
.tft-badge.tier-iron { background: rgba(92,92,92,0.15); border-color: var(--tier-iron); color: var(--tier-iron); }
.tft-badge.tier-bronze { background: rgba(205,127,50,0.15); border-color: var(--tier-bronze); color: var(--tier-bronze); }
.tft-badge.tier-silver { background: rgba(192,192,192,0.15); border-color: var(--tier-silver); color: var(--tier-silver); }
.tft-badge.tier-gold { background: rgba(255,215,0,0.15); border-color: var(--tier-gold); color: var(--tier-gold); }
.tft-badge.tier-platinum { background: rgba(93,173,226,0.15); border-color: var(--tier-platinum); color: var(--tier-platinum); }
.tft-badge.tier-emerald { background: rgba(46,204,113,0.15); border-color: var(--tier-emerald); color: var(--tier-emerald); }
.tft-badge.tier-diamond { background: rgba(133,193,233,0.15); border-color: var(--tier-diamond); color: var(--tier-diamond); }
.tft-badge.tier-master { background: rgba(155,89,182,0.15); border-color: var(--tier-master); color: var(--tier-master); }
.tft-badge.tier-grandmaster { background: rgba(231,76,60,0.15); border-color: var(--tier-grandmaster); color: var(--tier-grandmaster); }
.tft-badge.tier-challenger { background: rgba(243,156,18,0.15); border-color: var(--tier-challenger); color: var(--tier-challenger); }
.tft-badge.tier-unranked { background: var(--overlay-10); border-color: var(--border); color: var(--text-dim); }

/* ---------- Download ---------- */
.download-section {
  text-align: center;
  padding: 48px 24px;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.download-section h3 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 6px;
}
.download-section > p { color: var(--text-secondary); margin-bottom: 24px; font-size: 14px; }

.download-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.download-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.download-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.download-btn svg { width: 24px; height: 24px; }
.download-btn div { text-align: left; }
.download-btn .small { display: block; font-size: 10px; opacity: 0.7; }
.download-btn .big { display: block; font-size: 15px; font-weight: 700; }

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}
.footer-content { max-width: 780px; margin: 0 auto; text-align: center; }
.footer p { font-size: 12px; color: var(--text-dim); }
.footer a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { color: var(--text-secondary); }
.footer .disclaimer { margin-top: 8px; font-size: 10px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ---------- Error state ---------- */
.error-state { text-align: center; padding: 48px 24px; }
.error-state svg { width: 40px; height: 40px; color: var(--error); margin-bottom: 16px; }
.error-state h3 { font-size: 16px; margin-bottom: 6px; }
.error-state p { color: var(--text-secondary); margin-bottom: 16px; font-size: 14px; }
.retry-btn {
  padding: 8px 16px; background: var(--primary); color: #0B0D10;
  border: none; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: transform 150ms ease;
}
.retry-btn:hover { transform: translateY(-1px); }

/* ---------- Privacy & Support pages ---------- */
.privacy-section h2 {
  font-family: var(--font-display); font-size: 28px;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px;
}
.privacy-section .last-updated { margin-bottom: 32px; }
.privacy-content { display: flex; flex-direction: column; gap: 20px; }
.privacy-block {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.privacy-block h3 {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}
.privacy-block p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.privacy-block ul { margin-top: 8px; padding-left: 20px; }
.privacy-block li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.privacy-block a { color: var(--primary); text-decoration: none; }
.privacy-block a:hover { text-decoration: underline; }

.support-contact { margin-bottom: 32px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px; background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  border-radius: 20px; color: white;
}
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.2); border-radius: 12px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-info { flex: 1; }
.contact-info h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.contact-info p { font-size: 14px; opacity: 0.9; margin-bottom: 14px; line-height: 1.6; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: white; color: var(--primary-dim);
  border-radius: 9px; font-weight: 600; font-size: 13px;
  text-decoration: none; transition: transform 150ms ease;
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn svg { width: 14px; height: 14px; }

.faq-list { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.faq-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.faq-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .header-content { padding: 10px 16px; }
  .logo-text h1 { font-size: 18px; }
  .cta-button span { display: none; }
  .cta-button { padding: 7px; }
  .main { padding: 0 16px 48px; }
  .hero { padding: 40px 16px 36px; }
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 14px; }
  .flow-title, .section-header h2 { font-size: 22px; }
  .flow-track::before { left: 15px; }
  .flow-step { gap: 14px; }
  .flow-step-label { width: 32px; height: 32px; }
  .flow-step-label span { width: 32px; height: 32px; font-size: 12px; }
  .flow-step-body h3 { font-size: 18px; }
  .timeline-header { margin-left: 56px; }
  .timeline-grid { left: 72px; }
  .bar-label { width: 46px; font-size: 9px; letter-spacing: 0.4px; }
  .bar-row { gap: 8px; height: 28px; }
  .bar { font-size: 10px; }
  .time-mark { font-size: 9px; }
  .player-stats { gap: 6px; }
  .stat-separator { display: none; }
  .stat { flex-direction: column; gap: 0; align-items: flex-start; }
  .download-buttons { flex-direction: column; align-items: center; }
  .download-btn { width: 100%; max-width: 260px; justify-content: center; }
  .contact-card { flex-direction: column; text-align: center; align-items: center; }
  .contact-btn { width: 100%; justify-content: center; }
}
