@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg: hsl(220 20% 8%);
  --fg: hsl(210 20% 92%);
  --card: hsl(220 18% 12%);
  --card-fg: hsl(210 20% 92%);
  --primary: hsl(185 90% 50%);
  --primary-fg: hsl(220 20% 8%);
  --muted: hsl(220 14% 16%);
  --muted-fg: hsl(215 12% 55%);
  --accent: hsl(25 95% 55%);
  --accent-fg: hsl(220 20% 8%);
  --border: hsl(220 14% 20%);
  --secondary-fg: hsl(210 20% 85%);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; }

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

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: hsla(220, 20%, 8%, 0.8);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--fg); }
.logo span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); transition: color 0.2s; }
.nav a:hover { color: var(--primary); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, hsla(220,20%,8%,0.4), hsla(220,20%,8%,0.7), var(--bg)); }
.hero-content { position: relative; padding: 6rem 0; text-align: center; }
.hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.1; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.125rem; color: var(--muted-fg); max-width: 560px; margin: 0 auto 2rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: var(--primary-fg);
  padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

/* Stats */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 2.5rem 0; text-align: center; }
.stat-icon { color: var(--primary); margin-bottom: 0.5rem; }
.stat-value { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.875rem; color: var(--muted-fg); }

/* Game Grid */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.section-title p { color: var(--muted-fg); max-width: 480px; margin: 0 auto; }

.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.game-card {
  display: block;
  border-radius: 0.5rem; overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.game-card:hover { border-color: hsla(185, 90%, 50%, 0.5); box-shadow: 0 0 20px hsla(185, 90%, 50%, 0.3); }
.game-card-img { aspect-ratio: 16/9; overflow: hidden; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.game-card:hover .game-card-img img { transform: scale(1.05); }
.game-card-body { padding: 1.25rem; }
.game-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.game-card-genre { font-size: 0.75rem; font-weight: 500; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.game-card-platform { font-size: 0.75rem; color: var(--muted-fg); }
.game-card-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; transition: color 0.3s; }
.game-card:hover .game-card-title { color: var(--primary); }
.game-card-summary { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.stars { display: flex; align-items: center; gap: 0.25rem; }
.star { width: 16px; height: 16px; }
.star-filled { color: var(--accent); }
.star-empty { color: hsla(215, 12%, 55%, 0.3); }
.rating-text { margin-left: 0.5rem; font-size: 0.875rem; font-weight: 600; }

/* About */
.about-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { padding: 4rem 0; max-width: 768px; margin: 0 auto; text-align: center; }
.about-inner h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.about-inner p { color: var(--muted-fg); line-height: 1.8; }

/* Contact */
.contact { padding: 4rem 0; max-width: 560px; margin: 0 auto; text-align: center; }
.contact-icon { color: var(--primary); margin: 0 auto 1rem; }
.contact h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.75rem; }
.contact p { color: var(--muted-fg); font-size: 0.875rem; }
.contact a { color: var(--primary); }
.contact a:hover { text-decoration: underline; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: 3rem 0; }
.footer-brand p { font-size: 0.875rem; color: var(--muted-fg); max-width: 360px; margin-top: 1rem; }
.footer h4 { font-family: 'Outfit', sans-serif; font-weight: 600; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer li a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.footer li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.75rem; color: var(--muted-fg); }
.footer-disclaimer { margin-top: 1rem; font-size: 0.6875rem; color: var(--muted-fg); text-align: center; }

/* Legal pages */
.legal-page { flex: 1; padding: 4rem 0; max-width: 768px; margin: 0 auto; }
.legal-page h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 2rem; }
.legal-page .date { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1.5rem; }
.legal-page section { margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.legal-page p { font-size: 0.875rem; color: var(--secondary-fg); line-height: 1.8; }
.legal-page ul { list-style: disc; padding-left: 1.5rem; margin-top: 0.5rem; }
.legal-page li { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 0.25rem; }
.legal-page a { color: var(--primary); }
.legal-page a:hover { text-decoration: underline; }

/* Review page */
.review-page { padding: 2.5rem 0; max-width: 768px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1.5rem; transition: color 0.2s; }
.back-link:hover { color: var(--primary); }
.review-hero { border-radius: 0.5rem; overflow: hidden; margin-bottom: 2rem; }
.review-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.review-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.review-page h1 { font-size: 2.25rem; font-weight: 900; margin-bottom: 1rem; }
.review-stars { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 2rem; }
.review-stars .rating-text { font-size: 1.125rem; }
.review-body { color: var(--muted-fg); line-height: 1.8; margin-bottom: 2rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.pros-box, .cons-box { background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; padding: 1.25rem; }
.pros-box h3, .cons-box h3 { font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.pros-box h3 .icon { color: #22c55e; }
.cons-box h3 .icon { color: #ef4444; }
.pros-box li, .cons-box li { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 0.5rem; list-style: none; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; padding: 1rem 1.5rem;
}
.cookie-inner {
  max-width: 768px; margin: 0 auto; border-radius: 0.75rem;
  border: 1px solid var(--border); background: hsla(220,18%,12%,0.95);
  backdrop-filter: blur(16px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem;
}
.cookie-inner h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.875rem; margin-bottom: 0.5rem; }
.cookie-inner p { font-size: 0.75rem; color: var(--muted-fg); line-height: 1.6; }
.cookie-buttons { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.cookie-accept { background: var(--primary); color: var(--primary-fg); border: none; padding: 0.5rem 1.25rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 600; cursor: pointer; }
.cookie-decline { background: var(--bg); color: var(--fg); border: 1px solid var(--border); padding: 0.5rem 1.25rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 600; cursor: pointer; }
.cookie-close { background: none; border: none; color: var(--muted-fg); cursor: pointer; font-size: 1.25rem; line-height: 1; flex-shrink: 0; }

/* SVG icons inline */
.svg-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero-content { padding: 4rem 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pros-cons { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

.min-h-screen { min-height: 100vh; display: flex; flex-direction: column; }
.flex-1 { flex: 1; }
