/* ============================ COLOR PALETTE ============================ */
:root {
  --text: rgba(223,223,242);
  --BosonBlue: #170032;
  --BosonShadow: #08001180;
  --BosonShadow2: #0e001dc8;
  --ProtonPurple: #37025a;
  --ProtonShadow: rgba(14, 0, 23, 0.436);
  --ProtonShadow2: rgba(24, 1, 40, 0.758);
  --VortexViolet: #830cde;
  --PlasmaPurple: #A55AFF;;
  --NuclearFuscia:#dc4ce8;
  --ParticlePink: #FFC7FF;
  --RadiationRed: #730132;
  --AlphaAqua: #67FEBD;
  --AquaAura: #00ffff;
  --AtomicAqua: #9EFF9E;
  --White: #FFFFFF; 
  --Black: #000000;
  --DarkDarkGray: #2A3439;
  --DarkCooGray: #657383;
  --Gray: #8391A1;
  --CoolGray: #9090C0;
  --MutedGray: #C4C3D0;
  --LightGray: #DBE2E9;
}

/* ============================ FONTS ============================ */
@font-face {
  font-family: 'GothNerd'; 
  src: url('../fonts/ScienceGothic.ttf') format('truetype'); 
}

@font-face {
  font-family: 'SpaceLetters'; 
  src: url('../fonts/Orbitron-Bold.ttf') format('truetype'); 
}

/* ============================ ANIMATIONS ============================ */
@keyframes neonPulse {
  from { 
    text-shadow: 
      0 0 10px var(--ParticleGlow2),
      0 0 20px var(--ParticleGlow3),
      0 0 30px var(--ParticleGlow3);
  }
  to { 
    text-shadow: 
      0 0 20px var(--ParticleGlow3),
      0 0 30px var(--NuclearFuscia),
      0 0 40px var(--NuclearFuscia);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--NuclearFuscia); }
  50% { box-shadow: 0 0 40px var(--NuclearFuscia); }
}



/* ============================ BASE STYLES ============================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh; 
    height: 100%; 
    color: #FFFFFF;
    background-repeat: no-repeat; 
    background-attachment: fixed;
}

/* ============================ NAVBAR ============================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100vw;
  background: linear-gradient(135deg, var(--BosonShadow) 0%, var(--ProtonShadow) 50%, var(--BosonShadow) 100%);
  backdrop-filter: blur(50px);
  border-bottom: 1px solid var(--PlasmaPurple);
  box-shadow: 0 0 30px var(--PlasmaPurple);
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom:  0.7rem;
  padding-right: 1.5rem;
  padding-left: 1rem;
  height: 30px;
  max-height:30px;
}

.home-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.home-icon {
  width: auto;
  height: 30px;
  top: 50%;
  mask: none !important;
  -webkit-mask: none !important;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.home-icon:hover {
  transform: scale(1.5);
  filter: drop-shadow(0 0 30px var(--AquaAura));
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.7rem;
  background: linear-gradient(45deg, var(--ParticlePink), var(--NuclearFuscia), var(--AlphaAqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: neonPulse 2s ease-in-out infinite alternate;
  font-family: 'SpaceLetters', sans-serif;
  z-index: 900;
  flex-shrink: 0;
}

/* ============================ HELP DROPDOWN ============================ */
.help-dropdown {
  position: relative;
  display: inline-block;
}


.help-icon {
  width: 28px;
  height: 28px;
  top: 50%;
  background: transparent;
  color: var(--AquaAura);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.help-icon:hover {
  transform: scale(1.1) rotate(180deg);
  box-shadow: 
    0 0 25px var(--AquaAura),
    0 0 35px var(--AlphaAqua);
}

.help-dropdown.active .help-icon {
  background: var(--AquaAura);
  color: var(--Black);
}

.question-mark {
  font-size: 28px;
  font-family: 'GothNerd';
  color: var(--AquaAura);
  text-shadow: 0 0 10px var(--AquaAura);
  z-index: 2;
  margin: 0;                  
  line-height: 1;            
  display: flex;              
  align-items: center;       
  justify-content: center;    
  height: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  border: 1px solid var(--AquaAura);
  box-shadow: 0 3px 5px var(--AquaAura);
  backdrop-filter: blur(15px);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.dropdown-menu button {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  color: #ffffff;
  border: none;
  text-align: left;
  font-family: 'GothNerd', sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid var(--PlasmaPurple);
}

.dropdown-menu button:hover {
  background: rgba(101,115,131,0.25);
  border-color: var(--PlasmaPurple);
  box-shadow: 0 0 20px var(--VortexViolet);
  text-shadow: none;
  border-radius:12px;
  padding-left: 30px;
}

.dropdown-menu button:last-child {
  border-bottom: none;
}

.help-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* ============================ LEFT DROPDOWN MENU ============================ */
.left-dropdown {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.menu-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-trigger .home-icon {
  transition: all 0.3s ease;
}

.menu-trigger:hover .home-icon {
  transform: scale(1.5);
  filter: drop-shadow(0 0 30px var(--AquaAura));
}

.left-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  border: 1px solid var(--AquaAura);
  box-shadow: 0 3px 5px var(--AquaAura);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  padding: 10px 0;
  z-index: 9999;
}

.left-dropdown.active .left-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.menu-item {
  display: block;
  width: 100%;
  padding: 14px 20px;
  color: var(--White);
  text-align: left;
  text-decoration: none;
  font-family: 'GothNerd', sans-serif;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.menu-item:hover {
  background: rgba(101,115,131,0.25);
  color: white;
  padding-left: 30px;
  box-shadow: 0 0 20px var(--VortexViolet);
}

.social-links {
  margin-top: 20px;
  padding: 15px 20px 10px;
  border-top: 1px solid var(--PlasmaPurple);
  display: flex;
  justify-content: space-around;
  gap: 15px;
}

.social-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.social-icon:hover {
  opacity: 1;
  transform: scale(1.1) translateY(-1px);
  filter: drop-shadow(0 0 15px var(--AquaAura)) brightness(0) invert(1);
}

/* ============================ MODALS ============================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.562);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto; 
}

.modal-content {
  background: linear-gradient(135deg, var(--BosonBlue), var(--Black));
  border: 3px solid var(--VortexViolet);
  box-shadow: 0 0 50px var(--VortexViolet);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, var(--ProtonPurple), var(--BosonBlue));
  padding: 1.5rem;
  border-bottom: 2px solid var(--VortexViolet);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  font-family: 'GothNerd', sans-serif;
}

.modal-title {
  font-family: 'GothNerd', sans-serif;
  font-size: 1.8rem;
  background: linear-gradient(45deg, var(--ParticlePink), var(--NuclearFuscia), var(--AlphaAqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  flex: 1;
  text-align: left;
}

.modal-close {
  background: var(--RadiationRed);
  color: var(--ParticlePink);
  border: 2px solid var(--ParticlePink);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;

}

.modal-close:hover {
  background: var(--ParticlePink);
  color: var(--BosonBlue);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px var(--ParticlePink);
}

.modal-body {
  padding: 2rem;
  line-height: 1.6;
  font-size: 1.2rem;
}

.modal-body h3 {
  color: var(--NuclearFuscia);
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.5rem;
  text-shadow: 0 0 10px var(--NuclearFuscia);
  font-family: 'GothNerd', sans-serif;
}

.modal-body p {
  margin: 1.2rem 0;
  font-family: Arial, Helvetica, sans-serif;
}

.modal-body ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.modal-body li {
  margin: 0.5rem 0;
  font-family: Arial, Helvetica, sans-serif;
}

.mission-text {
  font-size: 1.2rem;
  text-align: left;
  margin: 2.5rem 0;
  padding: 1rem;
  background: rgba(131,12,222, 0.3);
  border-radius: 25px;
  color: var(--AlphaAqua);
  font-family: Arial, Helvetica, sans-serif;
}

.btn-quantum-pulse {
  background: linear-gradient(45deg, var(--VortexViolet), var(--NuclearFuscia));
  color: var(--White);
  border: 2px solid var(--ParticlePink);
  padding: 12px 24px;
  font-family: 'GothNerd', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
  margin: 2rem auto;
  box-shadow: 0 0 20px var(--VortexViolet);
}

.btn-quantum-pulse:hover {
  background: linear-gradient(45deg, var(--NuclearFuscia), var(--AlphaAqua));
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--NuclearFuscia);
}



/* ============================ TIP JAR ============================ */
        #kofi-float {
            position: fixed;
            bottom: 10px;
            left: 15px;
            z-index: 1000;
            cursor: pointer;
        }

        #kofi-float img {
            width: 50px; 
            height: auto;

            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        #kofi-float:hover img {
            transform: scale(1.1); 
        }

        
        .hearts {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 150px;
            pointer-events: none; 
            overflow: hidden;
  
        }

       
        .heart {
            position: absolute;
            bottom: 50px;
            left: 30px;
            font-size: 16px;
            animation: float-up 3s infinite ease-in;
            opacity: 0;
        }

        @keyframes float-up {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-120px) translateX(var(--drift)) rotate(45deg);
                opacity: 0;
            }
        }

        
        #kofi-float .hearts .heart {
            display: none;
        }

        
        #kofi-float:hover .hearts .heart {
            display: block;
            animation-delay: var(--delay);
        }



/* ============================ RESPONSIVE ============================ */
@media (max-width: 768px) {
  .modal-content {
    margin: 10px;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 1.3rem;
  }
}

/* ============================ UTILITY CLASSES ============================ */
.page-content {
  margin-top: 65px;
  padding: 20px;
}