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

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

:root {
  --bg: #0f1219;
  --fg: #d1d5e0;
  --card: #161b25;
  --card-fg: #d1d5e0;
  --primary: #00e68a;
  --primary-fg: #0f1219;
  --secondary: #1e2533;
  --secondary-fg: #b8bcc8;
  --muted: #1a2030;
  --muted-fg: #7a8194;
  --accent: #8b5cf6;
  --destructive: #ef4444;
  --border: #232a38;
  --radius: 0.75rem;
}

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* Glass panel */
.glass { background: rgba(22,27,37,.8); backdrop-filter: blur(20px); border: 1px solid rgba(35,42,56,.5); }
.neon-border { box-shadow: 0 0 5px rgba(0,230,138,.3), inset 0 0 5px rgba(0,230,138,.1); }
.neon-text { text-shadow: 0 0 10px rgba(0,230,138,.5), 0 0 20px rgba(0,230,138,.3); }
.gradient-primary { background: linear-gradient(135deg, #00e68a, #3b82f6); }
.gradient-accent { background: linear-gradient(135deg, #8b5cf6, #00e68a); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(35,42,56,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 28px; height: 28px; color: var(--primary); }
.logo-text { font-family: 'Orbitron', sans-serif; font-size: 1.125rem; font-weight: 700; 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 .2s; }
.nav a:hover, .nav a.active { color: var(--primary); }

.mobile-toggle { display: none; background: none; border: none; color: var(--fg); cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; padding: 1rem; gap: 0.75rem; border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,18,25,.6), rgba(15,18,25,.8), var(--bg)); }
.hero-content { position: relative; z-index: 10; padding: 5rem 0; max-width: 640px; }
.hero h1 { font-size: 2.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--primary); }
.hero p { font-size: 1.125rem; color: var(--muted-fg); margin-bottom: 2rem; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-family: 'Orbitron', sans-serif; font-size: 0.875rem; font-weight: 700; transition: opacity .2s; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #00e68a, #3b82f6); color: var(--primary-fg); }
.btn-primary:hover { opacity: .9; }
.btn-outline { background: transparent; border: 1px solid rgba(0,230,138,.3); color: var(--primary); }
.btn-outline:hover { background: rgba(0,230,138,.1); }

/* Stats */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(22,27,37,.3); padding: 2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; text-align: center; }
.stats-grid .value { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.stats-grid .label { font-size: 0.75rem; color: var(--muted-fg); }
.stats-grid svg { width: 20px; height: 20px; color: var(--primary); margin: 0 auto 0.5rem; }

/* Section */
.section { padding: 4rem 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.section-header h2 { font-size: 1.5rem; font-weight: 700; }
.section-header h2 .highlight { color: var(--primary); }
.section-header a { font-size: 0.875rem; color: var(--primary); }
.section-header a:hover { text-decoration: underline; }

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

/* Game Card */
.game-card { border-radius: var(--radius); overflow: hidden; transition: transform .3s, border-color .3s; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(0,230,138,.5); }
.game-card .card-img { aspect-ratio: 16/9; overflow: hidden; }
.game-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game-card:hover .card-img img { transform: scale(1.05); }
.game-card .card-body { padding: 1.25rem; }
.game-card .card-meta { display: flex; align-items: center; justify-content: space-between; 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 .rating { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.game-card .rating svg { width: 16px; height: 16px; fill: var(--primary); color: var(--primary); }
.game-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; transition: color .2s; }
.game-card:hover h3 { color: var(--primary); }
.game-card .excerpt { font-size: 0.875rem; color: var(--muted-fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-card .card-footer { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-fg); display: flex; align-items: center; gap: 0.5rem; }

/* CTA */
.cta { text-align: center; padding: 2rem 2.5rem; border-radius: 1rem; }
.cta h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.cta p { color: var(--muted-fg); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-btn { padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; border: none; cursor: pointer; transition: all .2s; background: var(--secondary); color: var(--secondary-fg); }
.filter-btn.active { background: linear-gradient(135deg, #00e68a, #3b82f6); color: var(--primary-fg); }
.filter-btn:hover:not(.active) { background: rgba(30,37,51,.8); }

/* Review Detail */
.review-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.review-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.review-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.review-header .meta { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.5rem; display: flex; align-items: center; gap: 0.75rem; }
.rating-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-radius: var(--radius); }
.rating-badge .score { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.rating-badge .out-of { font-size: 0.75rem; color: var(--muted-fg); }
.rating-badge svg { width: 24px; height: 24px; fill: var(--primary); color: var(--primary); }

.review-content p { color: rgba(209,213,224,.85); margin-bottom: 1rem; line-height: 1.8; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.5rem 0; }
.pros-cons .box { padding: 1.5rem; border-radius: var(--radius); }
.pros-cons h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.pros-cons .pro-title { color: var(--primary); }
.pros-cons .con-title { color: var(--destructive); }
.pros-cons li { font-size: 0.875rem; color: rgba(209,213,224,.8); margin-bottom: 0.5rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.pros-cons .plus { color: var(--primary); }
.pros-cons .minus { color: var(--destructive); }

/* About */
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
.value-card { text-align: center; padding: 1.5rem; border-radius: var(--radius); }
.value-card svg { width: 32px; height: 32px; color: var(--primary); margin: 0 auto 0.75rem; }
.value-card h3 { font-size: 0.875rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.75rem; color: var(--muted-fg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 0.25rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.625rem 1rem; border-radius: var(--radius); background: var(--secondary); border: 1px solid var(--border); color: var(--fg); font-size: 0.875rem; font-family: 'Inter', sans-serif; outline: none; transition: box-shadow .2s; }
.form-group input:focus, .form-group textarea:focus { box-shadow: 0 0 0 2px rgba(0,230,138,.3); }
.form-group textarea { resize: none; }
.contact-info-card { padding: 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.contact-info-card svg { width: 24px; height: 24px; color: var(--primary); margin-bottom: 0.75rem; }
.contact-info-card h3 { font-size: 0.875rem; margin-bottom: 0.25rem; }
.contact-info-card p { font-size: 0.875rem; color: var(--muted-fg); }

/* Legal pages */
.legal-content { padding: 2rem; border-radius: var(--radius); }
.legal-content h2 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
.legal-content p { color: rgba(209,213,224,.85); font-size: 0.875rem; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; margin: 0.5rem 0 1rem; }
.legal-content li { font-size: 0.875rem; color: rgba(209,213,224,.85); margin-bottom: 0.25rem; }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--fg); }

/* Footer */
.footer { border-top: 1px solid var(--border); background: rgba(22,27,37,.5); padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand p { font-size: 0.875rem; color: var(--muted-fg); margin-top: 1rem; line-height: 1.6; }
.footer h3 { font-family: 'Orbitron', sans-serif; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { font-size: 0.875rem; color: var(--muted-fg); transition: color .2s; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.75rem; color: var(--muted-fg); }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1.5rem; transition: color .2s; }
.back-link:hover { color: var(--primary); }

/* Page title */
.page-title { font-size: 2rem; font-weight: 900; margin-bottom: 0.5rem; }
.page-title .highlight { color: var(--primary); }
.page-subtitle { color: var(--muted-fg); margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .games-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .hero-content { padding: 3rem 0; }
  .stats-grid .value { font-size: 1.25rem; }
}

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