/* Font */
@font-face {
  font-family: 'Akony';
  src: url('assets/fonts/AKONY.woff2') format('woff2'),
       url('assets/fonts/AKONY.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

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

/* Variables */
:root {
  --bg-red: #8B0000;
  --bg-dark-red: #6B0000;
  --text-green: #00FF66;
  --text-dark: #1a1a1a;
  --text-light: #e0e0e0;
}

/* Base */
html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Akony', monospace;
  background-color: var(--bg-red);
  color: var(--text-dark);
  position: relative;
}

/* Halftone background */
.halftone-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background:
    radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.3) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 600"><path d="M0,600 L0,300 Q200,200 400,280 Q600,350 800,250 Q1000,150 1200,220 Q1400,290 1440,200 L1440,600 Z" fill="black"/></svg>');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 100;
}

.logo svg {
  display: block;
}

/* Navigation pill */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 30px;
  padding: 12px 28px;
}

.nav-link {
  color: var(--text-green);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-separator {
  color: var(--text-green);
  font-size: 10px;
}

/* CTA Button */
.cta-button {
  color: var(--text-light);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: 1px solid var(--text-light);
  border-radius: 30px;
  transition: all 0.2s;
}

.cta-button:hover {
  background: var(--text-light);
  color: var(--bg-red);
}

/* Main content */
.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  z-index: 10;
}

.ponzi-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pixel grid */
#ponzi-grid {
  position: relative;
}

.pixel {
  position: absolute;
  background-color: var(--text-dark);
  transition: opacity 0.3s ease;
}

.pixel.hidden {
  opacity: 0;
}

.tech-text {
  font-family: 'Akony', monospace;
  font-size: 48px;
  color: var(--text-dark);
  letter-spacing: 16px;
  margin-top: -20px;
  margin-left: auto;
  margin-right: 15%;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }

  .nav-pill {
    display: none;
  }

  .tech-text {
    font-size: 24px;
    letter-spacing: 8px;
    margin-right: 10%;
  }
}
