/* ═══════════════════════════════════════════════════════════
   SPECTRA — Neon Arcade Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  --crt-black: #0A0A0A;
  --crt-scan: #1A1A2E;
  --neon-green: #39FF14;
  --pixel-pink: #FF6EC7;
  --electric-blue: #00BFFF;
  --dark-surface: #111118;
  --dark-card: #16161F;
  --dark-border: #2A2A3A;
  --text-primary: #E8E8F0;
  --text-secondary: #8888A0;
  --text-muted: #555570;
  --font-display: 'Press Start 2P', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-neon-green: 0 0 20px rgba(57, 255, 20, 0.3), 0 0 60px rgba(57, 255, 20, 0.1);
  --shadow-neon-pink: 0 0 20px rgba(255, 110, 199, 0.3), 0 0 60px rgba(255, 110, 199, 0.1);
  --shadow-neon-blue: 0 0 20px rgba(0, 191, 255, 0.3), 0 0 60px rgba(0, 191, 255, 0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--crt-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Scanlines Overlay ─── */
#scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--pixel-pink); }

/* ─── Container ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.logo-glow {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green), 0 0 30px rgba(57, 255, 20, 0.5);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--dark-card);
}

.nav-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-neon {
  background: var(--neon-green);
  color: var(--crt-black);
  box-shadow: var(--shadow-neon-green);
}

.btn-neon:hover {
  background: #45ff2a;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.5), 0 0 80px rgba(57, 255, 20, 0.2);
  color: var(--crt-black);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--dark-border);
}

.btn-ghost:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.05);
}

.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-full { width: 100%; }

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--neon-green);
  padding: 8px 20px;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 100px;
  margin-bottom: 32px;
  background: rgba(57, 255, 20, 0.05);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-line-accent {
  background: linear-gradient(135deg, var(--neon-green), var(--electric-blue), var(--pixel-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ─── Sections ─── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--pixel-pink);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.accent-green { color: var(--neon-green); }
.accent-pink { color: var(--pixel-pink); }
.accent-blue { color: var(--electric-blue); }

/* ─── Game Cards ─── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  border-color: var(--neon-green);
  box-shadow: var(--shadow-neon-green);
  transform: translateY(-4px);
}

.game-cover {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.game-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
}

.game-info {
  padding: 16px;
}

.game-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.game-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.game-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 100px;
  font-size: 11px;
  color: var(--neon-green);
  font-weight: 500;
}

/* ─── Skeleton Loading ─── */
.skeleton-card .skeleton-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(90deg, var(--dark-card) 25%, var(--dark-surface) 50%, var(--dark-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-card .skeleton-info {
  padding: 16px;
}

.skeleton-line {
  height: 14px;
  background: var(--dark-surface);
  border-radius: 4px;
  margin-bottom: 8px;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.short { width: 60%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Spotlight Section ─── */
.section-spotlight {
  background: var(--dark-surface);
}

.spotlight-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.spotlight-intro {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.spotlight-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.spotlight-feature h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.spotlight-feature p {
  font-size: 13px;
  color: var(--text-secondary);
}

.spotlight-showcase {
  position: relative;
}

.spotlight-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.spotlight-card:hover {
  border-color: var(--pixel-pink);
  box-shadow: var(--shadow-neon-pink);
}

.spotlight-card-image {
  aspect-ratio: 16 / 10;
  position: relative;
}

.spotlight-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--pixel-pink);
  border-radius: 100px;
  font-size: 10px;
  color: var(--pixel-pink);
  font-weight: 600;
  letter-spacing: 1px;
}

.spotlight-card-info {
  padding: 20px;
}

.spotlight-card-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.spotlight-card-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ─── Jam Cards ─── */
.jam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.jam-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}

.jam-card:hover {
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-neon-blue);
}

.jam-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.jam-status {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.jam-status-active { background: rgba(57, 255, 20, 0.15); color: var(--neon-green); border: 1px solid rgba(57, 255, 20, 0.3); }
.jam-status-upcoming { background: rgba(0, 191, 255, 0.15); color: var(--electric-blue); border: 1px solid rgba(0, 191, 255, 0.3); }
.jam-status-judging { background: rgba(255, 110, 199, 0.15); color: var(--pixel-pink); border: 1px solid rgba(255, 110, 199, 0.3); }
.jam-status-completed { background: var(--dark-surface); color: var(--text-muted); border: 1px solid var(--dark-border); }

.jam-deadline {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.jam-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.jam-theme {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--electric-blue);
  margin-bottom: 12px;
}

.jam-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.jam-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* ─── Community Section ─── */
.section-community {
  background: var(--dark-surface);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.community-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.community-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-4px);
}

.community-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.community-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.community-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ─── CTA Section ─── */
.section-cta {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--dark-card), var(--dark-surface));
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(57, 255, 20, 0.03), transparent, rgba(255, 110, 199, 0.03), transparent);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  margin-bottom: 12px;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── Page Headers ─── */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
}

.page-header-spotlight {
  background: linear-gradient(180deg, var(--dark-surface) 0%, var(--crt-black) 100%);
}

.page-header-jams {
  background: linear-gradient(180deg, rgba(0, 191, 255, 0.05) 0%, var(--crt-black) 100%);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 42px);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Filters ─── */
.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

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

.filter-tag {
  padding: 6px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.filter-tag:hover, .filter-tag.active {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.05);
}

.sort-select {
  padding: 8px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ─── Pagination ─── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.page-current {
  padding: 8px 14px;
  background: var(--neon-green);
  color: var(--crt-black);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
}

.page-link {
  padding: 8px 14px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: all var(--transition);
}

.page-link:hover {
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.05);
}

/* ─── Game Detail Page ─── */
.game-hero {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
}

.game-hero-bg {
  position: absolute;
  inset: 0;
  filter: blur(80px);
  opacity: 0.3;
}

.game-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-hero-info .game-tags {
  margin-bottom: 16px;
}

.game-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  margin-bottom: 8px;
}

.game-developer {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.game-developer a {
  color: var(--electric-blue);
}

.game-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.game-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.game-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.game-hero-media {
  position: relative;
}

.game-cover {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dark-border);
}

/* ─── Game Content Grid ─── */
.game-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.game-main {
  min-width: 0;
}

.game-section {
  margin-bottom: 48px;
}

.game-section h2 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 20px;
}

.video-embed {
  aspect-ratio: 16 / 9;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.video-placeholder:hover {
  background: var(--dark-surface);
}

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--neon-green);
  color: var(--crt-black);
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-neon-green);
  transition: all var(--transition);
}

.play-button:hover {
  transform: scale(1.1);
}

.video-placeholder p {
  color: var(--text-muted);
  font-size: 13px;
}

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

.screenshot {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--dark-border);
}

.screenshot:hover {
  border-color: var(--neon-green);
  transform: scale(1.02);
}

.game-about {
  color: var(--text-secondary);
  line-height: 1.8;
}

.game-about p {
  margin-bottom: 16px;
}

.game-about h3 {
  color: var(--text-primary);
  margin: 24px 0 12px;
  font-size: 16px;
}

.game-about ul {
  list-style: none;
  padding: 0;
}

.game-about li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.game-about li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--neon-green);
}

/* ─── Reviews ─── */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.review-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-header strong {
  font-size: 14px;
}

.review-rating {
  font-size: 12px;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.review-date {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.review-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.review-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.review-form {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.review-form h3 {
  margin-bottom: 16px;
}

.rating-input {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.star-rating {
  display: flex;
  gap: 4px;
}

.star {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  padding: 0;
  font-family: inherit;
}

.star:hover, .star.active {
  color: var(--neon-green);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 12px;
  transition: border-color var(--transition);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--neon-green);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* ─── Sidebar ─── */
.game-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sidebar-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 13px;
}

.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--text-muted); }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-game-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.mini-game-cover {
  width: 48px;
  height: 32px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.mini-game div {
  flex: 1;
  min-width: 0;
}

.mini-game strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-game span {
  font-size: 12px;
  color: var(--neon-green);
}

/* ─── Spotlight Page ─── */
.spotlight-featured {
  margin-bottom: 60px;
}

.spotlight-featured-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.spotlight-featured-image {
  aspect-ratio: 1;
  position: relative;
}

.spotlight-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(10, 10, 10, 0.5));
}

.spotlight-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-featured-content h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.spotlight-featured-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ─── Jam Page ─── */
.page-header-jam {
  background: linear-gradient(180deg, rgba(0, 191, 255, 0.08) 0%, var(--crt-black) 100%);
  text-align: left;
}

.jam-header-content {
  max-width: 800px;
}

.jam-theme-large {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--electric-blue);
  margin-top: 8px;
  margin-bottom: 16px;
}

.jam-header-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 20px 0;
  flex-wrap: wrap;
}

.jam-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jam-rules {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
}

.jam-rules h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.jam-rules ul {
  list-style: none;
  padding: 0;
}

.jam-rules li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
}

.jam-rules li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--electric-blue);
}

.jam-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.jam-tab {
  padding: 8px 20px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.jam-tab:hover, .jam-tab.active {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  background: rgba(0, 191, 255, 0.05);
}

.jam-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jam-card-full {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.jam-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.jam-entries-preview {
  display: flex;
  gap: 6px;
}

.jam-entry-thumb {
  width: 48px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
}

.jam-entry-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
  background: var(--dark-surface);
}

.jam-entry-empty {
  background: var(--dark-surface);
}

/* ─── Profile Page ─── */
.profile-hero {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
}

.profile-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.05) 0%, var(--crt-black) 100%);
}

.profile-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--crt-black);
  border: 3px solid var(--neon-green);
  box-shadow: var(--shadow-neon-green);
  flex-shrink: 0;
}

.profile-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.badge-developer {
  background: rgba(57, 255, 20, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.badge-verified {
  background: rgba(0, 191, 255, 0.15);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 191, 255, 0.3);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 4px;
}

.profile-handle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.profile-bio {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 600px;
}

.profile-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.profile-link {
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-link:hover {
  color: var(--neon-green);
}

.profile-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.profile-stat {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-stat strong {
  display: block;
  font-size: 18px;
  color: var(--text-primary);
}

.profile-actions {
  display: flex;
  gap: 8px;
}

.profile-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 16px;
}

.profile-tab {
  padding: 8px 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-family: var(--font-body);
}

.profile-tab:hover, .profile-tab.active {
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.05);
}

/* ─── Auth Page ─── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  position: relative;
}

.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo a {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 20px;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.role-option input {
  display: none;
}

.role-card {
  padding: 16px;
  background: var(--dark-surface);
  border: 2px solid var(--dark-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.role-option input:checked + .role-card {
  border-color: var(--neon-green);
  background: rgba(57, 255, 20, 0.05);
}

.role-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}

.role-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.role-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  cursor: pointer;
}

.forgot-link {
  color: var(--electric-blue);
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--dark-border);
}

.auth-divider span {
  background: var(--dark-card);
  padding: 0 16px;
  position: relative;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-social {
  margin-bottom: 24px;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--neon-green);
  font-weight: 600;
}

/* ─── Dashboard ─── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: 64px;
}

.dashboard-sidebar {
  background: var(--dark-surface);
  border-right: 1px solid var(--dark-border);
  padding: 24px;
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  width: 260px;
  overflow-y: auto;
}

.sidebar-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 24px;
}

.sidebar-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--crt-black);
  margin-bottom: 12px;
}

.sidebar-user strong {
  font-size: 14px;
}

.sidebar-user span {
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
}

.sidebar-link:hover, .sidebar-link.active {
  background: rgba(57, 255, 20, 0.05);
  color: var(--neon-green);
}

.dashboard-main {
  margin-left: 260px;
  padding: 32px;
  max-width: 1000px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: 24px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.dash-stat {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.dash-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--neon-green);
}

.dash-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dashboard-section {
  margin-bottom: 40px;
}

.dashboard-section h2 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.dash-game-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-game-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.dash-game-cover {
  width: 80px;
  height: 48px;
  border-radius: var(--radius-sm);
}

.dash-game-info strong {
  display: block;
  font-size: 14px;
}

.dash-game-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.status-published { background: rgba(57, 255, 20, 0.15); color: var(--neon-green); }
.status-draft { background: rgba(255, 110, 199, 0.15); color: var(--pixel-pink); }

.dash-game-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.dash-game-actions {
  display: flex;
  gap: 6px;
}

.dash-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-review {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.dash-review p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ─── Footer ─── */
.footer {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 0;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  font-family: var(--font-body);
}

.footer-links h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--neon-green);
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Card Link ─── */
.card-link {
  font-size: 13px;
  font-weight: 600;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .spotlight-layout { grid-template-columns: 1fr; gap: 40px; }
  .game-hero-content { grid-template-columns: 1fr; }
  .game-content-grid { grid-template-columns: 1fr; }
  .game-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .spotlight-featured-card { grid-template-columns: 1fr; }
  .spotlight-featured-image { aspect-ratio: 16 / 9; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { margin-left: 0; }
  .jam-card-full { grid-template-columns: 1fr; }
  .jam-card-right { align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 18px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-sidebar { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-game-item { grid-template-columns: 60px 1fr; }
  .dash-game-stats, .dash-game-actions { display: none; }
  .profile-header { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar { margin: 0 auto; }
  .profile-stats { justify-content: center; }
  .profile-actions { justify-content: center; }
  .profile-links { justify-content: center; }
  .filters-bar { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .role-selector { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}