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

body {
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  color: #00ff41;
  background-color: #0a0e27;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 65, 0.03) 2px, rgba(0, 255, 65, 0.03) 4px);
  min-height: 100vh;
}

h1 {
  margin-bottom: 2rem;
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Hero Banner */
.hero-banner {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  margin-bottom: 3rem;
  border: 2px solid #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9) contrast(1.2);
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.3) 100%);
  pointer-events: none;
}

/* Gallery Page */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.video-card {
  background: #1a1f3a;
  border: 2px solid #00ff41;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #00ff41;
  position: relative;
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 65, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.6), 0 0 40px rgba(0, 255, 65, 0.3);
  border-color: #00ffff;
}

.video-card:hover::before {
  opacity: 1;
}

.video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) contrast(1.1);
  border-bottom: 1px solid #00ff41;
}

.video-card h3 {
  padding: 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

/* Video Page */
.video-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  margin-bottom: 2rem;
  border: 2px solid #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Navigation */
.video-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-button {
  padding: 0.75rem 1.5rem;
  background: #1a1f3a;
  color: #00ff41;
  text-decoration: none;
  border: 2px solid #00ff41;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.nav-button:hover {
  background: #00ff41;
  color: #0a0e27;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

.nav-button.disabled {
  background: #0f1323;
  color: #004d1a;
  border-color: #004d1a;
  cursor: not-allowed;
  box-shadow: none;
}

.nav-button.home {
  flex: 0.5;
  border-color: #00ffff;
  color: #00ffff;
}

.nav-button.home:hover {
  background: #00ffff;
  color: #0a0e27;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

@media (max-width: 600px) {
  .video-navigation {
    flex-direction: column;
  }

  .nav-button.home {
    flex: 1;
  }
}
