 @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Base */
body {
  margin: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%), url('bg1.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  text-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 255, 0, 0.3);
  padding: 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Apply center alignment for glitch class on all pages */
.glitch {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.header-logo {
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  filter: drop-shadow(0 0 5px #00ff00);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: #00ff00;
  position: relative;
  transition: background 0.3s;
  animation: colorTransfer 3s linear infinite;
}

@keyframes colorTransfer {
  0% {
    background-color: #00ff00;
    box-shadow: 0 0 5px #00ff00;
  }
  25% {
    background-color: #39ff14;
    box-shadow: 0 0 10px #39ff14;
  }
  50% {
    background-color: #00ff00;
    box-shadow: 0 0 15px #00ff00;
  }
  75% {
    background-color: #39ff14;
    box-shadow: 0 0 10px #39ff14;
  }
  100% {
    background-color: #00ff00;
    box-shadow: 0 0 5px #00ff00;
  }
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background: #00ff00;
  transition: all 0.3s;
  animation: colorTransfer 3s linear infinite;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-menu {
  background: rgba(17, 17, 17, 0.95);
  border-radius: 5px;
  padding: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  margin: 0 1rem;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

.nav-menu.active {
  max-height: 500px; /* enough to show all menu items */
  opacity: 1;
}

/* Main glitch text */
.glitch {
  position: relative;
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(255,255,255,0.6);
  animation: flicker 0.22s infinite; /* slightly slower */
}

/* Duplicate glitch layers */
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: #fff;
  opacity: 0.8;
}

/* Top slice */
.glitch::before {
  left: -2px;
  clip-path: inset(0 0 50% 0);
  animation: shift1 0.28s infinite;
}

/* Bottom slice */
.glitch::after {
  left: 2px;
  clip-path: inset(50% 0 0 0);
  animation: shift2 0.28s infinite;
}

/* Flicker */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  30% { opacity: 0.5; }
  60% { opacity: 0.2; }
  90% { opacity: 0.8; }
}

/* Top jitter */
@keyframes shift1 {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2px,-1px); }
  50%  { transform: translate(2px,1px); }
  75%  { transform: translate(-1px,2px); }
  100% { transform: translate(0,0); }
}

/* Bottom jitter */
@keyframes shift2 {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(2px,1px); }
  50%  { transform: translate(-2px,-2px); }
  75%  { transform: translate(1px,2px); }
  100% { transform: translate(0,0); }
}

header {
  padding: 1rem;
  border-bottom: 1px solid #ffffff;
  background: #000000;
}

header h1 {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
}

header h4 {
  font-size: 0.8rem;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  margin-top: 0.5rem;
  justify-content: center;
  background: #111;
  border-radius: 5px;
  padding: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

nav ul li {
  background: #333;
  border-radius: 5px;
  transition: background 0.3s ease;
}

nav ul li a {
  display: block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 5px;
}

nav ul li a.active {
  background: #00ff00;
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,255,0,0.5);
}

/* Responsive navigation bar color shift */
@media (max-width: 900px) {
  nav ul li a.active {
    background: #39ff14;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(57,255,20,0.7);
  }
}

nav ul li a:hover {
  background: #555;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

main {
  padding: 2rem;
  max-width: 1080px;
  margin: 0 auto;
  background: linear-gradient(145deg, #000000, #6b6969);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(46, 204, 113, 0.7);
  margin-top: 20px;
  margin-bottom: 20px;
  color: #d0f0c0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.5s ease;
}

main:hover {
  background: linear-gradient(135deg, #9b9b9b, #242424);
  box-shadow: 0 12px 40px rgba(46, 204, 113, 0.9);
}

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@600&display=swap');

h2, h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  border-bottom: 1px solid #ff2164;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
}

p, ul {
  margin-bottom: 1.5rem;
  color: #fb3dff; /* neon green */
  text-shadow:none;
}

ul {
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
  color: #39ff14; /* neon green */
  text-shadow: none;
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #ffffff;
  font-size: 0.9rem;
  color: #ffffff;
  background: #000000;
}

/* Collapsible sections */
.collapsible {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  border: none;
  padding: 1rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  margin-bottom: 0.5rem;
  color: #000000;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px #333333;
}

.collapsible:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 0 6px 12px #333333;
}

.content {
  padding: 1rem;
  border: 1px solid #ffffff;
  margin-bottom: 1rem;
  display: none;
  background: #222222;
  border-radius: 5px;
  color: #ffffff;
  box-shadow: 0 0 10px #333333;
}

/* Call to action button */
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px #333333;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 0 6px 12px #333333;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active ul {
    display: flex;
  }

  main {
    padding: 1rem;
    margin: 10px;
  }

  .glitch {
    font-size: 2.5rem;
  }

  header h1 {
    font-size: 2.5rem;
  }
}

/* Auth form styles */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  min-height: 80vh;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.7);
  margin: 2rem auto;
  max-width: 420px;
  color: #d0f0c0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.5s ease;
}

.auth-container {
  width: 100%;
}

.auth-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #00ff00;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #00ff00;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
  color: #aaffaa;
  font-weight: 500;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #39ff14;
  text-shadow: 0 0 5px #39ff14;
  letter-spacing: 1px;
}

.form-input {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #39ff14;
  background: rgba(0, 0, 0, 0.7);
  color: #d0f0c0;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: inset 0 0 10px #39ff14;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px #00ff00;
  background: rgba(0, 0, 0, 0.9);
}

.form-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00ff00 0%, #39ff14 100%);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 0 15px #00ff00;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.form-button:hover {
  background: linear-gradient(135deg, #39ff14 0%, #00ff00 100%);
  box-shadow: 0 0 25px #39ff14;
  transform: scale(1.05);
}

.auth-link {
  text-align: center;
  margin-top: 1rem;
  color: #aaffaa;
  font-weight: 600;
}

.auth-link a {
  color: #00ff00;
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 0 5px #00ff00;
  transition: color 0.3s ease;
}

.auth-link a:hover {
  color: #39ff14;
}

.auth-tips {
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0 15px #39ff14;
  color: #aaffaa;
  font-size: 0.9rem;
  line-height: 1.4;
}

.auth-tips h3 {
  color: #00ff00;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 10px #00ff00;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.auth-tips ul {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.auth-tips li {
  margin-bottom: 0.5rem;
  color: #39ff14;
  text-shadow: 0 0 5px #39ff14;
  font-weight: 600;
}

/* Responsive adjustments for auth forms */
@media (max-width: 600px) {
  .auth-section {
    padding: 2rem 1rem;
    margin: 1rem;
  }

  .auth-title {
    font-size: 2rem;
  }

  .form-button {
    font-size: 1rem;
  }
}

/* New styles for hero video and overlay */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: brightness(0.6) contrast(1.2);
  transition: filter 0.5s ease;
}

.hero:hover .hero-video {
  filter: brightness(0.8) contrast(1.4);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,255,0,0.3), rgba(0,0,0,0.7));
  z-index: 1;
  pointer-events: none;
  border-radius: 15px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #00ff00;
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'Exo 2', sans-serif;
  text-shadow: 0 0 10px #00ff00;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: glowPulse 2.5s infinite alternate;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #aaffaa;
  text-shadow: 0 0 5px #00ff00;
}

.hero-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #00ff00 0%, #39ff14 100%);
  color: #000;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 0 20px #00ff00;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-size: 1.25rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: glowPulse 2.5s infinite alternate;
}

.hero-button:hover {
  box-shadow: 0 0 40px #39ff14;
  transform: scale(1.1);
  background: linear-gradient(135deg, #39ff14 0%, #00ff00 100%);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
  }
  100% {
    text-shadow: 0 0 20px #39ff14, 0 0 30px #39ff14;
  }
}

/* Enhanced section styles with glassmorphism and glowing effects */
main section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 255, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

main section.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease forwards;
}

main section:hover {
  box-shadow: 0 8px 40px rgba(0, 255, 0, 0.4);
  transform: translateY(-5px);
  border-color: rgba(0, 255, 0, 0.6);
}

/* Enhanced CTA button */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #00ff00 0%, #39ff14 100%);
  color: #000;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px #00ff00;
  font-size: 1.25rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: glowPulse 2.5s infinite alternate;
}

.cta-button:hover {
  box-shadow: 0 0 40px #39ff14;
  transform: scale(1.1);
  background: linear-gradient(135deg, #39ff14 0%, #00ff00 100%);
}

/* Hover animations for links */
main a {
  color: #39ff14;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

main a:hover {
  color: #00ff00;
  text-shadow: 0 0 10px #00ff00;
}

/* Responsive for hero */
@media (max-width: 900px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Floating particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  background: rgba(0, 255, 0, 0.5);
  border-radius: 50%;
  animation: float 10s infinite linear;
}

.particle:nth-child(1) { width: 4px; height: 4px; top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; top: 20%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; top: 30%; left: 50%; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; top: 40%; left: 20%; animation-delay: 3s; }
.particle:nth-child(5) { width: 4px; height: 4px; top: 50%; left: 90%; animation-delay: 4s; }
.particle:nth-child(6) { width: 7px; height: 7px; top: 60%; left: 30%; animation-delay: 5s; }
.particle:nth-child(7) { width: 3px; height: 3px; top: 70%; left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { width: 5px; height: 5px; top: 80%; left: 40%; animation-delay: 7s; }
.particle:nth-child(9) { width: 4px; height: 4px; top: 90%; left: 60%; animation-delay: 8s; }
.particle:nth-child(10) { width: 6px; height: 6px; top: 15%; left: 85%; animation-delay: 9s; }

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
