/* ═══════════════════════════════════════════════════════════════
   OBSIDYEN ÇEVIRI — Premium Cinematic Design
   Tasarım: Altın/Bronz Paladyum Tonları — Lüks Film Afişi Estetiği
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─── */
:root {
  /* Ana Palet — Koyu Sinematik + Altın/Bronz Vurgular */
  --bg-void: #08080a;
  --bg-base: #0e0e11;
  --bg-surface: #151518;
  --bg-card: #1a1a1f;
  --bg-elevated: #222228;
  --bg-input: #0a0a0d;

  /* Altın Paleti — Lüks Film Afişi */
  --gold-1: #c9a84c;
  --gold-2: #dbb96a;
  --gold-3: #e8cc8a;
  --gold-4: #f5dca0;
  --gold-pale: #faf3e0;

  /* Amber/Warm vurgular */
  --amber: #d4891a;
  --amber-light: #e8a84c;
  --bronze: #b8860b;
  --copper: #cd7f32;

  /* Gradient Kombinasyonları */
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e8cc8a 50%, #c9a84c 100%);
  --warm-gradient: linear-gradient(135deg, #d4891a 0%, #e8cc8a 100%);
  --dark-warm-gradient: linear-gradient(180deg, rgba(201,168,76,0.08) 0%, rgba(8,8,10,0) 100%);

  /* Metin Renkleri */
  --text-1: #f5f0e8;
  --text-2: #a8a090;
  --text-3: #5c584f;

  /* Sınır & Overlay */
  --border: rgba(201, 168, 76, 0.08);
  --border-hover: rgba(201, 168, 76, 0.2);
  --border-accent: rgba(201, 168, 76, 0.3);
  --gold-glow: rgba(201, 168, 76, 0.12);
  --gold-glow-strong: rgba(201, 168, 76, 0.25);

  /* Durum Renkleri */
  --success: #6abf8a;
  --dev: #e8cc8a;
  --wait: #6b7280;
  --danger: #e07070;

  /* Tipografi */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;
  --font-accent: 'Bebas Neue', Impact, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Boyut & Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-pill: 9999px;

  /* Gölgeler */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.7);
  --shadow-xl: 0 35px 80px rgba(0,0,0,0.8);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.15);
  --shadow-gold-strong: 0 12px 48px rgba(201,168,76,0.25);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.04);

  /* Animasyon */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Container */
  --container: 1300px;
  --container-wide: 1440px;
  --container-narrow: 780px;
}

/* ─── 2. RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-void);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; transition: color 0.25s; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; outline: none; }

::selection { background: rgba(201, 168, 76, 0.25); color: var(--gold-pale); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.25); }

/* ─── 3. AMBIENT BACKGROUND ─── */
.bg-ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(201,168,76,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 80% 110%, rgba(212,137,26,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(201,168,76,0.03) 0%, transparent 50%);
}

.bg-texture {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.025;
  background-image:
    linear-gradient(rgba(201,168,76,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ─── 4. TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-1) 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold { color: var(--gold-2); }

/* ─── 5. LAYOUT ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

/* ─── 6. NAVBAR ─── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0;
  transition: all 0.5s var(--ease);
}

.nav.scrolled .nav-inner {
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  transition: all 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

/* Logo */
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 24px; color: var(--text-1);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-brand-icon {
  width: 46px; height: 46px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  color: var(--bg-void);
  box-shadow: var(--shadow-gold), var(--shadow-inset);
  transition: all 0.35s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.nav-brand-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  border-radius: inherit;
}

.nav-brand:hover .nav-brand-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-gold-strong);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gold-pale);
}

/* Nav Links — Pill Style */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}

.nav-link {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--gold-3);
  background: rgba(201,168,76,0.06);
}

.nav-link.active {
  color: var(--gold-2);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.15);
  font-weight: 600;
}

.nav-link.active::after {
  display: none;
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-icon-btn {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: grid; place-items: center;
  transition: all 0.25s var(--ease);
}

.nav-icon-btn:hover {
  color: var(--gold-2);
  background: rgba(201,168,76,0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.nav-icon-btn svg { width: 18px; height: 18px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: all 0.25s;
}

.nav-hamburger span {
  width: 18px; height: 1.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
  background: var(--gold-2);
}
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
  background: var(--gold-2);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(8, 8, 10, 0.97);
  backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  color: var(--text-2);
  padding: 14px 40px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--gold-2);
  background: rgba(201,168,76,0.08);
  transform: scale(1.03);
}

/* ─── 7. HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

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

.hero-bg-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero-bg-slide.active { opacity: 1; }

.hero-bg-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s linear;
}

.hero-bg-slide.active img { transform: scale(1); }

.hero-bg-slide::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,0.95) 0%, rgba(8,8,10,0.6) 40%, rgba(8,8,10,0.1) 70%),
    linear-gradient(180deg, rgba(8,8,10,0.4) 0%, rgba(8,8,10,0.2) 40%, var(--bg-void) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto; padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  padding-bottom: 80px;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-2);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroReveal 0.8s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold-2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s var(--ease-out) 0.4s forwards;
}

.hero-description {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s var(--ease-out) 0.8s forwards;
}

/* Hero Poster Preview */
.hero-poster-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateX(30px);
  animation: heroRevealRight 1s var(--ease-out) 0.6s forwards;
}

.hero-poster-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-3);
}

.hero-poster-preview {
  width: 200px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.5s var(--ease);
}

.hero-poster-preview:hover { transform: scale(1.03) rotate(-1deg); }

.hero-poster-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
}

.hero-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
}

.hero-nav-btn:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--border-hover);
  color: var(--gold-2);
  transform: scale(1.08);
}

.hero-nav-btn svg { width: 18px; height: 18px; }

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.hero-dot.active {
  width: 28px;
  border-radius: 3px;
  background: var(--gold-2);
}

/* ─── 8. BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-void);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-strong);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-lg { padding: 18px 40px; font-size: 16px; border-radius: var(--radius-lg); }

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-1);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--gold-pale);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 12px 20px;
}

.btn-ghost:hover { color: var(--gold-2); background: rgba(201,168,76,0.06); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold-2);
  border: 1px solid rgba(201,168,76,0.3);
}

.btn-outline-gold:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold-2);
  transform: translateY(-2px);
}

/* ─── 9. SECTION HEADER ─── */
.section-header {
  text-align: center;
  padding: 72px 0 48px;
}

.section-header h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header .text-gradient { font-weight: 700; }

/* ─── 10. FILTER BAR ─── */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 40px;
  box-shadow: var(--shadow-inset);
}

.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }

.filter-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.01em;
}

.filter-pill:hover {
  color: var(--gold-3);
  background: rgba(201,168,76,0.05);
}

.filter-pill.active {
  color: var(--gold-2);
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.2);
}

.search-box {
  position: relative;
  min-width: 300px;
}

.search-box input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-1);
  font-size: 14px;
  transition: all 0.25s var(--ease);
}

.search-box input:focus {
  border-color: var(--border-accent);
  background: rgba(201,168,76,0.03);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.search-box input::placeholder { color: var(--text-3); }

.search-box svg {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  color: var(--text-3);
  pointer-events: none;
  transition: color 0.25s;
}

.search-box:focus-within svg { color: var(--gold-2); }

/* ─── 11. GAME GRID & CARDS ─── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 32px 24px;
}

.game-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s var(--ease);
}

.game-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.game-card:hover .game-card-img {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(201,168,76,0.06);
  transform: translateY(-10px);
}

.game-card:hover .game-card-img img { transform: scale(1.07); }

.game-card:hover .game-card-img::after { opacity: 1; }

.game-card:hover .game-card-overlay { opacity: 1; }
.game-card:hover .game-card-overlay .btn { transform: translateY(0); }

.game-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: all 0.45s var(--ease);
}

.game-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.game-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8,8,10,0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.game-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.game-card:hover .game-card-img::before { opacity: 1; }

/* Card Badge */
.game-card-badge {
  position: absolute;
  top: 12px; left: 12px; z-index: 3;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-card-badge.completed {
  background: rgba(106, 191, 138, 0.15);
  color: var(--success);
  border: 1px solid rgba(106, 191, 138, 0.2);
}

.game-card-badge.dev {
  background: rgba(201,168,76,0.15);
  color: var(--gold-2);
  border: 1px solid rgba(201,168,76,0.25);
}

.game-card-badge.wait {
  background: rgba(107, 114, 128, 0.1);
  color: var(--wait);
  border: 1px solid rgba(107, 114, 128, 0.15);
}

/* Card Overlay */
.game-card-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px; opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.game-card-overlay .btn {
  background: rgba(201,168,76,0.85);
  color: var(--bg-void);
  font-size: 13px; font-weight: 700;
  padding: 10px 24px;
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
}

/* Card Info */
.game-card-info { padding: 14px 4px 0; }

.game-card-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.game-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-card-status {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-card-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-2);
}

.game-card-stat svg { width: 13px; height: 13px; }

/* ─── 12. FORUM / TOPIC CARDS ─── */
.topic-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.topic-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.topic-card:hover::before { opacity: 1; }

.topic-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.12);
  display: grid; place-items: center;
  color: var(--gold-2);
  flex-shrink: 0;
}

.topic-card-icon svg { width: 20px; height: 20px; }

.topic-card-body { flex: 1; min-width: 0; }

.topic-card-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-card-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--text-2);
}

.topic-card-meta .author { color: var(--gold-3); font-weight: 500; }

.topic-card-side {
  display: flex; flex-direction: column; align-items: center;
  min-width: 52px; gap: 4px;
}

.topic-card-replies {
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 600;
  color: var(--text-1);
}

.topic-card-replies-label {
  font-size: 10px; color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── 13. REQUEST CARDS ─── */
.request-card {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.request-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.vote-box {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 52px;
}

.vote-btn {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  color: var(--text-3);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
}

.vote-btn:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
  background: rgba(201,168,76,0.08);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.12);
}

.vote-btn.voted {
  background: var(--gold-gradient);
  color: var(--bg-void);
  border-color: transparent;
  cursor: default;
  transform: none;
}

.vote-btn svg { width: 18px; height: 18px; }

.vote-count {
  font-family: var(--font-mono);
  font-size: 15px; font-weight: 700;
  color: var(--text-1);
}

.request-info { flex: 1; min-width: 0; }

.request-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  margin-bottom: 6px;
}

.request-meta {
  display: flex; gap: 12px;
  font-size: 13px; color: var(--text-2);
  flex-wrap: wrap;
}

.request-meta svg { width: 13px; height: 13px; opacity: 0.5; }

.request-status {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid;
  white-space: nowrap;
}

/* ─── 14. FORMS ─── */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-inset);
}

.form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

.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-size: 11px; font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.form-input {
  width: 100%; padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1); font-size: 14px;
  outline: none;
  transition: all 0.25s var(--ease);
}

.form-input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: rgba(201,168,76,0.02);
}

.form-input::placeholder { color: var(--text-3); }

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235c584f' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* ─── 15. BADGES ─── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success { background: rgba(106,191,138,0.1); color: var(--success); border: 1px solid rgba(106,191,138,0.15); }
.badge-warning { background: rgba(201,168,76,0.1); color: var(--gold-2); border: 1px solid rgba(201,168,76,0.2); }
.badge-neutral { background: rgba(107,114,128,0.1); color: var(--wait); border: 1px solid rgba(107,114,128,0.15); }
.badge-danger { background: rgba(224,112,112,0.1); color: var(--danger); border: 1px solid rgba(224,112,112,0.15); }

/* ─── 16. FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  margin-top: 100px;
}

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

.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--gold-pale);
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color 0.25s; }
.footer-links a:hover { color: var(--gold-2); }

.footer-copy { font-size: 13px; color: var(--text-3); }

/* ─── 17. ALERTS ─── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  display: none;
  margin-bottom: 16px;
}
.alert.show { display: block; animation: slideDown 0.35s var(--ease); }
.alert-success { background: rgba(106,191,138,0.1); border: 1px solid rgba(106,191,138,0.2); color: var(--success); }
.alert-error { background: rgba(224,112,112,0.1); border: 1px solid rgba(224,112,112,0.2); color: var(--danger); }

/* ─── 18. EMPTY STATE ─── */
.empty-state {
  text-align: center; padding: 72px 32px;
  background: rgba(255,255,255,0.01);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
  color: var(--text-3);
  font-size: 15px;
}

/* ─── 19. DRAWER ─── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 500px; max-width: 100%;
  background: var(--bg-base);
  border-left: 1px solid var(--border);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
  box-shadow: -24px 0 80px rgba(0,0,0,0.6);
}

.drawer-overlay.open .drawer { transform: translateX(0); }

.drawer-header {
  padding: 32px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0;
  background: var(--bg-base);
  z-index: 1;
}

.drawer-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; }

.drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-3);
  display: grid; place-items: center;
  transition: all 0.3s;
}
.drawer-close:hover { color: var(--text-1); background: rgba(255,255,255,0.08); transform: rotate(90deg); }
.drawer-body { padding: 32px; flex: 1; }

/* ─── 20. ANIMATIONS ─── */
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroRevealRight {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

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

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }

/* ─── 21. RESPONSIVE ─── */
@media (max-width: 1200px) {
  .container, .container-wide, .container-narrow { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  .hero-inner { padding: 0 32px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 28px 20px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-description { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-poster-wrap { display: none; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .search-box { min-width: 100%; }

  .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 16px; }

  .form-grid { grid-template-columns: 1fr; }

  .topic-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .topic-card-side { flex-direction: row; }

  .drawer { width: 100%; }

  .footer-inner { gap: 20px; }
  .site-footer { margin-top: 64px; }
}

@media (max-width: 640px) {
  .container, .container-wide, .container-narrow { padding: 0 20px; }
  .nav-inner { padding: 0 20px; height: 68px; }

  .hero { min-height: 85vh; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-nav { bottom: 28px; }

  .section-header { padding: 48px 0 32px; }
  .section-header h2 { font-size: 30px; }

  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .game-card-title { font-size: 14px; }
  .game-card-overlay { display: none; }
  .game-card-info { padding: 10px 2px 0; }

  .filter-bar { padding: 14px 18px; }

  .footer-links { gap: 18px; }
}

/* ─── 22. UTILITIES ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
