:root {
  --bg-void: #010a13;
  --bg-deep: #06101e;
  --bg-panel: rgba(9, 20, 40, 0.86);
  --bg-panel-solid: #091428;
  --bg-elevated: #0e1d36;

  --gold-light: #f0e6d2;
  --gold-main: #c8aa6e;
  --gold-dark: #785a28;
  --gold-border: rgba(200, 170, 110, 0.34);

  --cyan-bright: #0ac8b9;
  --cyan-mid: #0397ab;
  --cyan-glow: rgba(10, 200, 185, 0.25);

  --crimson: #e84057;
  --purple: #a78bfa;
  --amber: #f59e0b;

  --text-main: #f0e6d2;
  --text-muted: #a09b8c;
  --text-dim: #6f7c8c;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-hex: 0 18px 42px rgba(0, 0, 0, 0.55);
  --transition: 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

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

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

#hextech-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.container {
  width: min(1220px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(1, 10, 19, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(200, 170, 110, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-crest {
  width: 38px;
  height: 38px;
  color: var(--gold-main);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.brand-text small {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--cyan-bright);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-bright), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  padding: 9px 18px;
  background: linear-gradient(135deg, rgba(10, 200, 185, 0.16), rgba(3, 151, 171, 0.24));
  border: 1px solid var(--cyan-bright);
  border-radius: 4px;
  color: var(--cyan-bright);
  font-weight: 600;
}

.main-nav .nav-cta:hover {
  background: var(--cyan-bright);
  color: var(--bg-void);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold-main);
  transition: transform 0.25s, opacity 0.25s;
}

/* Shared Cards & Sections */
.section {
  position: relative;
  padding: 96px 0;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-header.compact {
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan-bright);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.hex-card {
  background: linear-gradient(160deg, rgba(14, 29, 54, 0.88), rgba(6, 16, 30, 0.94));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hex);
  position: relative;
  overflow: hidden;
}

.hex-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240, 230, 210, 0.22), transparent 45%, rgba(10, 200, 185, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #c8aa6e, #9c7938);
  color: #010a13;
  box-shadow: 0 8px 26px rgba(200, 170, 110, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f0e6d2, #c8aa6e);
  box-shadow: 0 12px 32px rgba(200, 170, 110, 0.5);
}

.btn-secondary {
  background: rgba(10, 200, 185, 0.08);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(10, 200, 185, 0.2);
  box-shadow: 0 10px 26px rgba(10, 200, 185, 0.25);
}

/* 1. HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) brightness(0.64);
  transform: scale(1.04);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 35%, rgba(10, 200, 185, 0.14), transparent 50%),
    linear-gradient(90deg, rgba(1, 10, 19, 0.94) 0%, rgba(1, 10, 19, 0.72) 55%, rgba(1, 10, 19, 0.5) 100%),
    linear-gradient(180deg, rgba(1, 10, 19, 0.45) 0%, transparent 25%, rgba(1, 10, 19, 0.98) 100%);
}

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

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(9, 20, 40, 0.8);
  border: 1px solid rgba(10, 200, 185, 0.4);
  color: var(--cyan-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.rune-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 12px var(--cyan-bright);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.gold-gradient {
  background: linear-gradient(135deg, #fff6df 0%, #c8aa6e 52%, #9a7432 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #d6d0c4;
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 20px 26px;
  background: rgba(6, 16, 30, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 170, 110, 0.28);
  border-radius: var(--radius-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(200, 170, 110, 0.25);
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gold-main);
  opacity: 0.85;
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold-main), transparent);
}

/* 2. OVERVIEW */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.pillar-card {
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 200, 185, 0.55);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
}

.pillar-icon.cyan {
  color: var(--cyan-bright);
  background: rgba(10, 200, 185, 0.12);
  border: 1px solid rgba(10, 200, 185, 0.35);
}

.pillar-icon.gold {
  color: var(--gold-main);
  background: rgba(200, 170, 110, 0.12);
  border: 1px solid rgba(200, 170, 110, 0.35);
}

.pillar-icon.crimson {
  color: #fb7185;
  background: rgba(232, 64, 87, 0.12);
  border: 1px solid rgba(232, 64, 87, 0.35);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.relic-banner {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  align-items: center;
  gap: 32px;
  padding: 36px;
}

.tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-main);
  border: 1px solid rgba(200, 170, 110, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.relic-copy h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.relic-copy p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-chips span {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(1, 10, 19, 0.65);
  border: 1px solid rgba(200, 170, 110, 0.26);
  color: var(--gold-light);
}

.hextech-emblem-svg {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  display: block;
}

.spin-slow {
  transform-origin: 160px 120px;
  animation: spin 36s linear infinite;
}

.spin-reverse {
  transform-origin: 160px 120px;
  animation: spin 24s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 3. RIFT MAP & 5 ROLES */
.rift-section {
  background: linear-gradient(180deg, transparent, rgba(6, 16, 30, 0.75), transparent);
}

.role-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.role-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 6px;
  background: rgba(9, 20, 40, 0.85);
  border: 1px solid rgba(200, 170, 110, 0.25);
  color: var(--text-muted);
  font-weight: 600;
  transition: all var(--transition);
}

.role-tab .tab-code {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(200, 170, 110, 0.14);
  color: var(--gold-main);
}

.role-tab:hover {
  border-color: var(--gold-main);
  color: var(--gold-light);
}

.role-tab.active {
  background: linear-gradient(135deg, rgba(10, 200, 185, 0.2), rgba(9, 20, 40, 0.95));
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(10, 200, 185, 0.25);
}

.role-tab.active .tab-code {
  background: var(--cyan-bright);
  color: var(--bg-void);
}

.rift-workspace {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.rift-map-panel {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #040c16;
  border: 1px solid rgba(200, 170, 110, 0.25);
}

.map-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.1);
}

.map-overlay-svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.lane-path {
  stroke: rgba(200, 170, 110, 0.28);
  transition: stroke 0.3s, stroke-width 0.3s;
}

.lane-path.active {
  stroke: rgba(10, 200, 185, 0.85);
  stroke-width: 12;
  filter: url(#glow);
}

.map-node {
  cursor: pointer;
}

.map-node .node-pulse {
  fill: rgba(10, 200, 185, 0);
  transition: fill 0.3s;
}

.map-node .node-bg {
  fill: #091428;
  stroke: var(--gold-main);
  stroke-width: 2.2;
  transition: all 0.25s;
}

.map-node .node-label {
  fill: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.map-node:hover .node-bg {
  stroke: var(--cyan-bright);
  fill: #102a49;
}

.map-node.active .node-pulse {
  fill: rgba(10, 200, 185, 0.25);
  animation: pulseRing 1.8s ease-out infinite;
}

.map-node.active .node-bg {
  fill: var(--cyan-bright);
  stroke: #ffffff;
}

.map-node.active .node-label {
  fill: #010a13;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.map-legend .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot.cyan { background: var(--cyan-bright); }
.dot.purple { background: var(--purple); }
.dot.amber { background: var(--amber); }

.role-detail-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.role-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(200, 170, 110, 0.2);
  padding-bottom: 18px;
}

.role-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan-bright);
  margin-bottom: 6px;
}

.role-head h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--gold-light);
}

.role-diff {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.diff-bars {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  justify-content: flex-end;
}

.diff-bars span {
  width: 18px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.diff-bars span.on {
  background: var(--gold-main);
}

.role-summary {
  color: #dcd6c8;
  font-size: 1rem;
}

.role-tasks {
  list-style: none;
  display: grid;
  gap: 10px;
}

.role-tasks li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.role-tasks li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--cyan-bright);
  font-size: 0.78rem;
  top: 2px;
}

.role-champs-box {
  background: rgba(1, 10, 19, 0.55);
  border: 1px solid rgba(200, 170, 110, 0.22);
  border-radius: 8px;
  padding: 16px;
}

.role-champs-box h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold-main);
  margin-bottom: 10px;
}

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

.champ-pill {
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(14, 29, 54, 0.9);
  border: 1px solid rgba(10, 200, 185, 0.35);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-light);
  transition: all var(--transition);
}

.champ-pill:hover {
  background: rgba(10, 200, 185, 0.2);
  border-color: var(--cyan-bright);
  transform: translateY(-2px);
}

/* 4. GAMEPLAY LOOP & OBJECTIVES */
.phase-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.phase-btn {
  padding: 18px 20px;
  text-align: left;
  border-radius: 10px;
  background: rgba(9, 20, 40, 0.78);
  border: 1px solid rgba(200, 170, 110, 0.22);
  transition: all var(--transition);
}

.phase-btn .phase-time {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan-bright);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.phase-btn strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-light);
}

.phase-btn.active {
  background: linear-gradient(135deg, rgba(200, 170, 110, 0.18), rgba(9, 20, 40, 0.96));
  border-color: var(--gold-main);
  box-shadow: 0 8px 24px rgba(200, 170, 110, 0.18);
}

.phase-content {
  padding: 32px;
  margin-bottom: 52px;
}

.phase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.phase-copy h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.phase-copy p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.phase-checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}

.phase-checklist li {
  padding: 10px 14px;
  background: rgba(1, 10, 19, 0.55);
  border-left: 3px solid var(--cyan-bright);
  border-radius: 4px;
  font-size: 0.92rem;
}

.phase-tip-card {
  background: rgba(1, 10, 19, 0.65);
  border: 1px solid rgba(10, 200, 185, 0.3);
  border-radius: 10px;
  padding: 24px;
}

.phase-tip-card h4 {
  color: var(--cyan-bright);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.phase-tip-card p {
  color: #dcd6c8;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.phase-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric-mini {
  padding: 10px;
  background: rgba(14, 29, 54, 0.8);
  border-radius: 6px;
  text-align: center;
}

.metric-mini strong {
  display: block;
  color: var(--gold-main);
  font-size: 1.05rem;
}

.metric-mini span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.objectives-header {
  text-align: center;
  margin-bottom: 28px;
}

.objectives-header h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.objectives-header p {
  color: var(--text-muted);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.obj-card {
  padding: 26px 22px;
  transition: transform var(--transition);
}

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

.obj-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.obj-badge.fire { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.obj-badge.void { background: rgba(10, 200, 185, 0.16); color: var(--cyan-bright); border: 1px solid rgba(10, 200, 185, 0.4); }
.obj-badge.baron { background: rgba(167, 139, 250, 0.18); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.4); }
.obj-badge.gold { background: rgba(200, 170, 110, 0.18); color: var(--gold-main); border: 1px solid rgba(200, 170, 110, 0.4); }

.obj-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.obj-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 5. CHAMPIONS */
.roster-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 200, 185, 0.1);
  border: 1px solid rgba(10, 200, 185, 0.32);
  color: var(--cyan-bright);
  font-size: 0.8rem;
  font-weight: 600;
}

.champions-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.champ-search-wrap {
  position: relative;
  width: min(500px, 100%);
  color: var(--gold-main);
}

.champ-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.champ-search-input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: 999px;
  background: rgba(9, 20, 40, 0.92);
  border: 1px solid rgba(200, 170, 110, 0.32);
  color: var(--gold-light);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.champ-search-input::placeholder {
  color: var(--text-dim);
}

.champ-search-input:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 18px rgba(10, 200, 185, 0.22);
}

.class-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.skin-tier-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(6, 16, 30, 0.72);
  border: 1px solid rgba(200, 170, 110, 0.2);
}

.skin-tier-legend .legend-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.tier-badge.tier-transcendent {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(168, 85, 247, 0.25));
  color: #f9a8d4;
  border-color: rgba(244, 114, 182, 0.65);
}

.tier-badge.tier-ultimate {
  background: rgba(249, 115, 22, 0.22);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.65);
}

.tier-badge.tier-mythic {
  background: rgba(168, 85, 247, 0.22);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.65);
}

.tier-badge.tier-legendary {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.6);
}

.tier-badge.tier-epic {
  background: rgba(14, 165, 233, 0.2);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.55);
}

.tier-badge.tier-legacy {
  background: rgba(200, 170, 110, 0.2);
  color: #f0e6d2;
  border-color: rgba(200, 170, 110, 0.55);
}

.tier-badge.tier-standard {
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.35);
}

.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(9, 20, 40, 0.85);
  border: 1px solid rgba(200, 170, 110, 0.25);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--gold-main);
  color: var(--gold-light);
}

.filter-chip.active {
  background: var(--gold-main);
  color: #010a13;
  border-color: var(--gold-light);
}

.champions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.champ-card {
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.champ-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-bright);
}

.champ-card-banner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #06101e;
}

.champ-splash-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.45s ease;
}

.champ-card:hover .champ-splash-img {
  transform: scale(1.06);
}

.champ-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 10, 19, 0.08) 20%, rgba(6, 16, 30, 0.96) 100%);
}

.champ-portrait-badge {
  position: absolute;
  left: 16px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--gold-main);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65);
  background: #091428;
}

.champ-portrait-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.champ-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

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

.champ-avatar {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: #ffffff;
  border: 1px solid rgba(240, 230, 210, 0.4);
  flex-shrink: 0;
  overflow: hidden;
}

.champ-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.champ-meta h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--gold-light);
  line-height: 1.2;
}

.champ-title {
  font-size: 0.83rem;
  color: var(--cyan-bright);
  font-weight: 500;
  text-transform: capitalize;
}

.champ-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.champ-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(1, 10, 19, 0.65);
  border: 1px solid rgba(200, 170, 110, 0.25);
  color: var(--gold-main);
}

.champ-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.champ-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 6px;
}

.champ-mini-stat {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.champ-mini-stat span {
  display: block;
  margin-bottom: 3px;
}

.mini-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mini-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.mini-bar.atk i { background: #f87171; }
.mini-bar.mag i { background: #38bdf8; }
.mini-bar.def i { background: #4ade80; }
.mini-bar.dif i { background: #fbbf24; }

.champ-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(200, 170, 110, 0.16);
  font-size: 0.82rem;
  color: var(--gold-main);
  font-weight: 600;
}

.champions-pagination {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.champ-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 24px;
  color: var(--text-muted);
}

/* 6. MECHANICS & MODES */
.mechanics-section {
  background: linear-gradient(180deg, transparent, rgba(6, 16, 30, 0.72), transparent);
}

.mechanics-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mech-tab {
  padding: 12px 24px;
  border-radius: 6px;
  background: rgba(9, 20, 40, 0.85);
  border: 1px solid rgba(200, 170, 110, 0.25);
  color: var(--text-muted);
  font-weight: 600;
  transition: all var(--transition);
}

.mech-tab.active {
  background: linear-gradient(135deg, rgba(200, 170, 110, 0.22), rgba(9, 20, 40, 0.96));
  border-color: var(--gold-main);
  color: var(--gold-light);
}

.mech-panel {
  padding: 32px;
  margin-bottom: 48px;
}

.mech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.mech-item {
  padding: 20px;
  background: rgba(1, 10, 19, 0.58);
  border: 1px solid rgba(200, 170, 110, 0.2);
  border-radius: 8px;
}

.mech-item h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.mech-item .mech-sub {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--cyan-bright);
  font-weight: 700;
  margin-bottom: 8px;
}

.mech-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modes-header {
  text-align: center;
  margin-bottom: 24px;
}

.modes-header h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-light);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mode-card {
  padding: 24px;
}

.mode-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(200, 170, 110, 0.16);
  color: var(--gold-main);
  margin-bottom: 12px;
}

.mode-tag.cyan { background: rgba(10, 200, 185, 0.16); color: var(--cyan-bright); }
.mode-tag.gold { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.mode-tag.crimson { background: rgba(232, 64, 87, 0.18); color: #fb7185; }

.mode-card h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.mode-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 7. QUIZ */
.quiz-box {
  padding: 44px 36px;
}

.quiz-container {
  max-width: 740px;
  margin: 0 auto;
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--cyan-bright);
  margin-bottom: 14px;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-bright), var(--gold-main));
  transition: width 0.3s ease;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  text-align: left;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.65);
  border: 1px solid rgba(200, 170, 110, 0.25);
  color: var(--text-main);
  font-size: 0.96rem;
  transition: all var(--transition);
}

.quiz-option:hover {
  border-color: var(--cyan-bright);
  background: rgba(10, 200, 185, 0.12);
  transform: translateX(4px);
}

.quiz-result {
  text-align: center;
  padding: 12px 0;
}

.quiz-result .result-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(10, 200, 185, 0.16);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.quiz-result h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.quiz-result p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(1, 10, 19, 0.82);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: min(860px, 95vw);
  max-height: 92vh;
  overflow-y: auto;
  padding: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 10, 19, 0.75);
  border: 1px solid rgba(200, 170, 110, 0.4);
  color: var(--gold-light);
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(232, 64, 87, 0.8);
  color: #ffffff;
}

.modal-splash-hero {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #06101e;
}

.modal-splash-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: opacity 0.25s ease;
}

.modal-splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 10, 19, 0.15) 0%, rgba(6, 16, 30, 0.96) 100%);
}

.modal-skin-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 10, 19, 0.72);
  border: 1px solid rgba(200, 170, 110, 0.45);
  color: var(--gold-light);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  transition: background var(--transition), border-color var(--transition);
}

.modal-skin-nav:hover {
  background: rgba(10, 200, 185, 0.28);
  border-color: var(--cyan-bright);
}

.modal-skin-nav.prev { left: 14px; }
.modal-skin-nav.next { right: 14px; }

.modal-splash-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-splash-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-skin-active-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.modal-skin-active-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
}

.skin-gallery-section {
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(1, 10, 19, 0.56);
  border: 1px solid rgba(200, 170, 110, 0.24);
}

.skin-gallery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.skin-gallery-head h4 {
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  color: var(--gold-main);
}

.skin-tier-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skin-tier-btn {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(9, 20, 40, 0.9);
  border: 1px solid rgba(200, 170, 110, 0.25);
  color: var(--text-muted);
}

.skin-tier-btn.active {
  background: var(--cyan-bright);
  color: #010a13;
  border-color: var(--cyan-bright);
}

.skin-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: var(--gold-dark) rgba(1, 10, 19, 0.5);
  scrollbar-width: thin;
}

.skin-thumb-card {
  flex: 0 0 156px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(9, 20, 40, 0.92);
  border: 1px solid rgba(200, 170, 110, 0.25);
  text-align: left;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.skin-thumb-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-main);
}

.skin-thumb-card.active {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 16px rgba(10, 200, 185, 0.28);
}

.skin-thumb-img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  object-position: center 20%;
  background: #06101e;
}

.skin-thumb-meta {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.skin-thumb-name {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.skin-chroma-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.skin-chroma-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.modal-skin-desc {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold-main);
  background: rgba(9, 20, 40, 0.65);
  border-radius: 4px;
  font-size: 0.84rem;
  color: #dcd6c8;
}

.modal-body-pad {
  padding: 22px 28px 30px;
}

.modal-lore {
  color: #dcd6c8;
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.modal-stat-box {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.62);
  border: 1px solid rgba(200, 170, 110, 0.2);
}

.modal-stat-box small {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.modal-champ-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.skill-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.skill-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 12px;
  background: rgba(1, 10, 19, 0.62);
  border: 1px solid rgba(200, 170, 110, 0.22);
  border-radius: 8px;
  align-items: start;
}

.skill-icon-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cyan-bright);
  background: rgba(10, 200, 185, 0.14);
  display: grid;
  place-items: center;
}

.skill-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skill-key-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 1px 5px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(1, 10, 19, 0.9);
  color: var(--gold-light);
  border-top-left-radius: 4px;
}

.skill-key {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(10, 200, 185, 0.16);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
}

.skill-row strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.skill-row span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.modal-tip-box {
  padding: 14px;
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.55);
  border: 1px solid rgba(10, 200, 185, 0.24);
}

.modal-tip-box h5 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cyan-bright);
  margin-bottom: 6px;
}

.modal-tip-box p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(200, 170, 110, 0.22);
  background: #010810;
  padding: 44px 0;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-brand strong {
  font-family: var(--font-display);
  color: var(--gold-main);
  letter-spacing: 0.08em;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--gold-light);
}

.footer-links a:hover {
  color: var(--cyan-bright);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  max-width: 680px;
}

/* Responsive */
@media (max-width: 1024px) {
  .overview-grid,
  .champions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .objectives-grid,
  .modes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rift-workspace,
  .relic-banner,
  .phase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 4vw;
    right: 4vw;
    flex-direction: column;
    align-items: stretch;
    background: rgba(6, 16, 30, 0.98);
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    padding: 18px;
    gap: 14px;
    display: none;
  }

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

  .overview-grid,
  .champions-grid,
  .objectives-grid,
  .modes-grid,
  .phase-switcher {
    grid-template-columns: 1fr;
  }

  .stat-divider {
    display: none;
  }

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

  .quiz-box {
    padding: 28px 20px;
  }

  .modal-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-tips-grid {
    grid-template-columns: 1fr;
  }

  .modal-splash-hero {
    height: 190px;
  }

  .modal-body-pad {
    padding: 18px 20px 24px;
  }
}
