@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@300;400;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #ef4444;
  --neon-red: #ff2d2d;
  --black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --mid-gray: #2a2a2a;
  --text: #d4d4d4;
  --muted: #737373;
  --glow-red: 0 0 20px rgba(239,68,68,0.4);
}

html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; background: var(--black); color: var(--text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Press Start 2P', cursive; line-height: 1.5; }
a { color: var(--red); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; }

.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 58px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(10,10,10,0.95);
  border-bottom: 2px solid var(--red);
}
.top-nav .logo { font-family: 'Press Start 2P', cursive; font-size: 0.75rem; color: var(--neon-red); text-shadow: var(--glow-red); }
.top-nav .links { display: flex; gap: 1.2rem; list-style: none; }
.top-nav .links a { color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.top-nav .links a:hover, .top-nav .links a.active { color: var(--red); }

.menu-toggle { display: none; flex-direction: column; gap: 4px; cursor: pointer; background: none; border: none; }
.menu-toggle span { width: 22px; height: 2px; background: var(--red); transition: 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

@media(max-width:768px) {
  .menu-toggle { display: flex; }
  .top-nav .links {
    position: fixed; top: 58px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column; padding: 1.2rem 1.5rem;
    transform: translateX(100%); transition: 0.3s;
    border-bottom: 2px solid var(--red);
  }
  .top-nav .links.open { transform: translateX(0); }
}

.cyber-hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 90px 1.5rem 3rem;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(239,68,68,0.03) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(239,68,68,0.03) 50px),
    var(--black);
}
.cyber-hero h1 { font-size: clamp(0.8rem, 2.5vw, 1.4rem); color: var(--neon-red); text-shadow: var(--glow-red); margin-bottom: 1.5rem; }
.cyber-hero .desc { font-size: 1.05rem; color: var(--muted); max-width: 640px; margin-bottom: 2rem; }

.cyber-btn {
  display: inline-block; padding: 0.8rem 2rem;
  background: var(--red); color: #fff; font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer;
  transition: 0.3s; border-radius: 0;
}
.cyber-btn:hover { background: #dc2626; box-shadow: var(--glow-red); color: #fff; }
.cyber-btn-border { background: transparent; border: 2px solid var(--red); color: var(--red); }
.cyber-btn-border:hover { background: var(--red); color: #fff; }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 1200px; margin: 0 auto;
}
@media(max-width:768px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-cell {
  padding: 2.5rem 1.5rem; text-align: center;
  border: 1px solid var(--mid-gray);
  background: var(--dark-gray);
}
.grid-cell .ic { font-size: 2rem; margin-bottom: 0.6rem; }
.grid-cell h3 { font-size: 0.6rem; color: var(--red); margin-bottom: 0.6rem; }
.grid-cell p { font-size: 0.9rem; color: var(--muted); }

.game-block {
  padding: 3rem 1.5rem; text-align: center;
  background: var(--dark-gray); border-top: 2px solid var(--red); border-bottom: 2px solid var(--red);
}
.game-block h2 { font-size: clamp(0.6rem, 2vw, 0.9rem); color: var(--neon-red); margin-bottom: 1.5rem; text-shadow: var(--glow-red); }
.game-viewport {
  width: 100%; max-width: 960px; margin: 0 auto;
  aspect-ratio: 5/4; overflow: hidden;
  border: 2px solid var(--red);
  box-shadow: 0 0 40px rgba(239,68,68,0.1);
}
.game-viewport iframe { width: 100%; height: 100%; border: none; }

.panels {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; max-width: 1200px; margin: 0 auto;
}
@media(max-width:768px) { .panels { grid-template-columns: 1fr; } }
.panel {
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--mid-gray);
  background: var(--dark-gray);
}
.panel h3 { font-size: 0.6rem; color: var(--red); margin-bottom: 0.8rem; }
.panel p { color: var(--muted); font-size: 0.92rem; }

.text-block { padding: 3rem 1.5rem; max-width: 900px; margin: 0 auto; }
.text-block h2 { font-size: clamp(0.6rem, 2vw, 0.9rem); margin-bottom: 1rem; color: var(--red); }
.text-block p, .text-block li { color: var(--muted); margin-bottom: 1rem; font-size: 0.92rem; }
.text-block ul { padding-left: 1.5rem; }

.page-title {
  padding: 100px 1.5rem 2.5rem; text-align: center;
  background: repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(239,68,68,0.03) 50px), var(--black);
}
.page-title h1 { font-size: clamp(0.7rem, 2.5vw, 1.2rem); color: var(--neon-red); text-shadow: var(--glow-red); }

.foot {
  margin-top: 3rem; padding: 2rem 1.5rem;
  border-top: 2px solid var(--red);
  text-align: center; background: var(--black);
}
.foot-row { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.8rem; }
.foot-row a { color: var(--muted); font-size: 0.82rem; }
.foot p { color: rgba(115,115,115,0.6); font-size: 0.75rem; }

.age-block {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,10,0.96);
  display: flex; align-items: center; justify-content: center;
}
.age-inner {
  background: var(--dark-gray); border: 2px solid var(--red);
  padding: 2.5rem 2rem; text-align: center; max-width: 420px; width: 90%;
}
.age-inner h2 { font-size: 0.7rem; color: var(--neon-red); margin-bottom: 1rem; text-shadow: var(--glow-red); }
.age-inner p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }
.age-btns .cyber-btn { min-width: 110px; }
.age-block.hidden { display: none; }
