/* ==========================================================================
   Llamasoft Fan Page — css/style.css
   Psychedelic VLM identity: pure black, animated rainbow borders, VT323 + Share Tech Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono:wght@400&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:            #000000;
  --bg-card:       #050505;
  --bg-alt:        #0a0000;
  --text:          #e0e0e0;
  --text-muted:    #888888;
  --c-cyan:        #00ffff;
  --c-magenta:     #ff00ff;
  --c-yellow:      #ffff00;
  --c-green:       #00ff41;
  --c-violet:      #8800ff;
  --border:        #1a1a1a;
  --font-display:  'VT323', 'Courier New', monospace;
  --font-body:     'Share Tech Mono', 'Courier New', monospace;

  --nav-height:        60px;
  --player-bar-height: 40px;
  --container-max:     1200px;
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes rainbow-border {
  0%   { border-color: var(--c-cyan); }
  20%  { border-color: var(--c-magenta); }
  40%  { border-color: var(--c-yellow); }
  60%  { border-color: var(--c-green); }
  80%  { border-color: var(--c-violet); }
  100% { border-color: var(--c-cyan); }
}

@keyframes nav-border-cycle {
  0%   { border-bottom-color: var(--c-cyan); }
  20%  { border-bottom-color: var(--c-magenta); }
  40%  { border-bottom-color: var(--c-yellow); }
  60%  { border-bottom-color: var(--c-green); }
  80%  { border-bottom-color: var(--c-violet); }
  100% { border-bottom-color: var(--c-cyan); }
}

@keyframes hero-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spb-eq-bar {
  0%, 100% { transform: scaleY(0.3); }
  50%       { transform: scaleY(1.0); }
}

@keyframes reveal-fade {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: var(--c-cyan);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--c-magenta);
  outline: none;
}

ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 2rem); }
h4 { font-size: clamp(1rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

strong { color: var(--c-cyan); }

/* --------------------------------------------------------------------------
   Container & Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.site-section:nth-of-type(odd)  { background: var(--bg); }
.site-section:nth-of-type(even) { background: var(--bg-alt); }

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--c-cyan);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 2px solid var(--c-cyan);
  animation: nav-border-cycle 4s linear infinite;
  z-index: 1000;
  display: flex;
  align-items: center;
}

#site-nav .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-cyan);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.5rem;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--c-cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-cyan);
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a { padding: 0.4rem 0; font-size: 0.9rem; }
}

/* --------------------------------------------------------------------------
   SID Player Bar
   -------------------------------------------------------------------------- */
.sid-player-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: var(--player-bar-height);
  background: #030303;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  z-index: 999;
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.spb-controls { display: flex; gap: 0.35rem; }

.spb-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.1rem 0.45rem;
  cursor: pointer;
  font-size: 0.72rem;
  transition: color 0.15s, border-color 0.15s;
  font-family: var(--font-body);
}

.spb-btn:hover { color: var(--c-cyan); border-color: var(--c-cyan); }

.spb-btn--primary {
  border-color: var(--c-magenta);
  color: var(--c-magenta);
}

.spb-track {
  color: var(--text-muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spb-track.now-playing { color: var(--c-cyan); }

.spb-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.spb-eq span {
  display: block;
  width: 3px;
  background: var(--c-magenta);
  transform: scaleY(0.3);
  transform-origin: bottom;
}

.spb-eq.active span:nth-child(1) { animation: spb-eq-bar 0.6s 0.0s ease-in-out infinite; }
.spb-eq.active span:nth-child(2) { animation: spb-eq-bar 0.6s 0.2s ease-in-out infinite; }
.spb-eq.active span:nth-child(3) { animation: spb-eq-bar 0.6s 0.4s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   Body offset for fixed bars
   -------------------------------------------------------------------------- */
body {
  padding-top: calc(var(--nav-height) + var(--player-bar-height));
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #000, #110022, #001100, #220000, #000011, #000);
  background-size: 400% 400%;
  animation: hero-gradient 12s ease infinite;
}

#starfield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Scanline overlay — purely decorative */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 1px,
    rgba(0,0,0,0.05) 1px,
    rgba(0,0,0,0.05) 2px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--c-magenta);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 9rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--c-yellow);
  text-shadow: 0 0 30px rgba(255,255,0,0.4), 0 0 60px rgba(255,0,255,0.2);
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--c-cyan);
  line-height: 1;
}

.hero-stat .label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.5rem;
  border: 2px solid;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--c-cyan);
  color: var(--bg);
}

.btn-secondary {
  border-color: var(--c-magenta);
  color: var(--c-magenta);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--c-magenta);
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* Cycle heading colours per section */
.site-section:nth-of-type(1) .section-title { color: var(--c-cyan); }
.site-section:nth-of-type(2) .section-title { color: var(--c-magenta); }
.site-section:nth-of-type(3) .section-title { color: var(--c-yellow); }
.site-section:nth-of-type(4) .section-title { color: var(--c-green); }
.site-section:nth-of-type(5) .section-title { color: var(--c-violet); }
.site-section:nth-of-type(6) .section-title { color: var(--c-cyan); }
.site-section:nth-of-type(7) .section-title { color: var(--c-magenta); }
.site-section:nth-of-type(8) .section-title { color: var(--c-yellow); }

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Cards — animated rainbow border
   -------------------------------------------------------------------------- */
.game-card {
  background: var(--bg-card);
  border: 2px solid var(--c-cyan);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,255,255,0.15);
  animation: rainbow-border 3.5s linear infinite;
  transition: box-shadow 0.2s;
  overflow: hidden;
}

.game-card:hover {
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.game-card__body {
  padding: 1.25rem;
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-cyan);
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}

.game-card__year {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Games Grid
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   Platform Filter
   -------------------------------------------------------------------------- */
#platform-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.85rem;
  border: 2px solid;
  background: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

/* Platform colours */
.filter-btn[data-filter="all"]    { border-color: var(--text-muted); color: var(--text-muted); }
.filter-btn[data-filter="c64"]    { border-color: var(--c-cyan);    color: var(--c-cyan); }
.filter-btn[data-filter="atari"]  { border-color: var(--c-magenta); color: var(--c-magenta); }
.filter-btn[data-filter="amiga"]  { border-color: var(--c-yellow);  color: var(--c-yellow); }
.filter-btn[data-filter="jaguar"] { border-color: var(--c-violet);  color: var(--c-violet); }
.filter-btn[data-filter="modern"] { border-color: var(--c-green);   color: var(--c-green); }

.filter-btn[data-filter="all"].filter-active    { background: var(--text-muted); color: var(--bg); }
.filter-btn[data-filter="c64"].filter-active    { background: var(--c-cyan);     color: var(--bg); }
.filter-btn[data-filter="atari"].filter-active  { background: var(--c-magenta);  color: var(--bg); }
.filter-btn[data-filter="amiga"].filter-active  { background: var(--c-yellow);   color: var(--bg); }
.filter-btn[data-filter="jaguar"].filter-active { background: var(--c-violet);   color: var(--bg); }
.filter-btn[data-filter="modern"].filter-active { background: var(--c-green);    color: var(--bg); }

.platform-hidden { display: none; }

/* --------------------------------------------------------------------------
   Tags
   -------------------------------------------------------------------------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0;
}

.tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag--c64    { border-color: var(--c-cyan);    color: var(--c-cyan); }
.tag--atari  { border-color: var(--c-magenta); color: var(--c-magenta); }
.tag--amiga  { border-color: var(--c-yellow);  color: var(--c-yellow); }
.tag--jaguar { border-color: var(--c-violet);  color: var(--c-violet); }
.tag--modern { border-color: var(--c-green);   color: var(--c-green); }
.tag--genre  { border-color: var(--border); }

/* --------------------------------------------------------------------------
   History / Article body
   -------------------------------------------------------------------------- */
.history-body {
  max-width: 72ch;
  margin: 0 auto;
}

.history-chapter {
  margin-bottom: 2.5rem;
}

.history-chapter h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-cyan);
  margin-bottom: 0.75rem;
}

.history-chapter p { color: var(--text); }

/* --------------------------------------------------------------------------
   Music page / SID player panel
   -------------------------------------------------------------------------- */
.music-panel {
  background: var(--bg-card);
  border: 2px solid var(--c-magenta);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.music-panel__now-playing {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--c-cyan);
  margin-bottom: 0.25rem;
}

.music-panel__composer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.music-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.music-btn {
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 0.3rem 0.9rem;
  border: 2px solid var(--c-magenta);
  color: var(--c-magenta);
  background: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.music-btn:hover {
  background: var(--c-magenta);
  color: var(--bg);
}

.track-list { margin: 0; }

.track-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.track-row:hover { background: rgba(255,0,255,0.06); }

.track-row.playing {
  background: rgba(0,255,255,0.08);
  border-left: 3px solid var(--c-cyan);
}

.track-row__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
  min-width: 2ch;
}

.track-row__name {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}

.track-row__game {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   CRT mode
   -------------------------------------------------------------------------- */
body.crt {
  filter: brightness(0.92) contrast(1.1);
}

body.crt::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 1px,
    rgba(0,0,0,0.12) 1px,
    rgba(0,0,0,0.12) 2px
  );
  pointer-events: none;
  z-index: 9998;
}

.crt-toggle-wrap {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9997;
}

#crt-toggle-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

#crt-toggle-btn:hover {
  color: var(--c-green);
  border-color: var(--c-green);
}

/* --------------------------------------------------------------------------
   Easter Egg Modal
   -------------------------------------------------------------------------- */
.easter-egg-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
}

.easter-egg-modal {
  background: var(--bg-card);
  border: 3px solid var(--c-cyan);
  animation: rainbow-border 2s linear infinite;
  border-radius: 4px;
  padding: 2rem;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,255,255,0.3);
}

.easter-egg-modal h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--c-yellow);
  margin-bottom: 1rem;
}

.easter-egg-modal p {
  color: var(--text);
  font-size: 0.9rem;
}

.easter-egg-close {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 0.3rem 1rem;
  border: 2px solid var(--c-magenta);
  color: var(--c-magenta);
  background: none;
  cursor: pointer;
}

.easter-egg-close:hover {
  background: var(--c-magenta);
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   Scroll Reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #030303;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-cyan);
  margin-bottom: 0.5rem;
}

.site-footer__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.site-footer__text a { color: var(--c-cyan); }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mb-sm { margin-bottom: 0.75rem; }
.text-cyan    { color: var(--c-cyan); }
.text-magenta { color: var(--c-magenta); }
.text-yellow  { color: var(--c-yellow); }
.text-green   { color: var(--c-green); }
.text-violet  { color: var(--c-violet); }
.text-muted   { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   People / Bio cards
   -------------------------------------------------------------------------- */
.person-card {
  background: var(--bg-card);
  border: 2px solid var(--c-violet);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.person-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-cyan);
  margin-bottom: 0.25rem;
}

.person-card .role {
  font-size: 0.8rem;
  color: var(--c-magenta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review-card {
  background: var(--bg-card);
  border-left: 4px solid var(--c-yellow);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: 0 4px 4px 0;
}

.review-card__publication {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--c-yellow);
  margin-bottom: 0.25rem;
}

.review-card__score {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-cyan);
}

.review-card blockquote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: none;
  padding: 0;
  margin: 0.5rem 0;
}

/* --------------------------------------------------------------------------
   Resources list
   -------------------------------------------------------------------------- */
.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.resource-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
}

.resource-item:hover { border-color: var(--c-cyan); }

.resource-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-green);
  margin-bottom: 0.25rem;
}

.resource-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .hero-stats { gap: 1.5rem; }
  .games-grid { grid-template-columns: 1fr; }
  .hero-cta   { flex-direction: column; align-items: center; }
}
