/* ============================================
   NEXUS GAMING — Global Styles
   Aesthetic: Dark Cyberpunk / Neon Industrial
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;600;700;800&display=swap");

/* ─── CSS Variables ─── */
:root {
  --bg-deep: #03050d;
  --bg-mid: #080d1a;
  --bg-card: #0d1525;
  --bg-card2: #111827;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --cyan-glow: rgba(0, 229, 255, 0.5);
  --orange: #ff5722;
  --orange-dim: rgba(255, 87, 34, 0.15);
  --orange-glow: rgba(255, 87, 34, 0.5);
  --purple: #7c3aed;
  --white: #f0f4ff;
  --grey: #8899bb;
  --border: rgba(0, 229, 255, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-condensed: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-mid);
}
::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 3px;
}

/* ─── Noise Texture Overlay ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ─── Grid Lines Background ─── */
.grid-bg {
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 5, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.scrolled {
  background: rgba(3, 5, 13, 0.98);
  border-bottom-color: rgba(0, 229, 255, 0.25);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span {
  color: var(--cyan);
}
.nav-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.6);
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
  padding: 8px 16px;
  border-radius: 4px;
  transition:
    color 0.2s,
    background 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--cyan);
}
.nav-cta {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-deep) !important;
  background: var(--cyan) !important;
  padding: 10px 24px !important;
  border-radius: 2px !important;
  transition:
    box-shadow 0.2s,
    transform 0.2s !important;
}
.nav-cta:hover {
  box-shadow: 0 0 20px var(--cyan-glow) !important;
  transform: translateY(-1px) !important;
  background: var(--cyan) !important;
  color: var(--bg-deep) !important;
}
.hamburger {
  background-color: var(--bg-deep);
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(3, 5, 13, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  padding: 12px 16px;
  border-radius: 4px;
  transition:
    color 0.2s,
    background 0.2s;
}
.mobile-menu a:hover {
  color: var(--cyan);
  background: var(--cyan-dim);
}
.mobile-menu.open {
  display: flex;
}

/* ─── PAGE WRAPPER ─── */
.page-wrapper {
  padding-top: 72px;
}

/* ─── HERO SECTION ─── */
.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 60% 50%,
      rgba(0, 229, 255, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 40% at 10% 80%,
      rgba(255, 87, 34, 0.05) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 50% at 90% 10%,
      rgba(124, 58, 237, 0.06) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
}
.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.2s;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--cyan);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: 2px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.35s;
}
.hero-title .line-accent {
  color: var(--cyan);
  display: block;
}
.hero-title .line-stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  color: transparent;
  display: block;
}
.hero-desc {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.5s;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.65s;
}
.btn-primary {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--cyan);
  padding: 16px 36px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  box-shadow:
    0 0 30px var(--cyan-glow),
    0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  color: var(--bg-deep);
}
.btn-outline {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 16px 36px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeInRight 0.8s ease forwards 0.5s;
}
.hero-card-stack {
  position: relative;
  padding: 20px;
}
.hero-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.hero-main-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.hero-card-img {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #0d2035 0%, #0a1628 40%, #0d0820 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-game-art {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.1),
    rgba(255, 87, 34, 0.08),
    rgba(124, 58, 237, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 80px;
  letter-spacing: 8px;
  color: rgba(0, 229, 255, 0.15);
  position: relative;
}
.hero-card-game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(0, 229, 255, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 87, 34, 0.15) 0%,
      transparent 50%
    );
}
.hero-floating-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  box-shadow: 0 0 20px var(--orange-glow);
}
.hero-card-body {
  padding: 20px 24px 24px;
}
.hero-card-body h3 {
  font-family: var(--font-condensed);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.hero-card-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero-card-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--grey);
}
.hero-card-stat .val {
  color: var(--cyan);
  font-weight: 600;
}
.hero-side-card {
  position: absolute;
  bottom: -10px;
  left: -30px;
  width: 220px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.hero-side-card h4 {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}
.mini-platform-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.mini-platform:hover {
  border-color: var(--border);
}
.mini-platform-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.mini-platform-name {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 600;
}
.mini-platform-score {
  margin-left: auto;
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
}

/* ─── STATS BAR ─── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-mid);
  padding: 0 48px;
}
.stats-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.stat-item:last-child {
  border-right: none;
}
.stat-item:hover {
  background: rgba(0, 229, 255, 0.03);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num .accent {
  color: var(--cyan);
}
.stat-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-full {
  padding: 100px 48px;
  position: relative;
}
.section-full .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 24px;
}
.section-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cyan);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: 1px;
}
.section-title .accent {
  color: var(--cyan);
}
.section-title .stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
  color: transparent;
}
.see-all {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: gap 0.2s;
}
.see-all:hover {
  gap: 14px;
}
.see-all svg {
  transition: transform 0.2s;
}
.see-all:hover svg {
  transform: translateX(4px);
}

/* ─── PLATFORM CARDS ─── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 229, 255, 0.05);
}
.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.platform-card:hover::before {
  transform: scaleX(1);
}
.platform-card-header {
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.platform-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
}
.platform-rank {
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}
.platform-card-body {
  padding: 0 28px 24px;
}
.platform-name {
  font-family: var(--font-condensed);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.platform-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 20px;
}
.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.tag {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--grey);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tag.cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.2);
}
.tag.orange {
  background: var(--orange-dim);
  color: var(--orange);
  border-color: rgba(255, 87, 34, 0.2);
}
.platform-score {
  display: flex;
  align-items: center;
  gap: 8px;
}
.score-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  transition: width 1s ease;
}
.score-val {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}

/* ─── GAME CARDS ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 229, 255, 0.06);
}
.game-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.game-thumb-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}
.game-thumb-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-card) 0%, transparent 60%);
}
.game-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}
.badge-hot {
  background: var(--orange);
}
.badge-new {
  background: var(--cyan);
  color: var(--bg-deep);
}
.badge-top {
  background: var(--purple);
}
.game-body {
  padding: 16px 18px 20px;
}
.game-genre {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.game-title {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #ffd700;
}
.game-players {
  font-size: 12px;
  color: var(--grey);
}

/* ─── TRENDING / CHALLENGES ─── */
.trending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trending-featured {
  grid-row: span 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.trending-featured:hover {
  box-shadow:
    0 0 60px rgba(0, 229, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.4);
}
.trending-feat-img {
  height: 340px;
  position: relative;
  overflow: hidden;
}
.trending-feat-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}
.trending-feat-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    var(--bg-card) 0%,
    rgba(13, 21, 37, 0.3) 100%
  );
}
.trending-feat-body {
  padding: 28px;
}
.trending-challenge-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(255, 87, 34, 0.2);
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.trending-feat-body h3 {
  font-family: var(--font-condensed);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.trending-feat-body p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}
.trending-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  cursor: pointer;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.trending-mini:hover {
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateX(4px);
}
.trending-mini-num {
  font-family: var(--font-display);
  font-size: 40px;
  color: rgba(0, 229, 255, 0.2);
  line-height: 1;
  min-width: 50px;
}
.trending-mini-content h4 {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.trending-mini-content p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}
.trending-mini-tag {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #040b1a 0%, #081022 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 80% 50%,
      rgba(0, 229, 255, 0.05) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 20% 50%,
      rgba(255, 87, 34, 0.04) 0%,
      transparent 60%
    );
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.cta-banner h2 span {
  color: var(--cyan);
}
.cta-banner p {
  font-size: 17px;
  color: var(--grey);
  max-width: 520px;
}
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  align-items: center;
}

/* ─── REVIEW CARDS ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.2);
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(0, 229, 255, 0.08);
  line-height: 1;
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #ffd700;
}
.review-text {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
}
.review-game {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.reviewer-name {
  font-size: 14px;
  font-weight: 600;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--grey);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--cyan);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--grey);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--grey);
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--cyan);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 100% at 90% 50%,
      rgba(0, 229, 255, 0.05) 0%,
      transparent 60%
    ),
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size:
    auto,
    60px 60px,
    60px 60px;
}
.breadcrumb {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--cyan);
}
.breadcrumb span {
  color: var(--grey);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.page-hero h1 .accent {
  color: var(--cyan);
}
.page-hero p {
  font-size: 18px;
  color: var(--grey);
  max-width: 600px;
  line-height: 1.6;
}

/* ─── FILTER BAR ─── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--white);
}
.filter-btn.active {
  background: var(--cyan-dim);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--cyan);
}

/* ─── GUIDE CARDS ─── */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  gap: 0;
  transition:
    transform 0.3s,
    border-color 0.3s;
  cursor: pointer;
}
.guide-card:hover {
  transform: translateX(6px);
  border-color: rgba(0, 229, 255, 0.25);
}
.guide-card-aside {
  width: 8px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  flex-shrink: 0;
}
.guide-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.guide-card-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: rgba(0, 229, 255, 0.2);
  line-height: 1;
  min-width: 50px;
}
.guide-card-content {
  flex: 1;
}
.guide-card-type {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.guide-card-content h3 {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.guide-card-content p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}
.guide-card-arrow {
  color: var(--grey);
  font-size: 20px;
  margin-left: auto;
  align-self: center;
  transition:
    color 0.2s,
    transform 0.2s;
}
.guide-card:hover .guide-card-arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

/* ─── CONTACT FORM ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 0.95;
}
.contact-info h2 span {
  color: var(--cyan);
}
.contact-info p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item-text h4 {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-item-text p {
  font-size: 14px;
  color: var(--grey);
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
}
.form-input,
.form-textarea,
.form-select {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}
.form-select {
  appearance: none;
}

/* ─── PRIVACY PAGE ─── */
.prose-content {
  max-width: 800px;
  margin: 0 auto;
}
.prose-content h2 {
  font-family: var(--font-condensed);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 48px 0 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.prose-content h2::before {
  content: "";
  width: 4px;
  height: 24px;
  background: var(--cyan);
  border-radius: 2px;
  flex-shrink: 0;
}
.prose-content p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prose-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.prose-content ul li {
  font-size: 16px;
  color: var(--grey);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.prose-content ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ─── SEARCH BAR ─── */
.search-wrap {
  position: relative;
  max-width: 480px;
}
.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 50px 14px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus {
  border-color: rgba(0, 229, 255, 0.4);
}
.search-input::placeholder {
  color: var(--grey);
}
.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
  font-size: 18px;
  cursor: pointer;
}

/* ─── PAGINATION ─── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--grey);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover {
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}
.page-btn.active {
  background: var(--cyan);
  color: var(--bg-deep);
  border-color: var(--cyan);
}

/* ─── GAME ART COLORS ─── */
.art-1 {
  background: linear-gradient(135deg, #0d1a2e, #1a0d2e);
}
.art-2 {
  background: linear-gradient(135deg, #1a0d0d, #2e1a0d);
}
.art-3 {
  background: linear-gradient(135deg, #0d1a0d, #0d2e1a);
}
.art-4 {
  background: linear-gradient(135deg, #1a1a0d, #2e2e0d);
}
.art-5 {
  background: linear-gradient(135deg, #0d2e2e, #0d1a2e);
}
.art-6 {
  background: linear-gradient(135deg, #2e0d2e, #1a0d1a);
}
.art-7 {
  background: linear-gradient(135deg, #2e1a0d, #1a0d0d);
}
.art-8 {
  background: linear-gradient(135deg, #0d2e1a, #0d1a2e);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-visual {
    display: none;
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .section,
  .section-full {
    padding: 64px 24px;
  }
  .page-hero {
    padding: 60px 24px 40px;
  }
  .stats-bar {
    padding: 0 24px;
  }
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .trending-grid {
    grid-template-columns: 1fr;
  }
  .trending-featured {
    grid-row: auto;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-inner {
    grid-template-columns: 1fr;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-content {
    padding: 60px 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 48px 24px 24px;
  }
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--cyan);
  color: var(--bg-deep);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  z-index: 100;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  box-shadow: 0 0 20px var(--cyan-glow);
}
