:root {
  --navy: #1e5175;
  --navy-light: #2a6b96;
  --navy-dark: #163d59;
  --ice: #e1f0f4;
  --ice-dark: #c2dde6;
  --bg: #f6f8fa;
  --white: #ffffff;
  --text: #0d1b2a;
  --text-mid: #52717f;
  --text-dim: #94adb8;
  --border: #e1eaee;
  --border-strong: #c9dbe2;
  --success: #0d9e6e;
  --success-bg: #e6f7f2;
  --warning: #c8720a;
  --warning-bg: #fdf1de;
  --indigo: #4f46e5;
  --indigo-bg: #edecfd;
  --pink: #be185d;
  --pink-bg: #fce8f1;

  --rarity-bronze: #a8622f;
  --rarity-bronze-bg: linear-gradient(155deg, #f3e1d1, #e6c6a4);
  --rarity-silver: #6b7c88;
  --rarity-silver-bg: linear-gradient(155deg, #eef2f4, #d3dee3);
  --rarity-gold: #a6790a;
  --rarity-gold-bg: linear-gradient(155deg, #fbedc4, #f0cf7c);
  --rarity-platinum: #2a7ba6;
  --rarity-platinum-bg: linear-gradient(155deg, #e4f4fb, #bfe3f2);

  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(13, 27, 42, 0.05);
  --shadow-sm: 0 2px 10px rgba(13, 27, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(13, 27, 42, 0.09);
  --shadow-ring: 0 0 0 3px rgba(30, 81, 117, 0.16);

  --navbar-bg: rgba(255, 255, 255, 0.92);

  --container-w: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --font-display: 'Fredoka', 'Inter', sans-serif;
}

/* ── Modo oscuro ──
   Todo el sitio se construye sobre estas variables (fondo, texto, bordes,
   tarjetas...), así que redefinirlas aquí basta para la mayor parte de la
   interfaz. El atributo data-theme lo pone un script en línea en el
   <head> de cada página, antes de pintar nada, para no dar un parpadeo de
   tema claro al cargar con el oscuro ya guardado. */
:root[data-theme='dark'] {
  --navy: #4a90c2;
  --navy-light: #63a8d6;
  --navy-dark: #3a76a3;
  --ice: #1c2b38;
  --ice-dark: #243847;
  --bg: #0f1720;
  --white: #182430;
  --text: #e8eef2;
  --text-mid: #9fb3bd;
  --text-dim: #64808c;
  --border: #26333d;
  --border-strong: #34434f;
  --success: #34d399;
  --success-bg: #11312a;
  --warning: #f0a940;
  --warning-bg: #3a2a11;
  --indigo: #818cf8;
  --indigo-bg: #211f3d;
  --pink: #f472b6;
  --pink-bg: #3a1526;
  --navbar-bg: rgba(15, 23, 32, 0.92);
}

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

.hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3,
.btn-primary, .btn-secondary, .btn-outline,
.nav-logo, .auth-logo,
.hero-pill, .badge, .pill, .rarity-chip,
.stat-card .value, .hero-panel-stat .value, .xp-display, .achievement-xp,
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.page-content {
  padding-top: 76px;
  padding-bottom: 72px;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .container {
    padding: 0 40px;
  }
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

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

@media (min-width: 900px) {
  .nav-inner {
    padding: 12px 40px;
  }
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.nav-logo::before {
  content: 'P';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  transform: rotate(-6deg);
}

.nav-logo span {
  color: var(--navy);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-mid);
}

.nav-links a {
  position: relative;
  padding: 7px 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--navy);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 30px;
  height: 30px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.nav-menu-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 24px 18px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

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

.nav-menu-mobile a {
  padding: 11px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.nav-menu-mobile a:last-child {
  border-bottom: none;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-menu-mobile {
    display: none !important;
  }
}

@media (max-width: 859px) {
  /* Con sesión, nav-right acumula búsqueda + tema + mensajes + campana +
     avatar + el propio botón de menú: en móvil no caben todos junto al
     logo sin desbordar la página horizontalmente (el botón de menú
     quedaba fuera de la pantalla). Se reduce el hueco entre iconos y, por
     debajo de 480px, se colapsa el texto del logo a solo el icono. */
  .nav-right {
    gap: 6px;
  }
}

@media (max-width: 479px) {
  .nav-logo {
    font-size: 0;
    gap: 0;
  }
}

/* ── Buttons ── */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  transition: transform 0.1s var(--ease), box-shadow 0.1s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 0 0 var(--navy-dark);
}

.btn-primary:hover {
  background: var(--navy-light);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--navy-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  box-shadow: 0 4px 0 0 var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--ice);
}

.btn-secondary:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--border-strong);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  box-shadow: 0 4px 0 0 rgba(30, 81, 117, 0.3);
}

.btn-outline:hover {
  background: var(--ice);
}

.btn-outline:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 rgba(30, 81, 117, 0.3);
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-outline:disabled,
.btn-primary.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button.btn-block {
  width: 100%;
}

/* ── Sections ── */
.section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

/* ── Hero ── */
.hero {
  padding-top: 52px;
  padding-bottom: 44px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ice);
  color: var(--navy);
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 1.55rem + 1.9vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.08;
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Two-column desktop hero: left copy, right highlight panel (optional markup) */
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 76px 0 64px;
    text-align: left;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
  }
  .hero-copy {
    align-items: flex-start;
  }
  .hero h1,
  .hero p {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-panel {
  display: none;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 60%);
  pointer-events: none;
}

.hero-panel .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.85;
}

.hero-panel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.hero-panel-stat .value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-panel-stat .label {
  font-size: 12.5px;
  color: var(--ice);
  opacity: 0.85;
  margin-top: 2px;
}

.hero-panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  margin: 20px 0;
}

@media (min-width: 900px) {
  .hero-panel {
    display: block;
  }
}

/* ── Grids ── */
.grid-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

@media (min-width: 1080px) {
  .grid-categories {
    grid-template-columns: repeat(6, 1fr);
  }
}

.grid-guides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

/* ── Category card ── */
.category-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 3px 0 0 var(--ice-dark);
}

.category-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.category-card p {
  font-size: 12.5px;
  color: var(--text-mid);
  flex: 1;
  line-height: 1.45;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ice);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

/* ── Recent guide card ── */
.recent-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.recent-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.recent-card .emoji {
  font-size: 26px;
}

.recent-card h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.recent-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.45;
}

.recent-card .meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.badge-free {
  background: var(--success-bg);
  color: var(--success);
}

.badge-pro {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-progress {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-completed {
  background: var(--success-bg);
  color: var(--success);
}

.badge-danger {
  background: #fee2e2;
  color: #dc2626;
}

.time-tag {
  font-size: 12px;
  color: var(--text-dim);
}

.progress-track {
  width: 100%;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--border);
  overflow: hidden;
}

.progress-track .fill {
  height: 100%;
  background: var(--navy);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease);
}


/* ── Stats row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 12px;
  text-align: center;
}

.stat-card .value {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.stat-card .label {
  font-size: 11.5px;
  color: var(--text-mid);
  margin-top: 4px;
}

/* ── Banner ── */
.banner-signup {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 34px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.banner-signup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 100%, rgba(255, 255, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.banner-signup h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.banner-signup .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 0 0 var(--ice-dark);
}

.banner-signup .btn-primary:active {
  box-shadow: 0 0 0 0 var(--ice-dark);
}

.banner-signup .btn-primary:hover {
  background: var(--ice);
}

/* ── Empty / loading states ── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-mid);
  font-size: 14px;
}

.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--ice) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ── Card-stack decoration (motivo de cartas TCG) ── */
.card-stack {
  position: relative;
  width: 106px;
  height: 90px;
  flex-shrink: 0;
}

.tcg-card {
  position: absolute;
  width: 58px;
  height: 80px;
  border-radius: 9px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(13, 27, 42, 0.22);
}

.tcg-card::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}

.tcg-card.c1 {
  left: 0;
  top: 10px;
  transform: rotate(-13deg);
  z-index: 1;
  background: linear-gradient(155deg, var(--ice) 0%, var(--white) 65%);
  color: var(--navy);
}

.tcg-card.c2 {
  left: 24px;
  top: 0;
  transform: rotate(-1deg);
  z-index: 3;
  background: linear-gradient(155deg, #ffffff 0%, var(--ice) 75%);
  color: var(--navy-light);
}

.tcg-card.c3 {
  left: 48px;
  top: 8px;
  transform: rotate(11deg);
  z-index: 2;
  background: linear-gradient(155deg, var(--ice-dark) 0%, var(--white) 70%);
  color: var(--navy);
}

.card-stack.on-navy .tcg-card {
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Icon color variety (categorías) ── */
.icon-tint-0 {
  background: var(--ice);
  color: var(--navy);
  box-shadow: 0 3px 0 0 var(--ice-dark);
}

.icon-tint-1 {
  background: var(--indigo-bg);
  color: var(--indigo);
  box-shadow: 0 3px 0 0 rgba(79, 70, 229, 0.3);
}

.icon-tint-2 {
  background: var(--warning-bg);
  color: var(--warning);
  box-shadow: 0 3px 0 0 rgba(200, 114, 10, 0.3);
}

.icon-tint-3 {
  background: var(--success-bg);
  color: var(--success);
  box-shadow: 0 3px 0 0 rgba(13, 158, 110, 0.3);
}

.icon-tint-4 {
  background: var(--pink-bg);
  color: var(--pink);
  box-shadow: 0 3px 0 0 rgba(190, 24, 93, 0.3);
}

/* ── Card media (imagen de portada, si existe) ── */
.card-media {
  height: 108px;
  margin: -18px -18px 12px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0) 45%, rgba(13, 27, 42, 0.6));
}

.card-media-badge {
  position: relative;
  z-index: 1;
  font-size: 19px;
  background: rgba(255, 255, 255, 0.95);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* ── Rarity medallions (logros / rareza de guías) ── */
.rarity-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px 3px 6px;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
}

.rarity-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.rarity-bronze {
  background: var(--rarity-bronze-bg);
  color: var(--rarity-bronze);
}

.rarity-silver {
  background: var(--rarity-silver-bg);
  color: var(--rarity-silver);
}

.rarity-gold {
  background: var(--rarity-gold-bg);
  color: var(--rarity-gold);
}

.rarity-platinum {
  background: var(--rarity-platinum-bg);
  color: var(--rarity-platinum);
}

.achievement-tile .icon.rarity-bronze,
.achievement-icon.rarity-bronze {
  box-shadow: 0 3px 0 0 var(--rarity-bronze);
}

.achievement-tile .icon.rarity-silver,
.achievement-icon.rarity-silver {
  box-shadow: 0 3px 0 0 var(--rarity-silver);
}

.achievement-tile .icon.rarity-gold,
.achievement-icon.rarity-gold {
  box-shadow: 0 3px 0 0 var(--rarity-gold);
}

.achievement-tile .icon.rarity-platinum,
.achievement-icon.rarity-platinum {
  box-shadow: 0 3px 0 0 var(--rarity-platinum);
}

/* ── Chunky colored card borders ── */
.border-tint-0 {
  border-color: var(--navy) !important;
}

.border-tint-1 {
  border-color: var(--indigo) !important;
}

.border-tint-2 {
  border-color: var(--warning) !important;
}

.border-tint-3 {
  border-color: var(--success) !important;
}

.border-tint-4 {
  border-color: var(--pink) !important;
}

.border-rarity-bronze {
  border-color: var(--rarity-bronze) !important;
}

.border-rarity-silver {
  border-color: var(--rarity-silver) !important;
}

.border-rarity-gold {
  border-color: var(--rarity-gold) !important;
}

.border-rarity-platinum {
  border-color: var(--rarity-platinum) !important;
}

/* ── Alternating section band ── */
.band-ice {
  background: linear-gradient(180deg, var(--ice) 0%, rgba(225, 240, 244, 0.35) 100%);
  border-top: 1px solid var(--ice-dark);
  border-bottom: 1px solid var(--ice-dark);
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
