/* InfoStreamline Static Site Styles */
@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');

:root {
  --bg: hsl(220, 20%, 7%);
  --bg-card: hsl(220, 18%, 11%);
  --fg: hsl(210, 20%, 92%);
  --muted: hsl(215, 12%, 55%);
  --primary: hsl(160, 84%, 45%);
  --primary-dark: hsl(160, 84%, 35%);
  --accent: hsl(270, 60%, 55%);
  --border: hsl(220, 14%, 18%);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0.75rem;
}

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

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsla(160, 84%, 45%, 0.2);
  background: hsla(220, 20%, 7%, 0.9);
  backdrop-filter: blur(12px);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px hsla(160, 84%, 45%, 0.5);
}
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--primary); }

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

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.05;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid hsla(160, 84%, 45%, 0.2);
  background: var(--bg-card);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero h1 .highlight {
  color: var(--primary);
  text-shadow: 0 0 20px hsla(160, 84%, 45%, 0.5);
}
.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; padding-bottom: 3rem; }
.feature-card {
  background: linear-gradient(145deg, var(--bg-card), hsl(220, 18%, 8%));
  border: 1px solid hsla(160, 84%, 45%, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.feature-card h3 { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; margin: 0.75rem 0 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); }

/* Cards Grid */
.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}
.section-title .highlight { color: var(--primary); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; padding-bottom: 4rem; }

.game-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-card), hsl(220, 18%, 8%));
  border: 1px solid hsla(160, 84%, 45%, 0.2);
  transition: all 0.3s;
  color: var(--fg);
}
.game-card:hover {
  border-color: hsla(160, 84%, 45%, 0.4);
  box-shadow: 0 0 20px hsla(160, 84%, 45%, 0.3), 0 0 60px hsla(160, 84%, 45%, 0.1);
}
.game-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s; }
.game-card:hover img { transform: scale(1.05); }
.game-card .card-body { padding: 1.25rem; }
.game-card .category { display: inline-block; font-family: var(--font-display); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.5rem; }
.game-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; transition: color 0.2s; }
.game-card:hover h3 { color: var(--primary); }
.game-card .desc { font-size: 0.875rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.75rem; }
.game-card .read-more { font-size: 0.75rem; color: var(--primary); font-weight: 500; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: hsla(220, 18%, 11%, 0.5); margin-top: 4rem; }
.footer .container { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer h4 { font-family: var(--font-display); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--muted); font-size: 0.875rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 2rem; text-align: center; font-size: 0.875rem; color: var(--muted); }

/* Legal Pages */
.legal-page { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.legal-page h1 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.legal-page .date { font-size: 0.875rem; color: var(--muted); margin-bottom: 2rem; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.legal-page p, .legal-page li { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.legal-page ul { list-style: disc; margin-left: 1.25rem; }
.legal-page li { margin-bottom: 0.25rem; }

/* Article page */
.article { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.article .back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.article .back:hover { color: var(--primary); }
.article .meta { margin-bottom: 1.5rem; }
.article .meta .category { font-family: var(--font-display); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.article h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 0.5rem 0 0.75rem; }
.article .article-date { font-size: 0.875rem; color: var(--muted); }
.article .hero-img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0 2rem; aspect-ratio: 16/9; object-fit: cover; }
.article h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 2rem 0 1rem; }
.article h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.article h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--primary); margin: 1rem 0 0.5rem; }
.article p { color: var(--muted); margin-bottom: 0.75rem; font-size: 0.875rem; }
.article ul, .article ol { margin-left: 1.25rem; margin-bottom: 1rem; }
.article li { color: var(--muted); margin-bottom: 0.25rem; font-size: 0.875rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article strong { color: var(--fg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; padding: 3rem 2rem; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.contact-item strong { display: block; font-size: 0.875rem; }
.contact-item span { font-size: 0.875rem; color: var(--muted); }
.hours-box { background: linear-gradient(145deg, var(--bg-card), hsl(220, 18%, 8%)); border: 1px solid hsla(160, 84%, 45%, 0.2); border-radius: var(--radius); padding: 1rem; margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.contact-form-box { background: linear-gradient(145deg, var(--bg-card), hsl(220, 18%, 8%)); border: 1px solid hsla(160, 84%, 45%, 0.2); border-radius: var(--radius); padding: 1.5rem; }
.contact-form-box label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.contact-form-box input, .contact-form-box textarea {
  width: 100%; border: 1px solid var(--border); background: var(--bg); color: var(--fg);
  border-radius: calc(var(--radius) - 2px); padding: 0.5rem 0.75rem; font-size: 0.875rem;
  font-family: var(--font-body); margin-bottom: 1rem;
}
.contact-form-box textarea { resize: none; }
.btn-primary {
  width: 100%; padding: 0.625rem; background: var(--primary); color: var(--bg);
  border: none; border-radius: calc(var(--radius) - 2px); font-weight: 600;
  font-size: 0.875rem; cursor: pointer; font-family: var(--font-body);
}
.btn-primary:hover { background: var(--primary-dark); }

/* About */
.about-page { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.about-page h1 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }
.about-box { background: linear-gradient(145deg, var(--bg-card), hsl(220, 18%, 8%)); border: 1px solid hsla(160, 84%, 45%, 0.2); border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem; }
.about-box p { color: var(--muted); font-size: 0.875rem; margin-bottom: 1rem; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
