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

/* ===== BASE ===== */
html, body {
  height: 100%;
  font-family: 'VT323', monospace;
  color: #c4c4c4;
  scroll-behavior: smooth;
  overflow-x: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: 
    repeating-conic-gradient(
      from 45deg,
      #0a0a0a 0deg 90deg,
      #0b0b0b 90deg 180deg
    ),
    radial-gradient(circle at center, #101010 0%, #050505 100%);
  background-size: 8px 8px, 100% 100%;
  image-rendering: pixelated;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://i.imgur.com/1o0zA2y.png');
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 2px,
    transparent 3px
  );
  z-index: 999;
  mix-blend-mode: overlay;
}
.hero {
  position: relative;
  height: 100vh;
  background: url('https://i.pinimg.com/originals/d4/e3/28/d4e3280b74edf15be3a3203b5ed8fd6b.gif') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  filter: contrast(110%) saturate(70%) brightness(90%);
  border-bottom: 1px solid #111;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  text-align: center;
  animation: flicker 4s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  97% { opacity: 0.8; }
  98% { opacity: 0.3; }
  99% { opacity: 0.9; }
}

/* ===== GLITCH TITLE ===== */
.glitch {
  font-family: 'Sixtyfour', sans-serif;
  font-size: 3rem;
  position: relative;
  color: #ffffff;
  text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff;
  animation: glitch 0.8s infinite steps(2, end);
  letter-spacing: 1px;
  filter: blur(0.3px);
}

@keyframes glitch {
  0% { text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff; transform: translate(0,0); }
  20% { text-shadow: -2px 0 #00ffff, 2px 0 #ff00ff; transform: translate(-2px, 2px); }
  40% { text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff; transform: translate(2px, -2px); }
  60% { text-shadow: -2px 0 #00ffff, 2px 0 #ff00ff; transform: translate(1px, -1px); }
  100% { text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff; transform: translate(0,0); }
}
.scroll-down {
  display: inline-block;
  margin-top: 25px;
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.section {
  padding: 80px 10%;
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  box-shadow: inset 0 0 20px #000;
}

.section:nth-of-type(even) {
  background: rgba(12, 12, 12, 0.95);
}

h2 {
  font-size: 2.2rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 1px 2px #000;
}

p, a {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #c8c8c8;
  text-align: center;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.game-card {
  margin-top: 25px;
  padding: 30px;
  background: #111;
  border: 1px dashed #888;
  transition: transform 0.15s ease, background 0.3s;
  box-shadow: inset 0 0 10px #000;
  text-align: center;
  font-size: 1rem;
  filter: contrast(120%);
}

.game-card:hover {
  transform: scale(1.02);
  background: #161616;
  border-color: #fff;
}
.image-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.image-row img {
  max-width: 100%;
  height: auto;
  border: 1px dashed #888;
  filter: contrast(110%) saturate(80%);
  image-rendering: pixelated;
}
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #555;
  font-size: 1rem;
  border-top: 1px solid #111;
}
.ps1-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0%,
    rgba(0,0,0,0.05) 50%,
    rgba(255,255,255,0.02) 100%
  );
  mix-blend-mode: soft-light;
  z-index: 998;
}
.pixel-gradient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.015) 0px,
      rgba(0,0,0,0.015) 2px,
      rgba(255,255,255,0.01) 4px
    );
  mix-blend-mode: overlay;
  opacity: 0.4;
  image-rendering: pixelated;
  z-index: 997;
}
.corner-star {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 80px;
  height: auto;
  z-index: 9999;
  pointer-events: none;
}
.cornerer-star {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 80px;
  height: auto;
  z-index: 9999;
  pointer-events: none;
}