/* GLOBAL NAVBAR */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px;
  z-index: 1000;
}

.top-nav a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  font-weight: 500;
}

.top-nav a.active,
.top-nav a:hover {
  opacity: 1;
  color: #00b3ff;
}

.top-nav .logo {
  position: absolute;
  left: 20px;
  top: 8px;
  display: flex;
  align-items: center;
  z-index: 1002;
}

.top-nav .logo img {
  height: 40px;
  width: auto;
  display: block;
}


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

body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at top, #0b1c3a, #020814);
  color: white;
  overflow-x: hidden;
}

/* CANVAS */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* GLOW TEXT */
.glow {
  font-size: 4em;
  letter-spacing: 6px;
  text-shadow:
    0 0 10px #00b3ff,
    0 0 20px #0077ff,
    0 0 40px #0055ff,
    0 0 60px #a855f7;
  animation: pulse 3s infinite;
}

.subtitle {
  margin-top: 15px;
  font-size: 1.3em;
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* ENHANCED BUTTONS */
.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons a {
  padding: 18px 35px;
  border-radius: 35px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #00b3ff, #0077ff);
  border: 2px solid #00b3ff;
  box-shadow:
    0 0 20px rgba(0, 179, 255, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 0 40px rgba(0, 179, 255, 0.8),
    0 10px 30px rgba(0, 179, 255, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-secondary {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border: 2px solid #a855f7;
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 0 40px rgba(168, 85, 247, 0.8),
    0 10px 30px rgba(168, 85, 247, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-icon {
  font-size: 1.3em;
  animation: float 2s infinite ease-in-out;
}

.btn-primary:hover .btn-icon {
  animation: spin 1s linear infinite;
}

.btn-secondary:hover .btn-icon {
  animation: pulse 0.5s ease-in-out infinite;
}

/* Animations are now in animations.css */

/* LANGUAGE SWITCHER */
.language-switcher {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 1001;
  flex-direction: row;
}

.lang-btn {
  padding: 8px 16px;
  border: 2px solid #00b3ff;
  background: transparent;
  color: #00b3ff;
  border-radius: 20px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-btn:hover {
  background: rgba(0, 179, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 179, 255, 0.5);
  transform: scale(1.05);
}

.lang-btn.active {
  background: linear-gradient(135deg, #00b3ff, #0077ff);
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(0, 179, 255, 0.8), 0 0 40px rgba(168, 85, 247, 0.6);
  color: white;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.lang-btn.active:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 179, 255, 1), 0 0 60px rgba(168, 85, 247, 0.8);
}

@media (max-width: 768px) {
  .language-switcher {
    top: 70px;
    left: 10px;
  }
  
  .lang-btn {
    padding: 6px 12px;
    font-size: 0.8em;
  }
}
