/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #0f1117;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: #7c6ff7; text-decoration: none; transition: color .2s; }
a:hover { color: #a89cff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1c25; }
::-webkit-scrollbar-thumb { background: #3a3d4e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555872; }

/* ===== Header ===== */
.site-header {
  background: #161822;
  border-bottom: 1px solid #2a2d3e;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo svg { width: 28px; height: 28px; }
.logo span { background: linear-gradient(135deg, #7c6ff7, #00d4aa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #b0b3c5;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(124,111,247,0.15);
}
.main-nav a.active { color: #7c6ff7; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(124,111,247,0.08) 0%, transparent 100%);
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.1rem;
  color: #8e91a4;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Hero Section (Full-width) ===== */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(124,111,247,0.06) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,111,247,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 720px;
  margin: 0 auto;
}
.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #7c6ff7;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.hero-description {
  font-size: 1.15rem;
  color: #b0b3c5;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.hero-subdescription {
  font-size: 0.95rem;
  color: #72748a;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c6ff7, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #72748a;
  margin-top: 0.25rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,111,247,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(124,111,247,0.45); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #e0e0e0;
  border: 1px solid #2a2d3e;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== Section ===== */
.section { padding: 3rem 0; }
.section-dark { background: #0c0d14; }
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-header-left h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.section-header-left h2 .accent {
  background: linear-gradient(135deg, #7c6ff7, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #7c6ff7, #00d4aa);
  border-radius: 2px;
  margin: 0.6rem 0;
}
.section-header-left p {
  font-size: 0.9rem;
  color: #8e91a4;
  margin-top: 0.25rem;
}
.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1.25rem;
  background: rgba(124,111,247,0.1);
  border: 1px solid rgba(124,111,247,0.3);
  border-radius: 8px;
  color: #7c6ff7;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all .25s;
  white-space: nowrap;
  flex-shrink: 0;
}
.view-more-btn:hover {
  background: rgba(124,111,247,0.2);
  border-color: #7c6ff7;
  color: #fff;
}

/* ========================================
   SPOTLIGHT CAROUSEL - Featured Layout
   ======================================== */
.spotlight {
  position: relative;
}
.spotlight a { color: inherit; text-decoration: none; }
.spotlight-stage {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1c28;
  border: 1px solid #2a2d3e;
}
.spotlight-slide {
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 0;
}
.spotlight-slide:first-child {
  position: relative;
}
.spotlight-slide:not(:first-child) {
  position: absolute;
  inset: 0;
}
.spotlight-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.spotlight-main {
  display: flex;
  flex-direction: row;
  min-height: 360px;
}
.spotlight-cover {
  width: 55%;
  position: relative;
  overflow: hidden;
  background: #252838;
}
.spotlight-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.spotlight-main:hover .spotlight-cover img { transform: scale(1.06); }
.spotlight-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(26,28,40,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}
.spotlight-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  pointer-events: none;
}
.spotlight-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 2;
}
.spotlight-main:hover .spotlight-play-overlay { opacity: 1; }
.spotlight-play-circle {
  width: 60px;
  height: 60px;
  background: rgba(0,212,170,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(0,212,170,0.4);
  transition: transform .3s;
}
.spotlight-main:hover .spotlight-play-circle { transform: scale(1.15); }
.spotlight-info {
  width: 45%;
  padding: 2rem 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spotlight-genre {
  font-size: 0.75rem;
  color: #7c6ff7;
  background: rgba(124,111,247,0.12);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  width: fit-content;
}
.spotlight-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.spotlight-desc {
  font-size: 0.88rem;
  color: #8e91a4;
  margin-bottom: 1.25rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spotlight-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.spotlight-rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #ffc107;
}
.spotlight-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #00d4aa, #00b894);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: all .25s;
}
.spotlight-play-btn:hover {
  box-shadow: 0 6px 20px rgba(0,212,170,0.35);
  transform: translateY(-2px);
}
/* Thumbs */
.spotlight-thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.25rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a3d50 transparent;
  -webkit-overflow-scrolling: touch;
}
.spotlight-thumbs::-webkit-scrollbar {
  height: 4px;
}
.spotlight-thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.spotlight-thumbs::-webkit-scrollbar-thumb {
  background: #3a3d50;
  border-radius: 2px;
}
.spotlight-thumb {
  flex: 0 0 auto;
  min-width: 160px;
  max-width: 200px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  background: #1a1c28;
  border: 2px solid #2a2d3e;
  border-radius: 12px;
  cursor: pointer;
  transition: all .3s;
  text-align: left;
}
.spotlight-thumb:hover { border-color: rgba(124,111,247,0.5); background: #1e2030; }
.spotlight-thumb.active {
  border-color: #7c6ff7;
  background: rgba(124,111,247,0.08);
  box-shadow: 0 4px 16px rgba(124,111,247,0.15);
}
.spotlight-thumb img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.spotlight-thumb-title {
  font-size: 0.78rem;
  color: #8e91a4;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-thumb.active .spotlight-thumb-title { color: #fff; }
/* Dots */
.spotlight-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}
.spotlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a2d3e;
  transition: all .3s;
  cursor: pointer;
}
.spotlight-dot.active {
  background: #7c6ff7;
  width: 24px;
  border-radius: 4px;
}

/* ========================================
   DUAL LANE - Horizontal Card Grid
   ======================================== */
.dual-lane {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.dual-lane a { color: inherit; text-decoration: none; }
.lane-card {
  background: linear-gradient(145deg, #1e2035, #1a1c28);
  border: 1px solid #2a2d3e;
  border-radius: 14px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
  display: flex;
  flex-direction: row;
}
.lane-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,111,247,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.lane-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,111,247,0.4);
  box-shadow: 0 8px 32px rgba(124,111,247,0.12), 0 0 0 1px rgba(124,111,247,0.06);
}
.lane-card:hover::before { opacity: 1; }
.lane-cover {
  position: relative;
  width: 140px;
  min-height: 130px;
  overflow: hidden;
  flex-shrink: 0;
  background: #252838;
}
.lane-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.lane-card:hover .lane-cover img { transform: scale(1.08); }
.lane-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
}
.lane-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lane-card:hover .lane-play-overlay { opacity: 1; }
.lane-play-circle {
  width: 40px;
  height: 40px;
  background: rgba(0,212,170,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,212,170,0.35);
  transition: transform .3s;
}
.lane-card:hover .lane-play-circle { transform: scale(1.12); }
.lane-body {
  flex: 1;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.lane-genre {
  font-size: 0.68rem;
  color: #7c6ff7;
  background: rgba(124,111,247,0.1);
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
  font-weight: 600;
  width: fit-content;
}
.lane-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lane-desc {
  font-size: 0.74rem;
  color: #8e91a4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.lane-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}
.lane-rating {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.72rem;
  color: #ffc107;
}
.lane-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: all .25s;
}
.lane-play-btn:hover {
  box-shadow: 0 4px 14px rgba(124,111,247,0.35);
  transform: translateY(-1px);
}

/* ========================================
   STADIUM ARENA - Champion Grid
   ======================================== */
.arena {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.arena a { color: inherit; text-decoration: none; }
.arena-champion {
  grid-column: 1 / -1;
}
.arena-card {
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.arena-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(124,111,247,0.15);
}
/* Champion card */
.arena-champion {
  display: flex;
  flex-direction: row;
  background: linear-gradient(135deg, #1a1c28 0%, #1e1a30 50%, #1a1c28 100%);
  border: 2px solid rgba(255,193,7,0.3);
}
.arena-champion:hover {
  border-color: #ffc107;
  box-shadow: 0 16px 48px rgba(255,193,7,0.15);
}
.arena-champion .arena-crown {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #1a1c28;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(255,193,7,0.3);
}
.arena-champion .arena-cover {
  width: 45%;
  height: auto;
  min-height: 260px;
}
.arena-champion .arena-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arena-champion .arena-info {
  width: 55%;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.arena-champion .arena-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.arena-champion .arena-play-btn {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}
/* Podium cards (2nd & 3rd) */
.arena-podium {
  border-top: 3px solid transparent;
}
.arena-podium:nth-child(2) { border-top-color: #b0b3c5; }
.arena-podium:nth-child(3) { border-top-color: #cd7f32; }
.arena-podium .arena-crown {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  z-index: 3;
}
.arena-podium:nth-child(2) .arena-crown {
  background: linear-gradient(135deg, #b0b3c5, #8e91a4);
  color: #1a1c28;
}
.arena-podium:nth-child(3) .arena-crown {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
  color: #fff;
}
/* Rank cards (4th+) */
.arena-rank .arena-crown {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #8e91a4;
  z-index: 3;
}
/* Shared arena styles */
.arena-cover {
  position: relative;
  overflow: hidden;
  background: #252838;
}
.arena-podium .arena-cover,
.arena-rank .arena-cover {
  height: 150px;
}
.arena-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.arena-card:hover .arena-cover img { transform: scale(1.06); }
.arena-info {
  padding: 0.85rem 1rem 1rem;
}
.arena-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arena-desc {
  font-size: 0.76rem;
  color: #8e91a4;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.arena-champion .arena-desc {
  font-size: 0.88rem;
  -webkit-line-clamp: 3;
  margin-bottom: 0.6rem;
}
.arena-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.arena-genre {
  font-size: 0.7rem;
  color: #7c6ff7;
  background: rgba(124,111,247,0.1);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-weight: 500;
}
.arena-rating {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.78rem;
  color: #ffc107;
}
.arena-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: all .3s;
}
.arena-card:hover .arena-play {
  opacity: 1;
  transform: scale(1);
}
.arena-play-btn {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00d4aa, #00b894);
  color: #fff;
  font-size: 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,212,170,0.35);
  transition: transform .25s;
}
.arena-play-btn:hover { transform: scale(1.12); }

/* ===== Tags Cloud ===== */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 2rem 0;
}
.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 50px;
  color: #b0b3c5;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .25s;
  text-decoration: none;
}
.tag-item:hover {
  background: rgba(124,111,247,0.15);
  border-color: #7c6ff7;
  color: #7c6ff7;
}
.tag-item .tag-count {
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #8e91a4;
}
.tag-item:hover .tag-count { background: rgba(124,111,247,0.2); color: #7c6ff7; }
.tag-item.size-lg {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}
.tag-item.active {
  background: rgba(124,111,247,0.2);
  border-color: #7c6ff7;
  color: #7c6ff7;
}

/* ===== Category Games Grid ===== */
.category-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.category-game-card {
  display: flex;
  flex-direction: row;
  background: linear-gradient(145deg, #1e2035, #1a1c28);
  border: 1px solid #2a2d3e;
  border-radius: 14px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.category-game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,111,247,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.category-game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,111,247,0.4);
  box-shadow: 0 8px 32px rgba(124,111,247,0.12), 0 0 0 1px rgba(124,111,247,0.06);
}
.category-game-card:hover::before { opacity: 1; }
.category-game-thumb {
  position: relative;
  width: 120px;
  min-height: 120px;
  overflow: hidden;
  flex-shrink: 0;
  background: #252838;
}
.category-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.category-game-card:hover .category-game-thumb img { transform: scale(1.08); }
.category-game-info {
  flex: 1;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.category-game-info h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-game-info p {
  font-size: 0.74rem;
  color: #8e91a4;
  margin: 0 0 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.category-game-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #ffc107;
  margin-bottom: 0.35rem;
}
/* ===== Game Detail Page ===== */
.gd-section { padding: 1rem 0 3rem; }
.gd-player-wrap { margin-bottom: 1.5rem; }
.gd-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.gd-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.gd-player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}
.gd-player-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.gd-play-btn {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform .3s;
}
.gd-play-btn:hover { transform: scale(1.08); }
.gd-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 6px 28px rgba(124,111,247,0.45);
  padding-left: 4px;
}
.gd-play-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gd-info { margin-bottom: 2rem; }
.gd-info-main { max-width: 100%; }
.gd-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.gd-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}
.gd-meta-rating { color: #ffc107; font-weight: 600; }
.gd-meta-sep { color: #3a3d4e; }
.gd-meta-category { color: #7c6ff7; font-weight: 500; }
.gd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.gd-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(124,111,247,0.1);
  border: 1px solid rgba(124,111,247,0.25);
  border-radius: 6px;
  font-size: 0.76rem;
  color: #a89cff;
  font-weight: 500;
  transition: all .2s;
  text-decoration: none;
}
.gd-tag:hover {
  background: rgba(124,111,247,0.2);
  border-color: #7c6ff7;
  color: #7c6ff7;
}

.gd-desc {
  background: linear-gradient(145deg, #1e2035, #1a1c28);
  border: 1px solid #2a2d3e;
  border-radius: 14px;
  padding: 1.5rem;
}
.gd-desc-heading {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}
.gd-desc-heading:first-child { margin-top: 0; }
.gd-desc p { color: #8e91a4; font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.gd-desc li { color: #8e91a4; }
.gd-desc-content { color: #8e91a4; font-size: 0.9rem; line-height: 1.7; }
.gd-desc-content p { margin-bottom: 0.75rem; }

.gd-related-block { margin-top: 2.5rem; }
.gd-related-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.gd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.gd-related-card {
  display: block;
  background: linear-gradient(145deg, #1e2035, #1a1c28);
  border: 1px solid #2a2d3e;
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  color: inherit;
}
.gd-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,111,247,0.4);
  box-shadow: 0 8px 28px rgba(124,111,247,0.12);
}
.gd-related-thumb {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
  background: #252838;
}
.gd-related-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gd-related-card:hover .gd-related-thumb img { transform: scale(1.08); }
.gd-related-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity .3s;
}
.gd-related-card:hover .gd-related-overlay { opacity: 1; }
.gd-related-overlay span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,111,247,0.9);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  padding-left: 2px;
}
.gd-related-info { padding: 0.7rem 0.8rem; }
.gd-related-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gd-related-cat {
  display: block;
  font-size: 0.7rem;
  color: #7c6ff7;
  margin-bottom: 0.2rem;
}
.gd-related-rating {
  display: block;
  font-size: 0.7rem;
  color: #ffc107;
}

/* ===== Games Grid (List Page) ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.game-card {
  background: linear-gradient(145deg, #1e2035, #1a1c28);
  border: 1px solid #2a2d3e;
  border-radius: 14px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,111,247,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 0;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,111,247,0.4);
  box-shadow: 0 8px 32px rgba(124,111,247,0.12), 0 0 0 1px rgba(124,111,247,0.06);
}
.game-card:hover::before { opacity: 1; }
.game-card > a {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}
.game-card-image {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
  background: #252838;
}
.game-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.game-card:hover .game-card-image img { transform: scale(1.08); }
.game-card-image .game-card-rating {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  color: #ffc107;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  z-index: 3;
}
.game-card-info {
  padding: 0.85rem 1rem 1rem;
}
.game-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-page-title {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.game-card-desc {
  font-size: 0.76rem;
  color: #8e91a4;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}
.game-card-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.game-card-plays {
  font-size: 0.72rem;
  color: #7c6ff7;
  font-weight: 500;
}
.game-card-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all .25s;
  text-decoration: none;
}
.game-card-play-btn:hover {
  box-shadow: 0 4px 14px rgba(124,111,247,0.35);
  transform: translateY(-1px);
}

.game-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
}
.new-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all .25s;
  width: fit-content;
}
.new-play-btn:hover {
  box-shadow: 0 4px 14px rgba(124,111,247,0.35);
  transform: translateY(-1px);
}
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0 1.5rem;
}
.pagination-container {
  width: 100%;
}
.pagination {
  display: flex;
  justify-content: center;
}
.pagination-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination-item {
  display: inline-flex;
}
.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.6rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid #2a2d3e;
  background: #1a1c28;
  color: #8e91a4;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  user-select: none;
}
.pagination-link:hover {
  border-color: #7c6ff7;
  color: #7c6ff7;
  background: rgba(124,111,247,0.08);
  transform: translateY(-1px);
}
.pagination-link.current,
.pagination-item.active .pagination-link {
  background: linear-gradient(135deg, #7c6ff7, #6355d6);
  border-color: transparent;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,111,247,0.3);
  cursor: default;
  transform: none;
}
.pagination-link.prev,
.pagination-link.next {
  font-size: 1.1rem;
  padding: 0 0.85rem;
  border-radius: 10px;
}
.pagination-link.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Filter Bar ===== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #2a2d3e;
  background: #1a1c28;
  color: #b0b3c5;
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(124,111,247,0.15);
  border-color: #7c6ff7;
  color: #7c6ff7;
}

/* ===== Page Header ===== */
.page-header {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, rgba(124,111,247,0.06) 0%, transparent 100%);
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-header p { font-size: 1rem; color: #8e91a4; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #8e91a4;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #7c6ff7; }
.breadcrumb span { color: #555; }

/* ===== Content Page ===== */
.content-page {
  padding: 3rem 0;
}
.content-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 1rem;
}
.content-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e0e0e0;
  margin: 1.5rem 0 0.75rem;
}
.content-page p {
  color: #b0b3c5;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.content-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.content-page ul li {
  color: #b0b3c5;
  margin-bottom: 0.5rem;
  list-style: disc;
  line-height: 1.7;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 680px;
  width: calc(100% - 3rem);
  background: rgba(26, 28, 40, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 111, 247, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(124, 111, 247, 0.1);
  animation: cookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes cookieFadeOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(20px); pointer-events: none; }
}
.cookie-consent-text {
  flex: 1;
  color: #b0b3c5;
  font-size: 0.9rem;
  line-height: 1.6;
}
.cookie-consent-text a {
  color: #7c6ff7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent-text a:hover {
  color: #9d93ff;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-consent-actions .btn-cookie {
  padding: 0.55rem 1.4rem;
  border-radius: 10px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.cookie-consent-actions .btn-cookie-accept {
  background: linear-gradient(135deg, #7c6ff7, #6358d4);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 111, 247, 0.35);
}
.cookie-consent-actions .btn-cookie-accept:hover {
  background: linear-gradient(135deg, #9d93ff, #7c6ff7);
  box-shadow: 0 4px 14px rgba(124, 111, 247, 0.5);
  transform: translateY(-1px);
}
.cookie-consent-actions .btn-cookie-decline {
  background: transparent;
  color: #8b8fa3;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-consent-actions .btn-cookie-decline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}
@media (max-width: 580px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1.25rem 1rem;
    bottom: 1rem;
    border-radius: 14px;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
  .cookie-consent-actions .btn-cookie {
    flex: 1;
    text-align: center;
  }
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 0.9rem;
  transition: border-color .2s;
  outline: none;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: #7c6ff7; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-info-card {
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.contact-info-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info-card p { font-size: 0.85rem; color: #8e91a4; line-height: 1.7; }
.contact-info-card a { color: #7c6ff7; }

/* ===== About Page ===== */
.about-hero {
  text-align: center;
  padding: 3rem 0;
}
.about-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.about-hero p {
  font-size: 1.05rem;
  color: #8e91a4;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}
.feature-card {
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  transition: all .3s;
}
.feature-card:hover {
  border-color: #7c6ff7;
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(124,111,247,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
}
.feature-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: #8e91a4; line-height: 1.6; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 2rem 0;
}
.stat-card {
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c6ff7, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.85rem; color: #8e91a4; margin-top: 0.25rem; }

/* ===== Footer ===== */
.site-footer {
  background: #161822;
  border-top: 1px solid #2a2d3e;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: #8e91a4; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #8e91a4;
  padding: 0.3rem 0;
  transition: color .2s;
}
.footer-col a:hover { color: #7c6ff7; }
.footer-bottom {
  border-top: 1px solid #2a2d3e;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #555;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e91a4;
  transition: all .2s;
}
.footer-social a:hover { border-color: #7c6ff7; color: #7c6ff7; }

/* ===== Search ===== */
.search-box {
  position: relative;
  max-width: 480px;
  margin: 0 auto 2rem;
}
.search-box input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  border-radius: 12px;
  color: #e0e0e0;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .2s;
}
.search-box input:focus { border-color: #7c6ff7; }
.search-box input::placeholder { color: #555; }
.search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}
.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .2s;
}
.pagination a {
  background: #1a1c28;
  border: 1px solid #2a2d3e;
  color: #b0b3c5;
}
.pagination a:hover { border-color: #7c6ff7; color: #7c6ff7; }
.pagination .active {
  background: #7c6ff7;
  color: #fff;
  border: 1px solid #7c6ff7;
  border-radius: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .arena { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #161822;
    border-bottom: 1px solid #2a2d3e;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 1rem; width: 100%; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.95rem; }
  /* Hero section responsive */
  .hero-section { padding: 3rem 0 2.5rem; }
  .hero-title { font-size: 1.75rem; }
  .hero-tagline { font-size: 0.85rem; }
  .hero-description { font-size: 1rem; }
  .hero-subdescription { font-size: 0.85rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-number { font-size: 1.5rem; }
  /* Spotlight responsive */
  .spotlight-main { flex-direction: column; min-height: auto; }
  .spotlight-cover { width: 100%; height: 220px; }
  .spotlight-info { width: 100%; padding: 1.25rem; }
  .spotlight-title { font-size: 1.2rem; }
  .spotlight-thumb { min-width: 130px; }
  /* Dual lane responsive */
  .dual-lane { grid-template-columns: 1fr; }
  .lane-cover { width: 110px; min-height: 100px; }
  /* Arena responsive */
  .arena { grid-template-columns: 1fr 1fr; }
  .arena-champion { flex-direction: column; }
  .arena-champion .arena-cover { width: 100%; min-height: 200px; }
  .arena-champion .arena-info { width: 100%; padding: 1.25rem; }
  .arena-champion .arena-title { font-size: 1.15rem; }
  .arena-podium .arena-cover, .arena-rank .arena-cover { height: 130px; }
  /* General */
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  /* Category games */
  .category-games-grid { grid-template-columns: 1fr 1fr; }
  .category-game-thumb { width: 100px; min-height: 90px; }
  .category-game-info p { -webkit-line-clamp: 1; }
  /* Games grid (list) */
  .games-grid { grid-template-columns: 1fr 1fr; }
  .game-card-desc { -webkit-line-clamp: 1; }
  /* Game detail */
  .gd-title { font-size: 1.35rem; }
  .gd-related-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 480px) {
  /* Spotlight */
  .spotlight-cover { height: 180px; }
  .spotlight-desc { display: none; }
  .spotlight-meta { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
  .spotlight-thumb { min-width: 100px; }
  .spotlight-thumb img { width: 36px; height: 36px; }
  .spotlight-thumb-title { font-size: 0.7rem; }
  /* Dual lane */
  .lane-cover { width: 90px; min-height: 80px; }
  .lane-desc { display: none; }
  /* Arena */
  .arena { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .arena-champion .arena-cover { min-height: 160px; }
  .arena-podium .arena-cover, .arena-rank .arena-cover { height: 110px; }
  .arena-title { font-size: 0.85rem; }
  .arena-genre { display: none; }
  .arena-desc { display: none; }
  .arena-champion .arena-desc { display: -webkit-box; }
  .arena-crown { width: 24px !important; height: 24px !important; font-size: 0.68rem !important; }
  .arena-champion .arena-crown { width: 36px !important; height: 36px !important; font-size: 1rem !important; }
  /* Category games */
  .category-games-grid { grid-template-columns: 1fr; }
  .category-game-thumb { width: 90px; min-height: 80px; }
  .category-game-info p { display: none; }
  /* Games grid (list) */
  .games-grid { grid-template-columns: 1fr; }
  .game-card-desc { display: none; }
  .game-card-plays { display: none; }
  /* Game detail */
  .gd-title { font-size: 1.15rem; }
  .gd-play-icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .gd-desc { padding: 1rem; }
  .gd-related-grid { grid-template-columns: 1fr 1fr; }
  .gd-related-name { font-size: 0.78rem; }
  /* General */
  .hero h1 { font-size: 1.4rem; }
  /* Hero section responsive */
  .hero-section { padding: 2rem 0 1.5rem; }
  .hero-title { font-size: 1.4rem; }
  .hero-description { font-size: 0.9rem; }
  .hero-subdescription { font-size: 0.8rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-number { font-size: 1.25rem; }
  .stat-label { font-size: 0.8rem; }
  .btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
  .section-header { flex-direction: column; gap: 0.75rem; }
  .view-more-btn { align-self: flex-start; }
}
