/* KettlebellXP storefront. Production `/` loads this file, not the Expo bundle. */
:root {
  --bg: #080B05;
  --bg-panel: rgba(14, 18, 9, 0.92);
  --bg-panel-soft: rgba(14, 18, 9, 0.9);
  --surface: #0E1608;
  --accent: #71E62B;
  --on-accent: #0A1204;
  --gold: #FFD700;
  --on-gold: #141200;
  --text: #F2F5EE;
  --text2: #AEB9A3;
  --text3: #8E9A84;
  --text-chip: #CBD5C0;
  --card-border: rgba(255, 255, 255, 0.1);
  --card-border-soft: rgba(113, 230, 43, 0.18);
  --rule: rgba(113, 230, 43, 0.16);
  --rule-strong: rgba(113, 230, 43, 0.2);
  --hud-bg: rgba(8, 11, 5, 0.82);
  --track-bg: rgba(255, 255, 255, 0.08);
  --kilo: #10b981;
  --font: "Montserrat", system-ui, sans-serif;
}

html,
body {
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  font-weight: 500;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip-link:focus {
  left: 8px;
  z-index: 400;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Marquee */
.marquee {
  background: var(--accent);
  overflow: hidden;
}

.marquee-row {
  display: flex;
  width: max-content;
  animation: v1marq 26s linear infinite;
}

.marquee-run {
  padding: 7px 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3.2px;
  color: #08120A;
  white-space: nowrap;
}

/* HUD */
.hud {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
  background: var(--hud-bg);
  border-bottom: 1px solid var(--card-border-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--text);
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.wordmark-accent {
  color: var(--accent);
}

.hud-meter {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hud-lv {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent);
  white-space: nowrap;
}

.hud-track {
  flex: 1;
  height: 10px;
  border-radius: 6px;
  background: var(--track-bg);
  border: 1px solid rgba(113, 230, 43, 0.25);
  overflow: hidden;
  position: relative;
}

.hud-fill {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #3F9410, #71E62B);
  transform: scaleX(0);
  transform-origin: left;
}

.hud-readout {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #93A386;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

.cta {
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(113, 230, 43, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(113, 230, 43, 0.55);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
}

.toast-wrap {
  position: fixed;
  top: 94px;
  left: 50%;
  z-index: 210;
  transform: translateX(-50%);
  pointer-events: none;
  display: none;
}

.toast-wrap.is-on {
  display: block;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 10px 22px;
  box-shadow: 0 0 40px rgba(113, 230, 43, 0.4);
  animation: v1rise 1.6s ease forwards;
}

.toast-text {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent);
}

main {
  padding-top: 0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 178px 32px 0;
}

.hero h1 {
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--text);
  max-width: 1000px;
  margin: 0 auto 18px;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 1.02;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-weight: 500;
  color: var(--text2);
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
}

/* Claim */
.claim {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 24px 45px;
}

.claim-card {
  width: min(420px, 92vw);
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  overflow: hidden;
  background: linear-gradient(160deg, #141A0C, #0C1007);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.08);
  margin-bottom: 26px;
}

.claim-banner {
  padding: 10px 0;
  text-align: center;
  background: linear-gradient(90deg, #E8C400, #FFD700, #E8C400);
}

.claim-banner-text {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #141200;
}

.claim-body {
  padding: 30px 26px 26px;
  text-align: center;
}

.claim-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.claim-plus {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}

.claim-num {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--gold);
}

.claim-unit {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.claim-btn {
  width: 100%;
  background: var(--gold);
  color: #141200;
  border: 0;
  padding: 18px 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 4px;
  cursor: pointer;
  transition: background-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.claim-btn:hover {
  background: #FFE55C;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 215, 0, 0.28);
}

.claim-hint {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: #8A8467;
}

.claim-success {
  display: none;
  text-align: center;
  margin-bottom: 26px;
  animation: v1pop 0.45s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

.claim.is-claimed .claim-card {
  display: none;
}

.claim.is-claimed .claim-success {
  display: block;
}

.claim-success-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 10px;
}

.claim-success-title {
  font-weight: 900;
  letter-spacing: -1px;
  font-size: clamp(22px, 3vw, 34px);
}

.claim-success-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text2);
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-badge:hover {
  transform: translateY(-3px);
}

.store-badge.is-glow {
  animation: v1glow 1.15s ease-in-out 6;
}

.store-badge-img {
  display: block;
  height: 40px;
  width: auto;
}

/* Official Play PNG includes required clear space, so it is taller. */
.store-badge-img--play {
  height: 60px;
}

.burst {
  position: absolute;
  top: 150px;
  left: 50%;
  z-index: 5;
  pointer-events: none;
  display: none;
}

.burst.is-on {
  display: block;
}

.burst-ring {
  position: absolute;
  left: -60px;
  top: -60px;
  width: 120px;
  height: 120px;
  border-radius: 60px;
}

.burst-gold {
  border: 3px solid rgba(255, 215, 0, 0.85);
  animation: v1flash 0.75s ease-out forwards;
}

.burst-lime {
  border: 2px solid rgba(113, 230, 43, 0.7);
  animation: v1flash 1s 0.12s ease-out forwards;
}

.burst-particle {
  position: absolute;
  animation: v1burst2 1s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}

.burst-counter {
  position: absolute;
  left: -90px;
  top: -30px;
  width: 180px;
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  white-space: nowrap;
  animation: v1rise2 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

/* Sections */
.section {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 70px 32px;
}

.section-tight {
  padding-top: 35px;
}

.level-head {
  margin-bottom: 18px;
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.level-chip {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}

.level-chip.is-gold {
  background: var(--gold);
  color: var(--on-gold);
}

.level-rule {
  flex: 1;
  height: 1px;
  background: var(--rule-strong);
}

.level-rule.is-gold {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.4), transparent);
}

.section h2 {
  font-weight: 900;
  letter-spacing: -1.2px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  margin: 0;
}

.h2-accent {
  color: var(--accent);
}

.intro,
.para {
  font-size: 16px;
  line-height: 26px;
  color: var(--text2);
  max-width: 700px;
  margin: 0 0 30px;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-mark {
  color: var(--accent);
  font-weight: 900;
  font-size: 14px;
  line-height: 21px;
}

.check-mark.is-gold {
  color: var(--gold);
}

.check-text {
  font-size: 14px;
  line-height: 21px;
  color: var(--text-chip);
}

/* XP type cards */
.groups {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.group-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--accent);
}

.group-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.xp-card {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.xp-card:hover {
  transform: translateY(-4px);
}

.xp-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
}

.xp-label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.xp-label {
  font-size: 13.5px;
  font-weight: 700;
}

.pro-badge {
  background: #A855F7;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.xp-sub {
  font-size: 11.5px;
  line-height: 16px;
  color: var(--text3);
  margin-top: 6px;
}

/* Two-column */
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.panel {
  background: var(--bg-panel-soft);
  border: 1px solid var(--card-border-soft);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.donut {
  width: 110px;
  height: 110px;
  border-radius: 55px;
  flex-shrink: 0;
  background: conic-gradient(#6A8FB8 0 42%, #DE7E33 42% 72%, #7B82D0 72% 94%, #72BF6E 94% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-hole {
  width: 82px;
  height: 82px;
  border-radius: 41px;
  background: #0E1209;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hole-label,
.hole-unit {
  font-size: 10px;
  color: #93A386;
}

.hole-value {
  font-size: 19px;
  font-weight: 900;
}

.level-title {
  font-size: 17px;
  font-weight: 800;
}

.level-next {
  font-size: 11px;
  color: #93A386;
  font-style: italic;
  margin-bottom: 8px;
}

.level-track {
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.level-fill {
  width: 65%;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #3F9410, #71E62B);
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legend-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 700;
}

.legend-track {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.legend-fill {
  height: 100%;
  border-radius: 4px;
}

.zero-line {
  margin-top: 16px;
  font-size: 11px;
  color: #93A386;
}

/* Compete */
.board-panel {
  background: var(--bg-panel);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.panel-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--accent);
}

.rank {
  font-size: 12.5px;
  font-weight: 700;
  color: #8E9A84;
}

.rank-value {
  color: var(--accent);
  font-weight: 800;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.board-chip {
  border: 1px solid var(--card-border-soft);
  border-radius: 999px;
  padding: 9px 16px;
  background: transparent;
  color: #DDE5D4;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.board-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.board-chip.is-muted {
  border-color: rgba(255, 255, 255, 0.14);
  color: #B9C4AD;
}

.sub-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: none;
}

.sub-block.is-on {
  display: block;
}

.sub-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #8E9A84;
  margin-bottom: 10px;
}

.board-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.scope-row {
  display: flex;
  gap: 18px;
  font-size: 12px;
  font-weight: 700;
  color: #8E9A84;
}

.scope-active {
  color: var(--accent);
}

.footer-note {
  font-size: 11.5px;
  color: #8E9A84;
}

.podium {
  width: 100%;
  max-width: 640px;
  margin: 18px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
}

.podium-card {
  background: rgba(20, 26, 14, 0.8);
  border: 1px solid rgba(113, 230, 43, 0.16);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
}

.podium-card.is-first {
  border-color: rgba(255, 215, 0, 0.5);
  padding: 26px 14px;
  transform: translateY(-14px);
  background-image: linear-gradient(180deg, rgba(255, 215, 0, 0.12), rgba(20, 26, 14, 0.85));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.podium-rank {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #93A386;
}

.podium-avatar {
  width: 52px;
  height: 52px;
  border-radius: 26px;
  border: 2px solid;
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}

.podium-card.is-first .podium-avatar {
  width: 58px;
  height: 58px;
  border-radius: 29px;
}

.podium-name {
  font-size: 12px;
  font-weight: 700;
  color: #DDE5D4;
}

.podium-score {
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
}

.podium-gain {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
}

.rows {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 26, 14, 0.6);
  border: 1px solid rgba(113, 230, 43, 0.1);
  border-radius: 12px;
  padding: 11px 16px;
}

.row:hover {
  border-color: rgba(113, 230, 43, 0.4);
  transform: translateX(4px);
}

.row-rank {
  font-size: 11px;
  font-weight: 800;
  color: #93A386;
  width: 18px;
}

.row-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #DDE5D4;
}

.row-flag {
  background: #93A386;
  color: var(--on-accent);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9px;
  font-weight: 800;
  margin-left: 6px;
}

.row-score {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

.you-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(113, 230, 43, 0.09);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 11px 16px;
}

.you-rank {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  width: 18px;
}

.you-name {
  flex: 1;
  font-size: 13px;
  font-weight: 800;
}

.you-chip {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
}

/* Feed */
.kicker {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 12px;
}

.callout-grid {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.callout {
  border: 1px solid var(--card-border-soft);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.callout h3 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 10px 0 8px;
}

.callout p {
  font-size: 13px;
  line-height: 20px;
  color: var(--text3);
  margin: 0;
}

/* Coach Kilo */
.gold-pill {
  display: inline-block;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.07);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 22px;
}

.chat-panel {
  background: rgba(14, 18, 9, 0.92);
  border: 1px solid var(--card-border-soft);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-name {
  font-size: 14.5px;
  font-weight: 800;
}

.chat-online {
  font-size: 11px;
  font-weight: 700;
  color: var(--kilo);
}

.bubble {
  padding: 12px;
  font-size: 13px;
  line-height: 20px;
}

.user-bubble {
  margin-left: 60px;
  background: rgba(113, 230, 43, 0.1);
  border: 1px solid rgba(113, 230, 43, 0.25);
  border-radius: 14px 14px 4px 14px;
}

.kilo-bubble {
  margin-right: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px 14px 14px 4px;
}

.chart-title {
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.chart {
  height: 78px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 4px 0;
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
}

.chart-caption {
  font-size: 11.5px;
  line-height: 17px;
  color: var(--text3);
}

.suggest-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggest {
  border: 1px solid rgba(113, 230, 43, 0.3);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
}

/* Final CTA */
.final {
  position: relative;
  text-align: center;
  padding: 100px 32px 120px;
  overflow: hidden;
}

.final-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 50% 100%, rgba(113, 230, 43, 0.16), transparent 70%);
  pointer-events: none;
}

.mascot {
  margin: 0 auto 22px;
  width: 120px;
  height: 120px;
  animation: v1float 4s ease-in-out infinite;
}

.final h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -1.5px;
  margin: 0 0 14px;
}

.final .para {
  margin: 0 auto 28px;
  max-width: 520px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(113, 230, 43, 0.14);
  padding: 30px 32px 90px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social {
  padding: 4px;
  color: var(--text3);
}

.social:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}

/* Legal pages */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.legal-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.legal-back {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.legal-page h1 {
  font-size: 28px;
  font-weight: 900;
  margin: 0;
}

.legal-updated {
  color: var(--text3);
  font-size: 14px;
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 20px;
  margin: 28px 0 12px;
}

.legal-page h3 {
  font-size: 16px;
  margin: 18px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--text2);
  line-height: 1.6;
  font-size: 15px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
}

/* Keyframes (same names as the RN landing) */
@keyframes v1marq {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes v1float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes v1glow {
  0%, 100% { box-shadow: 0 0 0 rgba(113, 230, 43, 0); }
  50% { box-shadow: 0 0 26px rgba(113, 230, 43, 0.55); }
}

@keyframes v1pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes v1flash {
  0% { transform: scale(0.2); opacity: 0.95; }
  100% { transform: scale(3.4); opacity: 0; }
}

@keyframes v1burst2 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1.1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.45); opacity: 0; }
}

@keyframes v1rise2 {
  0% { transform: translate3d(0, 20px, 0) scale(0.5); opacity: 0; }
  25% { transform: translate3d(0, 0, 0) scale(1.15); opacity: 1; }
  100% { transform: translate3d(0, -150px, 0) scale(0.85); opacity: 0; }
}

@keyframes v1rise {
  0% { transform: translate3d(0, 0, 0); opacity: 1; }
  100% { transform: translate3d(0, -46px, 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-row,
  .mascot {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .hud {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "meter meter";
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
  }

  .brand { grid-area: brand; }
  .cta { grid-area: cta; }
  .hud-meter { grid-area: meter; }

  .hero {
    padding: 168px 20px 0;
  }

  .section {
    padding: 48px 20px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .xp-card {
    padding: 14px 10px;
  }

  .columns {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .board-chip {
    padding: 6px 11px;
    font-size: 11.5px;
  }
}
