:root {
  color-scheme: light dark;
  --bg: #030712;
  --bg-panel: #101828;
  --bg-alt: #0f172a;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #f97316;
  --border: hsla(0, 0%, 100%, 0.08);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1d4ed8 0%, transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  padding: 2rem clamp(1rem, 4vw, 5rem) 5rem;
  background: linear-gradient(135deg, rgba(3, 7, 18, 0.95), rgba(15, 23, 42, 0.8));
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.global-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(10px);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tracker-nav {
  position: sticky;
  top: 1rem;
  z-index: 2;
  margin: 1rem clamp(1rem, 4vw, 4rem);
}

.cta {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta.primary {
  background: var(--accent);
  color: #020617;
  border-color: transparent;
}

.cta.secondary {
  border-color: var(--accent-2);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.25);
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

main {
  display: grid;
  gap: 3rem;
  padding: 4rem clamp(1rem, 4vw, 5rem);
  background: var(--bg-alt);
}

.panel {
  padding: 2.5rem;
  border-radius: 32px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: 0 20px 80px rgba(2, 6, 23, 0.6);
}

.panel h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.idea-form {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.idea-form input,
.idea-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  resize: vertical;
}

.idea-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.idea-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.idea-card .theme {
  color: var(--accent-2);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.process-panel .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px dashed var(--border);
  background: rgba(15, 23, 42, 0.5);
}

.footer {
  text-align: center;
  padding: 2rem 1rem 4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tracker-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 30% 20%, #0f2c7d, #021038 55%, #01030f 95%);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem 4rem;
}

.card-back-frame {
  width: min(1100px, 95vw);
  border-radius: 56px;
  padding: 2.5rem 2rem 3rem;
  background: radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.12), transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(87, 190, 255, 0.2), transparent 50%),
    linear-gradient(145deg, #022878, #041142 55%, #020716 90%);
  border: 12px solid #f9c22b;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.card-back-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 90deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0)
  );
  mix-blend-mode: soft-light;
}

.card-back-logo {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.3rem;
  color: #ffda44;
  text-shadow: 0 0 20px rgba(255, 218, 68, 0.6), 0 0 40px rgba(255, 218, 68, 0.3);
  margin-bottom: 1rem;
}

.pokeball-emblem {
  width: clamp(140px, 20vw, 190px);
  height: clamp(140px, 20vw, 190px);
  margin: 0 auto 2rem;
  background: linear-gradient(#f24747 50%, #ffffff 50%);
  border-radius: 50%;
  border: 12px solid #fefefe;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.pokeball-emblem::before,
.pokeball-emblem::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #0c1730;
}

.pokeball-emblem::before {
  width: 100%;
  height: 14px;
  top: calc(50% - 7px);
}

.pokeball-emblem::after {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 12px solid #fefefe;
  top: calc(50% - 35px);
  background: radial-gradient(circle, #ffffff 40%, #cbd5f5 100%);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.tracker-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 16px 64px;
  background: rgba(2, 6, 23, 0.82);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.page-header {
  margin-bottom: 32px;
}

.page-eyebrow {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a5b4fc;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0.25rem 0;
}

.page-subtitle {
  color: var(--muted);
  max-width: 640px;
}

.page-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.5rem 0 0.5rem;
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  border: none;
  color: #04080f;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.cta-button.tertiary {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.cta-button.full-width {
  width: 100%;
  margin-top: 12px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.35);
}

.muted-note {
  color: #94a3b8;
  font-size: 0.9rem;
}

.hud-panel {
  margin-top: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 28, 0.9);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.hud-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
}

.hud-card h3 {
  margin: 0.35rem 0 0;
  font-size: 1.6rem;
}

.hud-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hud-battle {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.9);
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.battle-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.battle-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.battle-form input,
.battle-form select {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

.battle-plan {
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
}

.battle-plan strong {
  color: var(--accent);
}

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center;
}

.card-slot {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(8, 10, 18, 0.9);
  padding: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.collectible-card {
  width: 100%;
  max-width: 320px;
  padding: 0.75rem;
  border-radius: 26px;
  border: 4px solid #f6d144;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), rgba(1, 3, 18, 0.9));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 0 25px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  height: 420px;
}

.collectible-card .card-inner {
  background: linear-gradient(180deg, rgba(7, 16, 41, 0.95), rgba(2, 5, 20, 0.95));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.card-art {
  flex: 0 0 40%;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.25), rgba(15, 23, 42, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.1rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-name {
  color: #f8fafc;
}

.card-hp {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: #facc15;
  font-size: 0.85rem;
}

.card-hp strong {
  font-size: 1.1rem;
  color: #fde047;
}

.card-type-chip {
  background: rgba(250, 204, 21, 0.18);
  color: #fef9c3;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  width: fit-content;
}


.card-ability {
  background: rgba(12, 26, 56, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  min-height: 80px;
}

.ability-name {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #a5f3fc;
}

.ability-text {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: #c7d2fe;
  line-height: 1.4;
}

.collectible-card button {
  margin-top: auto;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.card-slot:hover .card-art img {
  transform: scale(1.05);
}

.card-slot.outline {
  border-style: dashed;
}

.card-slot h3 {
  margin: 12px 0 6px;
  font-size: 20px;
}

.tag {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8;
  margin: 6px 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
}

.status-pill.ready {
  border-color: rgba(14, 241, 193, 0.4);
  color: #0ef1c1;
}

.status-pill.sleep {
  border-color: rgba(255, 196, 0, 0.4);
  color: #ffc400;
}

.card-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.5rem 0 0.75rem;
}

.chip {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.35rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.chip strong {
  font-size: 0.95rem;
  color: #f8fafc;
}

canvas {
  background: #020712;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 16px;
  width: 100%;
  max-width: 400px;
}

.favorites-panel {
  margin-top: 48px;
}

.pulls-panel,
.card-pool-panel {
  margin-top: 40px;
}

.pulls-header,
.pool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.pool-search {
  margin-bottom: 1.5rem;
}

.pool-search-input {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 10, 18, 0.75);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pool-search-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pack-count {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.recent-grid .card-slot {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.35);
}

.recent-grid .card-art {
  border-color: rgba(59, 130, 246, 0.4);
}

.favorites-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.favorites-grid .card-slot {
  box-shadow: none;
  border-style: solid;
}

.card-slot.compact {
  padding: 18px;
}

.favorite-meta {
  color: #aeb7d5;
  margin: 0;
}

.pokedex-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.pokedex-modal.is-open {
  display: flex;
}

.pokedex-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(6px);
}

.pokedex-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 90vw);
  background: rgba(4, 8, 20, 0.96);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  padding: 2rem;
  color: var(--text);
}

.pokedex-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.pokedex-modal__header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pokedex-modal__art {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  background: radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.25), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pokedex-modal__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pokedex-modal__meta h3 {
  margin: 0.2rem 0;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.pokedex-modal__type {
  color: #a5b4fc;
  margin: 0;
}

.pokedex-modal__status {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pokedex-modal__body {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
}

.pokedex-modal__entry {
  margin-top: 0;
  line-height: 1.65;
}

.pokedex-modal__forms {
  margin-top: 1rem;
}

.pokedex-modal__forms ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pokedex-modal__forms li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(148, 163, 184, 0.1);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pokedex-modal__forms li.is-active {
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
}

.pokedex-modal__forms li.is-disabled {
  opacity: 0.5;
  cursor: default;
}

body.modal-open {
  overflow: hidden;
}

.simpsons-panel {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: linear-gradient(135deg, #fde047, #fca5a5, #fdba74);
  color: #1f2933;
}

.simpsons-panel .eyebrow {
  color: #b45309;
}

.simpsons-btn {
  background: #1f2933;
  color: #fde047;
  border-color: transparent;
}

.quote-display {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 1.5rem;
  border: 2px dashed rgba(31, 41, 51, 0.3);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-character {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #7c2d12;
  font-weight: 700;
}

.quote-display .flash {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(124, 45, 18, 0.3);
}

.simpsons-episode-panel {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: linear-gradient(135deg, #a78bfa, #f472b6, #fb7185);
  color: #1f2933;
}

.simpsons-episode-panel .eyebrow {
  color: #7c2d12;
}

.episode-display {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 1.5rem;
  border: 2px dashed rgba(31, 41, 51, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.episode-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #1f2933;
}

.episode-info {
  font-size: 1rem;
  color: #7c2d12;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.episode-display .flash {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(124, 45, 18, 0.3);
}

.backlog-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.backlog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.backlog-columns {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.backlog-columns article {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem;
}

.backlog-columns h3 {
  margin: 0 0 0.5rem;
}

.backlog-columns ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.community-panel .community-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.community-panel article {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
}

.stats-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.stats-list strong {
  color: var(--text);
  font-size: 1.1rem;
}

.fortnite-body {
  margin: 0;
  min-height: 100vh;
  background: #050712;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  overflow-x: hidden;
}

.fortnite-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.25), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.25), transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.fortnite-hero {
  position: relative;
  z-index: 1;
  padding: 3rem clamp(1.5rem, 5vw, 6rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.fortnite-hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.fortnite-hero__visual {
  text-align: center;
  background: rgba(15, 23, 42, 0.65);
  border-radius: 40px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(5, 7, 18, 0.5);
}

.fortnite-hero__visual p {
  color: var(--muted);
  margin-top: 1rem;
}

.glider {
  font-size: clamp(3rem, 8vw, 6rem);
  animation: float 4s ease-in-out infinite;
}

.poi-result {
  margin-top: 1rem;
  font-size: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.fortnite-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding: 0 clamp(1.5rem, 5vw, 6rem) 4rem;
}

.ft-panel {
  border-radius: 32px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 11, 25, 0.85);
  box-shadow: 0 25px 80px rgba(2, 6, 23, 0.75);
}

.loadout-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: start;
}

.loadout-form {
  display: grid;
  gap: 1rem;
}

.loadout-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.loadout-form select {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.loadout-display {
  background: rgba(14, 165, 233, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(14, 165, 233, 0.3);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loadout-card h3 {
  margin-top: 0;
}

.loadout-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
  line-height: 1.5;
}

.loadout-note {
  color: #38bdf8;
  font-size: 0.9rem;
}

.dare-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dare-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.dare-card {
  border-radius: 24px;
  padding: 1.25rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dare-card span {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.7);
}

.dare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.highlights-panel .highlight-list {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.fortnite-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.poi-result.flash,
.loadout-display.flash {
  animation: pulse 0.4s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.kid-panel {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: linear-gradient(135deg, #312e81, #0f172a 60%, #4c1d95);
  position: relative;
  overflow: hidden;
}

.kid-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.kid-content {
  position: relative;
  z-index: 1;
}

.kid-btn {
  font-size: 1rem;
  text-transform: none;
}

.prompt-display {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prompt-display.flash {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
}

.kid-illustration {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.rocket {
  font-size: clamp(3rem, 8vw, 5rem);
  animation: float 4s ease-in-out infinite;
}

.stars span {
  font-size: 1.5rem;
  margin: 0 0.25rem;
  animation: twinkle 2.5s infinite;
}

.stars span:nth-child(2) {
  animation-delay: 0.5s;
}

.stars span:nth-child(3) {
  animation-delay: 1s;
}

.kid-caption {
  color: #fbcfe8;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.battle-comparison-panel {
  margin-top: 48px;
}

.battle-comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.battle-comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.battle-slot {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.battle-slot-empty {
  justify-content: center;
  border-style: dashed;
}

.battle-card-art {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.2), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.battle-card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.battle-card-info {
  text-align: center;
  width: 100%;
}

.battle-card-info h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.25rem;
}

.battle-card-type {
  color: #a5b4fc;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.battle-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.battle-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.battle-stat span {
  color: var(--muted);
  font-size: 0.75rem;
}

.battle-stat strong {
  color: var(--text);
  font-size: 1rem;
}

.battle-card-ability {
  margin: 0.5rem 0 0;
  color: #c7d2fe;
  font-size: 0.9rem;
}

.battle-vs {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
  letter-spacing: 0.1em;
}

.battle-analysis {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
}

.battle-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.analysis-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
}

.analysis-card h4 {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 1rem;
}

.analysis-card p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.analysis-highlight {
  color: #facc15 !important;
  font-weight: 600;
  margin-top: 0.75rem !important;
}

.analysis-winner {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #0ef1c1 !important;
  margin: 0.75rem 0 !important;
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .page-header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .battle-comparison-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .battle-vs {
    font-size: 1.5rem;
    order: -1;
  }
}

/* Fortnite Loadout Generator Styles */
.loadout-panel {
  max-width: 1600px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.seasons-sidebar {
  position: sticky;
  top: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.sidebar-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seasons-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.season-list-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  color: var(--text);
  text-align: left;
}

.season-list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateX(4px);
}

.season-list-item.active {
  background: var(--accent);
  color: #020617;
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.season-list-item.chapter-header {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent);
  font-weight: 700;
  color: var(--accent);
  cursor: default;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.season-list-item.chapter-header:first-child {
  margin-top: 0;
}

.season-list-item.chapter-header:hover {
  transform: none;
  background: rgba(56, 189, 248, 0.1);
}

.season-selector-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.map-display {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  margin: 2rem 0 !important;
  transition: all 0.3s ease !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 500px !important;
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  scroll-margin-top: 2rem !important;
  overflow: visible !important;
}

.map-display:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.8);
}

.map-info {
  text-align: center;
}

.map-image-container {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  min-height: 400px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
}

.map-image-container img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 800px !important;
  width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.map-image-container #mapPlaceholder {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.map-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  max-height: 500px;
  display: block !important;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  object-fit: contain;
  background: transparent;
}

.map-image[src=""] {
  display: none !important;
}

.map-image:hover {
  transform: scale(1.02);
}


.map-name {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.map-description {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.season-selector-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}

.season-selector-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.season-selector-subtitle #currentSeason {
  color: var(--accent-2);
  font-weight: 600;
}

.season-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
  padding: 0.5rem;
}

.season-selector::-webkit-scrollbar {
  width: 8px;
}

.season-selector::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.season-selector::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.season-selector::-webkit-scrollbar-thumb:hover {
  background: var(--accent-2);
}

.season-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
}

.season-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.season-btn.active {
  background: var(--accent);
  color: #020617;
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.loadout-generator {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.loadout-btn {
  font-size: 1.25rem;
  padding: 1rem 2rem;
  min-width: 200px;
}

.loadout-display {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  min-height: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loadout-display.flash {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.3);
}

.loadout-placeholder {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  padding: 3rem 0;
}

.loadout-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.loadout-section {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
}

.loadout-section-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
}

.loadout-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.loadout-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.loadout-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.05);
}

.weapon-item {
  border-left-width: 4px;
}

.item-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.item-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-name {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.item-rarity {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-stack {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 1200px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  
  .seasons-sidebar {
    position: relative;
    top: 0;
    max-height: 400px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .loadout-grid {
    grid-template-columns: 1fr;
  }
  
  .loadout-generator {
    flex-direction: column;
  }
  
  .loadout-btn {
    width: 100%;
  }
  
  .season-selector {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
  }
  
  .season-btn {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }
  
  .season-selector-title {
    font-size: 1.25rem;
  }
  
  .seasons-sidebar {
    max-height: 300px;
  }
  
  .season-list-item {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }
}

