/* Brainbunk – main site styles */
:root {
  --bg: #0d0f14;
  --surface: #161a22;
  --border: #2a3142;
  --text: #e6e9f0;
  --text-muted: #8b92a8;
  --accent: #7dd3fc;
  --accent-dim: #38bdf8;
  --glow: rgba(125, 211, 252, 0.25);
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  position: relative;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.site-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.logo {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-brain {
  color: var(--text);
}

.logo-bunk {
  color: var(--accent);
}

.logo:hover .logo-bunk {
  text-shadow: 0 0 20px var(--glow);
}

.tagline {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.main {
  flex: 1;
  padding: 3rem 2rem 4rem;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.game-cards {
  display: grid;
  gap: 1.25rem;
}

.game-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.game-card-icon {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.game-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.game-card-desc {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.game-card-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.site-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.site-footer p {
  margin: 0;
}
