:root {
  --bg: #000000;
  --text: #e0e0e0;
  --accent: #ff004d;
  --secondary: #00ffea;
  --shadow: rgba(255,0,77,0.3);
  --transition: 0.3s ease;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 5%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: var(--accent);
  font-weight: bold;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0.25rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 101;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid rgba(255, 0, 77, 0.35);
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0 1.5rem;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    margin: 0.6rem 0;
    font-size: 1.3rem;
  }

  #soundBtn {
    font-size: clamp(1.4rem, 5vw, 2rem);
    background: rgba(0,0,0,0.65);
  }

  .hero {
    padding-top: 5rem;
    min-height: calc(100vh - env(safe-area-inset-bottom));
  }

  .hero p {
    padding: 0 1rem;
    font-size: clamp(1rem, 3.8vw, 1.25rem);
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(5rem, 10vw, 6rem) 5% 4rem;
}

#frame {
  width: min(92vw, 1200px);
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  box-shadow: 0 0 40px var(--shadow);
  border: 2px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

#soundBtn {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  background: rgba(0,0,0,0.5);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

#soundBtn:hover {
  background: rgba(255,0,77,0.3);
}

.hero-text {
  margin-top: 2rem;
  max-width: 90%;
}

.hero h1 {
  font-size: clamp(3.5rem, 12vw, 6rem);
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px var(--accent);
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0%, 90% { transform: translate(0); }
  10% { transform: translate(-2px, -2px); }
  20% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, 2px); }
}

.hero p {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  max-width: 800px;
  margin: 0 auto;
  word-break: break-word;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 5%;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--secondary);
  margin: 3rem 0 2rem;
}

.grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.card, .gallery-item {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--accent);
  padding: 2rem;
  border-radius: 8px;
  transition: var(--transition);
}

.card:hover, .gallery-item:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 20px var(--shadow);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.load-more {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
  margin-top: 2rem;
}

.load-more:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 1.2rem 3rem;
  background: var(--accent);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  font-size: 1.3rem;
}

.cta:hover {
  background: var(--secondary);
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--shadow);
}

footer {
  padding: 3rem;
  text-align: center;
  background: #111;
  font-size: 0.9rem;
  border-top: 1px solid var(--accent);
}
