body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: #000;
  overflow-x: hidden;
  color: #ffffff;
}

.content-body {
  position: fixed;
  top: 160px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  overflow-y: auto;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('plasma_ball_bg.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  border-bottom: 2px solid #8800ff;
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.header-right {
  text-align: right;
  flex: 0 0 auto;
  max-width: 40%;
  margin-left: 2rem;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 2px solid #ff00cc;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  background: linear-gradient(to right, #ff00cc, #3333ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px #000) drop-shadow(0 0 20px #000) drop-shadow(0 0 30px #000);
}

.header-tagline {
  margin: 0;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-tagline h2 {
  font-size: 1.25rem;
  color: #eeeeee;
  margin: 0;
  line-height: 1.4;
  max-width: 32ch;
  text-align: right;
  word-break: break-word;
}

.glow {
  text-shadow: 0 0 10px #ff00cc, 0 0 20px #ff00cc, 0 0 30px #ff00cc;
}

.videos-section {
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  min-height: 100%;
  backdrop-filter: blur(1.5px);
}

.videos-container {
  max-width: 1200px;
  margin: 0 auto;
}

.videos-title {
  text-align: center;
  font-size: 3rem;
  text-transform: uppercase;
  background: linear-gradient(to right, #ff00cc, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.video-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #8800ff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(136, 0, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(3px);
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 0, 204, 0.5);
  background: rgba(0, 0, 0, 0.6);
}

.video-embed {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 2px solid #ff00cc;
}

.video-title {
  font-size: 1.5rem;
  color: #00ffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-description {
  color: #cccccc;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 2px solid #8800ff;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(5px);
}

.footer-content p {
  margin: 0;
  color: #cccccc;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.copyright {
  text-align: center;
  color: #666666;
  font-size: 0.75rem;
  margin: 2rem 0 1rem 0;
  opacity: 0.7;
}

/* Cellular Automata Background */
.automata-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  perspective: 1000px;
  overflow: hidden;
}

#automata-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200vw;
  height: 200vh;
  object-fit: none;
  transform: translate(-50%, -60%) rotateX(75deg) translateZ(-500px);
  opacity: 0.4;
  filter: blur(0px);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .videos-title {
    font-size: 2rem;
  }
  
  .video-embed {
    height: 200px;
  }
  
  header {
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  
  .header-left {
    margin-bottom: 0.5rem;
    justify-content: center;
  }
  
  .header-right {
    margin-left: 0;
    text-align: center;
    max-width: 100%;
  }
  
  .logo {
    width: 80px;
    height: 80px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .content-body {
    top: 140px;
  }
  
  .header-tagline {
    justify-content: center;
    margin-top: 0.5rem;
    max-width: 100%;
  }
  .header-tagline h2 {
    font-size: 1rem;
    text-align: center;
    max-width: 90vw;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 60px;
    height: 60px;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .header-tagline h2 {
    font-size: 0.9rem;
    line-height: 1.3;
    max-width: 98vw;
  }
  
  .content-body {
    top: 120px;
  }
} 