/* ============================================
   RETRO ARCADE - Free Simulated Gambling Games
   80s/90s Retro Gaming Aesthetic
   ============================================ */

/* ---------- CSS RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark-purple: #1a0a2e;
  --mid-purple: #2d1b4e;
  --light-purple: #4a2d7a;
  --hot-pink: #ff1493;
  --light-pink: #ff69b4;
  --electric-yellow: #ffe81a;
  --cyan: #00d4ff;
  --white: #f0e6ff;
  --dark-bg: #0d0518;
  --card-bg: #2d1b4e;
  --text-body: #e0d4f5;
  --pixel-border: 4px;
  --scanline-opacity: 0.04;
}

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

body {
  font-family: 'VT323', monospace;
  background-color: var(--dark-bg);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-size: 1.125rem;
}

/* ---------- SCANLINE OVERLAY ---------- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, var(--scanline-opacity)) 2px,
    rgba(0, 0, 0, var(--scanline-opacity)) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--dark-purple); }
::-webkit-scrollbar-thumb {
  background: var(--hot-pink);
  border: 2px solid var(--dark-purple);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Press Start 2P', cursive;
  color: var(--electric-yellow);
  text-transform: uppercase;
  line-height: 1.4;
  text-shadow: 3px 3px 0 var(--hot-pink), 6px 6px 0 rgba(0,0,0,0.3);
}

h1 { font-size: clamp(1rem, 3vw, 1.75rem); }
h2 { font-size: clamp(0.85rem, 2.5vw, 1.4rem); }
h3 { font-size: clamp(0.7rem, 2vw, 1rem); }
h4 { font-size: clamp(0.6rem, 1.5vw, 0.85rem); }

p, li, a, span, label, input, textarea {
  font-family: 'VT323', monospace;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}
a:hover {
  color: var(--electric-yellow);
  text-shadow: 0 0 8px var(--electric-yellow);
}

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

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem 0;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, var(--hot-pink), var(--electric-yellow), var(--cyan));
  margin: 1rem auto 0;
}

.pixel-border {
  border: var(--pixel-border) solid var(--hot-pink);
  box-shadow:
    inset 0 0 0 2px var(--dark-purple),
    0 0 0 2px var(--dark-purple),
    8px 8px 0 0 rgba(255,20,147,0.2);
}

.pixel-border-cyan {
  border: var(--pixel-border) solid var(--cyan);
  box-shadow:
    inset 0 0 0 2px var(--dark-purple),
    0 0 0 2px var(--dark-purple),
    8px 8px 0 0 rgba(0,212,255,0.2);
}

.pixel-border-yellow {
  border: var(--pixel-border) solid var(--electric-yellow);
  box-shadow:
    inset 0 0 0 2px var(--dark-purple),
    0 0 0 2px var(--dark-purple),
    8px 8px 0 0 rgba(255,232,26,0.2);
}

.text-center { text-align: center; }
.text-pink { color: var(--hot-pink); }
.text-yellow { color: var(--electric-yellow); }
.text-cyan { color: var(--cyan); }

/* ---------- BLINKING TEXT ---------- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.blink-soft {
  animation: blink-soft 2s ease-in-out infinite;
}

/* ---------- GLITCH EFFECT ---------- */
@keyframes glitch {
  0% { text-shadow: 3px 3px 0 var(--hot-pink), -2px -2px 0 var(--cyan); }
  20% { text-shadow: -3px 2px 0 var(--cyan), 2px -3px 0 var(--hot-pink); }
  40% { text-shadow: 3px -2px 0 var(--hot-pink), -2px 3px 0 var(--electric-yellow); }
  60% { text-shadow: -3px -2px 0 var(--electric-yellow), 3px 2px 0 var(--cyan); }
  80% { text-shadow: 2px 3px 0 var(--hot-pink), -3px -2px 0 var(--cyan); }
  100% { text-shadow: 3px 3px 0 var(--hot-pink), -2px -2px 0 var(--cyan); }
}

.glitch {
  animation: glitch 3s infinite;
}

/* ---------- 8-BIT BUTTON ---------- */
.btn-8bit {
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.55rem, 1.5vw, 0.8rem);
  padding: 16px 32px;
  border: 4px solid;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  transition: transform 0.1s, box-shadow 0.1s;
  text-decoration: none;
  image-rendering: pixelated;
}

.btn-8bit::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 4px;
  right: -4px;
  height: 8px;
}

.btn-8bit::after {
  content: '';
  position: absolute;
  top: 4px;
  right: -8px;
  bottom: -4px;
  width: 8px;
}

.btn-8bit:hover {
  transform: translate(2px, 2px);
}

.btn-8bit:active {
  transform: translate(4px, 4px);
}

.btn-pink {
  background: var(--hot-pink);
  color: #fff;
  border-color: #ff69b4;
  box-shadow: 4px 4px 0 #b8006a, 8px 8px 0 rgba(0,0,0,0.3);
}
.btn-pink::before { background: #b8006a; }
.btn-pink::after { background: #ff69b4; }
.btn-pink:hover {
  box-shadow: 2px 2px 0 #b8006a, 4px 4px 0 rgba(0,0,0,0.3);
  background: #ff3ca0;
}

.btn-yellow {
  background: var(--electric-yellow);
  color: var(--dark-purple);
  border-color: #ffe81a;
  box-shadow: 4px 4px 0 #b8a600, 8px 8px 0 rgba(0,0,0,0.3);
}
.btn-yellow::before { background: #b8a600; }
.btn-yellow::after { background: #ffe81a; }
.btn-yellow:hover {
  box-shadow: 2px 2px 0 #b8a600, 4px 4px 0 rgba(0,0,0,0.3);
  background: #fff34d;
}

.btn-cyan {
  background: var(--cyan);
  color: var(--dark-purple);
  border-color: #33ddff;
  box-shadow: 4px 4px 0 #0099b3, 8px 8px 0 rgba(0,0,0,0.3);
}
.btn-cyan::before { background: #0099b3; }
.btn-cyan::after { background: #33ddff; }
.btn-cyan:hover {
  box-shadow: 2px 2px 0 #0099b3, 4px 4px 0 rgba(0,0,0,0.3);
  background: #33ddff;
}

/* ---------- DISBANNER (Top Notice) ---------- */
.disclaimer-banner {
  background: var(--hot-pink);
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.4rem, 1vw, 0.6rem);
  text-align: center;
  padding: 8px 1rem;
  letter-spacing: 1px;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  background: var(--dark-purple);
  border-bottom: 4px solid var(--hot-pink);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255,20,147,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.65rem, 2vw, 1.1rem);
  color: var(--electric-yellow);
  text-shadow: 2px 2px 0 var(--hot-pink), 4px 4px 0 rgba(0,0,0,0.4);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.4rem, 1vw, 0.6rem);
  color: var(--white);
  padding: 8px 12px;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--electric-yellow);
  border-color: var(--electric-yellow);
  background: rgba(255,232,26,0.1);
  text-shadow: 0 0 8px var(--electric-yellow);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 3px solid var(--hot-pink);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.5rem;
  color: var(--hot-pink);
  text-shadow: 0 0 6px var(--hot-pink);
  animation: blink-soft 2s ease-in-out infinite;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--electric-yellow);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark-purple) 0%, var(--mid-purple) 50%, #1a0a2e 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 1.5rem;
}

/* Pixel decorations */
.pixel-deco {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
}

.pixel-deco-1 {
  top: 10%;
  left: 5%;
  width: 60px;
  height: 60px;
  border: 4px solid var(--cyan);
  animation: float 6s ease-in-out infinite;
}

.pixel-deco-2 {
  bottom: 15%;
  right: 8%;
  width: 40px;
  height: 40px;
  background: var(--hot-pink);
  animation: float 8s ease-in-out infinite reverse;
}

.pixel-deco-3 {
  top: 20%;
  right: 15%;
  width: 80px;
  height: 4px;
  background: var(--electric-yellow);
  animation: float 5s ease-in-out infinite;
}

.pixel-deco-4 {
  bottom: 30%;
  left: 10%;
  width: 4px;
  height: 80px;
  background: var(--hot-pink);
  animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Canvas pixel rain */
#pixelRain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ---------- COIN COUNTER / TICKER ---------- */
.coin-ticker {
  background: var(--mid-purple);
  border-top: 2px solid var(--hot-pink);
  border-bottom: 2px solid var(--hot-pink);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.coin-ticker-inner {
  display: inline-block;
  animation: ticker 20s linear infinite;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.4rem, 1vw, 0.6rem);
  color: var(--electric-yellow);
}

@keyframes ticker {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ---------- GAME CARDS ---------- */
.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1rem 0;
}

.game-card {
  background: var(--card-bg);
  border: 4px solid var(--mid-purple);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  image-rendering: pixelated;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,20,147,0.4);
  border-color: var(--hot-pink);
}

.game-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid var(--hot-pink);
  filter: saturate(1.2) contrast(1.1);
}

.game-card-body {
  padding: 1.25rem;
}

.game-card-body h3 {
  margin-bottom: 0.75rem;
  color: var(--electric-yellow);
}

.game-card-body p {
  margin-bottom: 1rem;
  color: var(--text-body);
  font-size: 1.1rem;
}

.game-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.25rem 1.25rem;
}

.free-badge {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.5rem;
  background: var(--cyan);
  color: var(--dark-purple);
  padding: 6px 10px;
  display: inline-block;
}

/* Arcade cabinet top decoration */
.arcade-top {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--hot-pink) 0px,
    var(--hot-pink) 12px,
    var(--electric-yellow) 12px,
    var(--electric-yellow) 24px,
    var(--cyan) 24px,
    var(--cyan) 36px
  );
}

/* ---------- FREE COINS BANNER ---------- */
.free-banner {
  background: linear-gradient(90deg, var(--hot-pink), var(--light-pink), var(--hot-pink));
  padding: 1.5rem;
  text-align: center;
  border: 4px solid var(--electric-yellow);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.free-banner h2 {
  color: var(--electric-yellow);
  font-size: clamp(0.7rem, 2vw, 1.2rem);
  text-shadow: 2px 2px 0 var(--dark-purple);
  position: relative;
  z-index: 1;
}

.free-banner::before {
  content: '★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★';
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  font-size: 0.6rem;
  color: var(--electric-yellow);
  opacity: 0.5;
  letter-spacing: 4px;
}

.free-banner::after {
  content: '★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  font-size: 0.6rem;
  color: var(--electric-yellow);
  opacity: 0.5;
  letter-spacing: 4px;
}

/* ---------- PLAYER'S GUIDE ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.guide-card {
  background: var(--mid-purple);
  padding: 1.5rem;
  border-left: 6px solid var(--cyan);
  position: relative;
}

.guide-card h4 {
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.guide-step {
  font-family: 'Press Start 2P', cursive;
  font-size: 2rem;
  color: var(--hot-pink);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  right: 15px;
}

/* ---------- RESPONSIBLE GAMBLING TEASER ---------- */
.rg-teaser {
  background: var(--mid-purple);
  border: 4px solid var(--cyan);
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.rg-teaser h2 {
  color: var(--cyan);
  margin-bottom: 1rem;
}

.rg-teaser p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: 1.15rem;
}

/* ---------- AGE GATE / MODAL ---------- */
.age-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-modal-overlay.hidden {
  display: none;
}

.age-modal {
  background: var(--dark-purple);
  border: 6px solid var(--hot-pink);
  padding: 2.5rem;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow:
    0 0 0 4px var(--dark-purple),
    0 0 0 8px var(--cyan),
    0 0 60px rgba(255,20,147,0.5);
}

.age-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--hot-pink) 0px,
    var(--hot-pink) 8px,
    var(--electric-yellow) 8px,
    var(--electric-yellow) 16px
  );
}

.age-modal h2 {
  color: var(--hot-pink);
  margin-bottom: 1rem;
  font-size: clamp(0.7rem, 2vw, 1.1rem);
}

.age-modal p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  color: var(--text-body);
}

.age-modal .warning-text {
  color: var(--hot-pink);
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.4rem, 1.2vw, 0.65rem);
  margin-bottom: 1.5rem;
  line-height: 2;
}

.age-modal .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--dark-purple);
  border-top: 4px solid var(--hot-pink);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--electric-yellow);
  margin-bottom: 1rem;
  font-size: 0.7rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-body);
  font-size: 1.1rem;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 2px solid var(--mid-purple);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 1rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  background: rgba(255,20,147,0.1);
  border: 2px solid var(--hot-pink);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ---------- ABOUT PAGE ---------- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  color: var(--cyan);
  margin: 2rem 0 1rem;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ---------- RG PAGE ---------- */
.rg-content {
  max-width: 850px;
  margin: 0 auto;
}

.rg-content h2 {
  color: var(--cyan);
  margin: 2rem 0 1rem;
}

.rg-content h3 {
  color: var(--hot-pink);
  margin: 1.5rem 0 0.75rem;
}

.rg-content p, .rg-content li {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  line-height: 1.8;
}

.rg-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.rg-content a {
  color: var(--cyan);
  text-decoration: underline;
}

.rg-checklist {
  background: var(--mid-purple);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 6px solid var(--electric-yellow);
}

.rg-checklist li {
  list-style: none;
  padding: 0.5rem 0;
}

.rg-checklist li::before {
  content: '> ';
  color: var(--hot-pink);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7rem;
}

/* ---------- GAME PAGE (IFRAME) ---------- */
.game-page-wrapper {
  padding: 1rem 0;
}

.game-iframe-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 2rem;
  border: 6px solid var(--hot-pink);
  box-shadow: 0 0 30px rgba(255,20,147,0.3), inset 0 0 20px rgba(0,0,0,0.5);
  position: relative;
  background: #000;
}

.game-iframe-container iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

.game-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem;
}

.game-description h2 {
  margin-bottom: 1rem;
}

.game-description p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* ---------- TERMS / PRIVACY / CONTACT ---------- */
.policy-content {
  max-width: 850px;
  margin: 0 auto;
}

.policy-content h2 {
  color: var(--cyan);
  margin: 2rem 0 1rem;
  font-size: clamp(0.6rem, 1.5vw, 0.85rem);
}

.policy-content h3 {
  color: var(--hot-pink);
  margin: 1.5rem 0 0.5rem;
  font-size: clamp(0.55rem, 1.3vw, 0.75rem);
}

.policy-content p {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  line-height: 1.8;
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.contact-info {
  background: var(--mid-purple);
  padding: 2rem;
  text-align: center;
  border: 4px solid var(--cyan);
  margin: 2rem 0;
}

.contact-info h3 {
  color: var(--electric-yellow);
  margin-bottom: 1rem;
}

.contact-info a {
  font-size: 1.3rem;
  color: var(--cyan);
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--dark-purple), var(--mid-purple));
  padding: 3rem 1rem 2rem;
  text-align: center;
  border-bottom: 4px solid var(--hot-pink);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.5rem;
  color: var(--light-purple);
}

.page-header .breadcrumb a {
  color: var(--cyan);
}

/* ---------- SECTION SPACING ---------- */
section {
  padding: 3rem 0;
}

/* ---------- RESPONSIVE: 480px ---------- */
@media (min-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-iframe-container iframe {
    height: 500px;
  }
}

/* ---------- RESPONSIVE: 768px ---------- */
@media (min-width: 768px) {
  h1 { font-size: clamp(1.2rem, 3vw, 2rem); }
  h2 { font-size: clamp(1rem, 2.5vw, 1.5rem); }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .game-card-img {
    height: 280px;
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .game-iframe-container iframe {
    height: 540px;
  }
}

/* ---------- RESPONSIVE: 1024px ---------- */
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

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

  .game-card-img {
    height: 220px;
  }

  .guide-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    min-height: 85vh;
  }

  .game-iframe-container iframe {
    height: 600px;
  }
}

/* ---------- RESPONSIVE: MOBILE (<480px default) ---------- */
@media (max-width: 479px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-purple);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 4px solid var(--hot-pink);
    gap: 0;
  }

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

  .nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--mid-purple);
  }

  .hamburger {
    display: flex;
  }

  .badge-18 {
    width: 32px;
    height: 32px;
    font-size: 0.4rem;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: clamp(0.8rem, 5vw, 1.5rem);
  }

  .game-card-img {
    height: 180px;
  }

  .btn-8bit {
    padding: 12px 20px;
  }

  .game-iframe-container iframe {
    height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ---------- PRINT ---------- */
@media print {
  body::after,
  .hamburger,
  .coin-ticker,
  #pixelRain {
    display: none;
  }
}
