/* =========================================================
   CLS — League of Legends community tournament site
   Design: modern esports brand — dark base, neon accent
   ========================================================= */

:root {
  --bg: #0a0a10;
  --bg-alt: #12121a;
  --bg-card: #17171f;
  --border: #262633;
  --text: #eef0f7;
  --text-dim: #9a9ab0;
  --accent: #7c5cff;
  --accent-2: #00e5c7;
  --accent-gradient: linear-gradient(135deg, #7c5cff 0%, #00e5c7 100%);
  --danger: #ff5c7c;
  --radius: 14px;
  --maxw: 1180px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

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

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

/* ---------- NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #08080c;
  font-weight: 900;
}

.logo .tag {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #9147ff;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(145, 71, 255, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- HERO (splash-art banner) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 64px 24px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 76% 52%, rgba(0, 229, 199, 0.28), transparent 42%),
    radial-gradient(circle at 22% 25%, rgba(124, 92, 255, 0.22), transparent 50%),
    var(--bg);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-diamond {
  position: absolute;
  top: 50%;
  right: 15%;
  width: 340px;
  height: 340px;
  border: 2px solid rgba(0, 229, 199, 0.55);
  border-radius: 20px;
  transform: translate(38%, -50%) rotate(45deg);
  opacity: 0.9;
  box-shadow: 0 0 60px rgba(0, 229, 199, 0.2), inset 0 0 50px rgba(124, 92, 255, 0.12);
}

.hero-diamond::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 14px;
}

.hero-visual img {
  position: absolute;
  top: -2%;
  right: -2%;
  height: 128%;
  width: auto;
  max-width: 72%;
  object-fit: cover;
  object-position: 50% 12%;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 4%,
    rgba(0, 0, 0, 0.06) 13%,
    rgba(0, 0, 0, 0.16) 22%,
    rgba(0, 0, 0, 0.32) 31%,
    rgba(0, 0, 0, 0.52) 40%,
    rgba(0, 0, 0, 0.74) 49%,
    rgba(0, 0, 0, 0.9) 58%,
    black 70%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 4%,
    rgba(0, 0, 0, 0.06) 13%,
    rgba(0, 0, 0, 0.16) 22%,
    rgba(0, 0, 0, 0.32) 31%,
    rgba(0, 0, 0, 0.52) 40%,
    rgba(0, 0, 0, 0.74) 49%,
    rgba(0, 0, 0, 0.9) 58%,
    black 70%);
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.65)) saturate(1.35) contrast(1.12) brightness(1.06);
  opacity: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--bg) 0%,
    rgba(10, 10, 16, 0.88) 14%,
    rgba(10, 10, 16, 0.5) 28%,
    rgba(10, 10, 16, 0.15) 42%,
    transparent 58%);
  pointer-events: none;
}

.hero-champ-tag {
  position: absolute;
  right: 6%;
  bottom: 9%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 10, 16, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 229, 199, 0.35);
  border-radius: 10px;
  padding: 8px 16px;
  pointer-events: none;
}

.hero-champ-tag .tag-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-champ-tag .tag-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(0, 229, 199, 0.1);
  border: 1px solid rgba(0, 229, 199, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #08080c;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(124, 92, 255, 0.3); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

.btn-twitch {
  background: #9147ff;
  color: #fff;
}
.btn-twitch:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(145, 71, 255, 0.35); }

/* ---------- COUNTDOWN STRIP ---------- */
.countdown-strip {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-top: 40px;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(23, 23, 31, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 84px;
  text-align: center;
}

.countdown-box .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}

.countdown-box .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------- SECTIONS ---------- */
section { padding: 72px 24px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-dim);
  margin-top: 6px;
  max-width: 520px;
}

.section-head .link-more {
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.9rem;
  white-space: nowrap;
}

.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Section feature art (blended champion splash, e.g. "What is CLS?") ---------- */
.section-champ {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 45%, rgba(124, 92, 255, 0.18), transparent 45%),
    radial-gradient(circle at 96% 20%, rgba(0, 229, 199, 0.14), transparent 42%),
    var(--bg-alt);
}

.section-champ .wrap { position: relative; z-index: 1; }

.feature-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.feature-visual img {
  position: absolute;
  top: -25%;
  right: -4%;
  height: 155%;
  width: auto;
  max-width: 46%;
  object-fit: cover;
  object-position: 50% 14%;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 4%,
    rgba(0, 0, 0, 0.05) 12%,
    rgba(0, 0, 0, 0.12) 20%,
    rgba(0, 0, 0, 0.22) 28%,
    rgba(0, 0, 0, 0.36) 36%,
    rgba(0, 0, 0, 0.52) 44%,
    rgba(0, 0, 0, 0.68) 52%,
    rgba(0, 0, 0, 0.82) 60%,
    rgba(0, 0, 0, 0.92) 68%,
    black 78%),
    linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 8%,
    black 18%,
    black 82%,
    rgba(0, 0, 0, 0.5) 92%,
    transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 4%,
    rgba(0, 0, 0, 0.05) 12%,
    rgba(0, 0, 0, 0.12) 20%,
    rgba(0, 0, 0, 0.22) 28%,
    rgba(0, 0, 0, 0.36) 36%,
    rgba(0, 0, 0, 0.52) 44%,
    rgba(0, 0, 0, 0.68) 52%,
    rgba(0, 0, 0, 0.82) 60%,
    rgba(0, 0, 0, 0.92) 68%,
    black 78%),
    linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 8%,
    black 18%,
    black 82%,
    rgba(0, 0, 0, 0.5) 92%,
    transparent 100%);
  mask-composite: intersect;
  filter: saturate(1.25) contrast(1.1) brightness(0.95);
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--bg-alt) 0%,
    rgba(18, 18, 26, 0.88) 14%,
    rgba(18, 18, 26, 0.5) 28%,
    rgba(18, 18, 26, 0.15) 42%,
    transparent 58%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .feature-visual { opacity: 0.35; }
}

@media (max-width: 640px) {
  .feature-visual { display: none; }
}

/* ---------- STREAM EMBED ---------- */
.stream-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.stream-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stream-embed-wrap iframe { width: 100%; height: 100%; border: none; }

.stream-side {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.stream-side .live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--danger);
}

.stream-side .live-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 92, 124, 0.2);
}

.stream-side h3 { font-size: 1.4rem; font-weight: 800; }
.stream-side p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- CARD GRIDS ---------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover { transform: translateY(-3px); border-color: var(--accent); }

.card .icon-badge {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.12);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- STREAMER CARDS ---------- */
.streamer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.streamer-card .embed {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}

.streamer-card .embed iframe { width: 100%; height: 100%; border: none; }

.streamer-card .info {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.streamer-card .info h3 { font-size: 1.02rem; font-weight: 700; }
.streamer-card .info .role { color: var(--text-dim); font-size: 0.78rem; margin-top: 2px; }

.streamer-card .visit {
  font-size: 0.8rem;
  font-weight: 700;
  color: #9147ff;
  border: 1px solid rgba(145, 71, 255, 0.4);
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.streamer-card .visit:hover { background: rgba(145, 71, 255, 0.12); }

/* ---------- TABLE ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table { width: 100%; border-collapse: collapse; min-width: 640px; }

thead th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  background: var(--bg-alt);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(124, 92, 255, 0.04); }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.badge-upcoming { background: rgba(0, 229, 199, 0.12); color: var(--accent-2); }
.badge-completed { background: rgba(154, 154, 176, 0.15); color: var(--text-dim); }
.badge-live { background: rgba(255, 92, 124, 0.15); color: var(--danger); }

/* ---------- TIMELINE / FORMAT STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-card);
}

.step .step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  color: #08080c;
}

.about-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 14px; }
.about-hero p { color: var(--text-dim); margin-bottom: 14px; }

.stat-row {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.stat-row .stat .num { font-size: 1.6rem; font-weight: 800; color: var(--accent-2); }
.stat-row .stat .lbl { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- TIER LIST PAGE ---------- */
.tier-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tier-tab {
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tier-tab:hover { border-color: var(--accent); color: var(--text); }

.tier-tab.active {
  background: var(--accent-gradient);
  color: #08080c;
  border-color: transparent;
}

.tier-row { margin-bottom: 30px; }

.tier-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tier-chip {
  font-weight: 900;
  font-size: 1.05rem;
  padding: 6px 18px;
  border-radius: 8px;
  min-width: 54px;
  text-align: center;
}

.tier-chip.tier-Sp { background: linear-gradient(135deg, #ff5c7c, #ffb15c); color: #08080c; }
.tier-chip.tier-S  { background: var(--accent-gradient); color: #08080c; }
.tier-chip.tier-A  { background: #3ddc84; color: #08080c; }
.tier-chip.tier-B  { background: #ffd166; color: #08080c; }
.tier-chip.tier-C  { background: #ff9f5c; color: #08080c; }
.tier-chip.tier-D  { background: #4a4a5a; color: #eef0f7; }

.tier-row-head .tier-desc { color: var(--text-dim); font-size: 0.85rem; }

.champ-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.champ-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 18px 8px 8px;
  transition: transform 0.15s ease, border-color 0.15s ease, flex-basis 0.15s ease;
}

.champ-card:hover { transform: translateY(-2px); border-color: var(--accent); }

.champ-card.has-build { cursor: pointer; }
.champ-card.has-build:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.champ-card.expanded {
  flex: 1 1 100%;
  transform: none;
  border-color: var(--accent);
  padding: 14px 20px;
}

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

.champ-card img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-alt);
}

.build-chevron {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--text-dim);
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.champ-card.expanded .build-chevron { transform: rotate(180deg); color: var(--accent-2); }

.champ-build-details {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.champ-card.expanded .champ-build-details { display: block; }

.build-row { margin-bottom: 12px; }
.build-row:last-child { margin-bottom: 0; }

.build-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.build-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.build-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px 5px 5px;
  font-size: 0.8rem;
  color: var(--text);
}

.build-item-pill:has(> :not(.build-item-icon):first-child) {
  padding-left: 11px;
}

.build-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--bg-card);
  flex-shrink: 0;
}

/* ---------- Rune page (inside champ build details) ---------- */
.rune-page {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.rune-col {
  min-width: 140px;
  flex: 1 1 160px;
}

.rune-col-shards { flex: 1 1 140px; }

.rune-tree-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.rune-minor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.rune-minor-row:last-child { margin-bottom: 0; }

.rune-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px 5px 5px;
  font-size: 0.78rem;
  color: var(--text);
}

.rune-pill:has(> :not(.rune-pill-icon):first-child) {
  padding-left: 11px;
}

.rune-pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card);
  flex-shrink: 0;
}

.rune-pill-keystone {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

.rune-pill-keystone .rune-pill-icon {
  width: 30px;
  height: 30px;
}

.rune-pill-shard .rune-pill-icon { border-radius: 4px; }

.champ-card .champ-name { font-weight: 700; font-size: 0.9rem; }
.champ-card .champ-wr { font-size: 0.75rem; color: var(--text-dim); margin-top: 1px; }

.patch-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 8px;
}
.patch-note a { color: var(--accent-2); font-weight: 600; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--accent-gradient);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  color: #08080c;
}

.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-bottom: 10px; }
.cta-banner p { opacity: 0.85; margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

.cta-banner .btn-primary {
  background: #08080c;
  color: #fff;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

footer .foot-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer .foot-links a:hover { color: var(--accent-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .stream-feature { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { max-width: 220px; margin: 0 auto; }

  .hero-visual { opacity: 0.3; }
  .hero-visual img {
    max-width: 100%;
    right: -12%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 75%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 75%, transparent 100%);
  }
  .hero-diamond { right: 6%; width: 220px; height: 220px; }
  .hero-inner { max-width: 100%; }
  .hero-champ-tag { display: none; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; transform: translateY(-150%); transition: transform 0.2s ease; max-height: 80vh; overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links .nav-cta { display: inline-flex; }
  .hero { min-height: 420px; text-align: center; }
  .hero-inner { text-align: center; margin: 0 auto; }
  .hero-actions, .countdown-strip { justify-content: center; }
}
