/* === PIXEL GAMING STYLE — 0036 === */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --pixel-green: #00ff00;
  --pixel-dark: #000000;
  --pixel-darker: #0a0a0a;
  --pixel-border: #00cc00;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--pixel-dark);
  color: var(--pixel-green);
  font-family: 'Courier New', 'Source Code Pro', monospace;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
}

/* Pixelated decorative elements */
.pixel-border-box {
  border: 4px solid var(--pixel-green);
  box-shadow: 6px 6px 0 #003300;
}

/* Glitch text effect */
.glitch-text {
  position: relative;
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 1px); }
  94% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, -1px); }
  98% { transform: translate(1px, 1px); }
}

/* CRT screen effect overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.03) 0px,
    rgba(0, 0, 0, 0.03) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* Scanline animation */
.scanlines {
  position: relative;
  overflow: hidden;
}

.scanlines::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 255, 0, 0.08) 50%, transparent 100%);
  animation: scanline 6s linear infinite;
  pointer-events: none;
}

@keyframes scanline {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Pixel button hover effect */
.pixel-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 #003300;
}

.pixel-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #003300;
}

/* Typing animation for terminal feel */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cursor-blink::after {
  content: '_';
  animation: blink 1s step-end infinite;
  color: var(--pixel-green);
}

/* Counter animation */
.counter {
  transition: all 0.1s ease;
}

/* FAQ accordion */
.faq-btn .fa-chevron-down {
  transition: transform 0.3s ease;
}

.faq-btn.active .fa-chevron-down {
  transform: rotate(180deg);
}

.faq-btn.active {
  color: #ffffff;
}

/* Mobile menu */
#mobile-menu {
  transition: all 0.3s ease;
}

#mobile-menu.show {
  display: block;
}

/* Pixelated divider */
.pixel-divider {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--pixel-green) 0px,
    var(--pixel-green) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* Marquee-like data stream effect */
.data-stream {
  overflow: hidden;
  white-space: nowrap;
  animation: stream 20s linear infinite;
}

@keyframes stream {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive pixel sizing */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem !important;
  }
  h2 {
    font-size: 2rem !important;
  }
}

/* Selection color */
::selection {
  background: var(--pixel-green);
  color: var(--pixel-dark);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #00ff00;
  border: 2px solid #003300;
}

::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}
