/* Initial state - hide the content but keep it loaded */
@font-face {
font-family: 'Cyberdyne';
src: url('../fonts/cyberdynegrad.ttf') format('truetype');
font-weight: regular;
font-style: regular;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500&display=swap');

html {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
background-color: black !important; /* Override any white background */
font-family: 'Cyberdyne', Arial, sans-serif;
margin: 0;
padding: 0;
overflow: hidden;
}

/* Hide all content initially except the intro overlay */
body > *:not(#intro-overlay) {
opacity: 0;
transition: opacity 3s ease;
visibility: visible; /* Keep it in the DOM but invisible */
}

/* The clickable overlay */
#intro-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999;
cursor: pointer;
}

/* Main title styling */
#intro-title {
color: white;
font-size: 5em;
font-family: 'Cyberdyne', Arial, sans-serif;
letter-spacing: 10px;
margin-bottom: 20px;
}

/* Click me text styling */
#click-text {
color: rgba(255, 255, 255, 0.7);
font-size: 1.5em;
font-family: 'Cyberdyne', Arial, sans-serif;
animation: blink 3s infinite;
}

/* Warning text styling */
#warning-text {
color: rgba(255, 74, 74, 0.9);
font-size: 1.0em;
font-family: 'Cyberdyne', Arial, sans-serif;
margin-top: 40px;
}

/* Pulsing animation for "click me" text */
@keyframes blink {
0% { opacity: 0.4; }
50% { opacity: 1; }
100% { opacity: 0.4; }
}

/* Echokinetic text that appears during audio - using same style as intro-title */
#echokinetic-overlay {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
text-align: center;
background-color: rgba(0, 0, 0, 0.7);
color: white;
padding: 20px 0;
font-size: 5em;
font-family: 'Cyberdyne', Arial, sans-serif;
font-weight: bold;
letter-spacing: 10px;
opacity: 0;
transition: all 1s ease;
z-index: 1000;
display: none;
}

/* Animation for disappearing */
@keyframes fadeOut {
from { opacity: 1; transform: translate(-50%, -50%); }
to { opacity: 0; transform: translate(-50%, -30%); }
}

.fade-out {
animation: fadeOut 2s forwards;
}

/* Subtitle styling */
#subtitle-container {
position: fixed;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
text-align: center;
background-color: rgba(0, 0, 0, 0.7);
color: white;
font-family: 'Cyberdyne', Arial, sans-serif;
font-size: 1.5em;
opacity: 0;
z-index: 2000;
padding: 10px 0;
}

.fade-in-out {
animation: fadeInOut 4s ease-in-out forwards;
}

@keyframes fadeInOut {
0% { opacity: 0; }
20% { opacity: 1; }
80% { opacity: 1; }
100% { opacity: 0; }
}

/* Notification Styling */
.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #00FFFF;
  font-family: 'Cyberdyne', Arial, sans-serif;
  font-size: 1.8em;
  border-radius: 8px;
  z-index: 9999;
  transition: opacity 0.5s ease;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
  border: 2px solid #00FFFF;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  pointer-events: none; /* Allows clicking through the notification */
}

/* Specific styles for different notification types */
.notification.volume {
  color: #00CCFF;
  border-color: #00CCFF;
  box-shadow: 0 0 15px rgba(0, 204, 255, 0.5);
}

.notification.speed {
  color: #00FFFF;
  border-color: #00FFFF;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.notification.pause {
  color: #FF9900;
  border-color: #FF9900;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.5);
}

.notification.resume {
  color: #00FF99;
  border-color: #00FF99;
  box-shadow: 0 0 15px rgba(0, 255, 153, 0.5);
}

.notification.beat-on {
  color: #00FF00;
  border-color: #00FF00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.notification.beat-off {
  color: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.notification.audio-effect {
  color: #FF00FF;
  border-color: #FF00FF;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

/* Animation for the notification */
@keyframes notificationPulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

.notification {
  animation: notificationPulse 1s infinite;
}










/* Second menu - TOP LEFT */

/* Make sure the new menu doesn't interfere with the existing one */
.question-mark-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10001; /* Higher than both notifications and the bottom menu */
}

/* Add this to your CSS file */

/* Question Mark Menu Styles */
.question-mark-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10001; /* Higher than notifications */
  font-family: 'Cyberdyne', Arial, sans-serif;
}

.question-mark {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #00FFFF;
  border: 2px solid #00FFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.question-mark:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.menu-content {
  position: absolute;
  top: 50px;
  left: 0;
  width: 250px;
  background-color: rgba(0, 0, 0, 0.9);
  border: 2px solid #00FFFF;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10001;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #FF00FF;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-button:hover {
  transform: scale(1.2);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.menu-item {
  color: #9AD2E6;
  font-size: 18px;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.menu-item:hover {
  background-color: rgba(157, 101, 255, 0.3);
  color: #FFFFFF;
}

/* Submenu Styles */
.submenu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: auto;
  max-height: 90vh;
  background-color: rgba(0, 0, 0, 0.95);
  border: 2px solid #9d65ff;
  border-radius: 0 0 15px 0;
  padding: 20px;
  box-shadow: 0 0 30px rgba(157, 101, 255, 0.6);
  overflow-y: auto;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10002;
}

.submenu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #FF00FF;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10003;
}

.submenu-close:hover {
  transform: scale(1.2);
}

.submenu-content {
  padding: 20px;
  color: #FFFFFF;
  font-family: 'Cyberdyne', Arial, sans-serif;
}

/* About Project Styles */
.cover-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  border: 2px solid #73D2DE;
  border-radius: 10px;
}

.mission-statement {
  font-size: 1.3em;
  color: #9AD2E6;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: left;
}

.description {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #ffffff;
  display: block;
}

/* How to Interact Styles */
.interaction-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 15px;
  background-color: rgba(8, 65, 92, 0.3);
  border-radius: 10px;
  border-left: 3px solid #9d65ff;
}

.card-image {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  border-left: 2px solid #00FFFF; /* Added cyan border */
}

.card-text {
  flex: 1;
}

.card-text h3 {
  color: #73D2DE;
  margin-top: 0;
  margin-bottom: 10px;
}

.funding-note {
  text-align: center;
  font-style: italic;
  color: #73D2DE;
  margin-top: 30px;
}

/* Contact Us Styles */
.contact-card {
  margin-bottom: 40px;
}

.contact-card h3 {
  color: #9d65ff;
  border-bottom: 1px solid #38768A;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.contact-image {
  flex: 0 0 150px;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid #73D2DE;
}

.contact-bio {
  flex: 1;
  font-size: 0.9em;
  line-height: 1.5;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #73D2DE;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #9d65ff;
  text-decoration: underline;
}

.funding-logos, .support-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0 30px;
  cursor: pointer;
}

.funding-logos img, .support-logos img {
  height: 40px;
  width: auto;
  margin-top: 10px;
}

canvas {
  display: block;
  position: fixed; /* Fixed position to stay in the background */
  top: 0;
  left: 0;
  z-index: -1; /* Behind other content */
}

/* Bottom Menu Styles */
.menu-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 250px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8); /* Changed to dark background */
  border-radius: 20px;
  border: 2px solid #00FFFF; /* Added cyan border */
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); /* Added glow effect */
  backdrop-filter: blur(15px);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 45px; /* Increased gap between dots */
}

/* Add pulse animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  position: relative;
}

/* Remove animation from base .dot class */
.dot:not(:first-child) {
  animation: pulse 2s infinite;
}

.dot:first-child {
  background-color: #00FFFF; /* Changed to cyan */
  animation: none;
}

.dot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: orbit 3s linear infinite;
}

.dot.active {
  background: #00FFFF; /* Changed to cyan */
  transform: scale(1.2);
}

.dot.active::before {
  border-color: #00FFFF; /* Changed to cyan */
}

.dot:hover {
  transform: scale(1.3);
  background-color: #00FFFF; /* Change to cyan on hover */
}

@keyframes orbit {
  0% { transform: rotate(0deg); border-color: rgba(0, 255, 255, 0.2); }
  33% { border-color: rgba(0, 255, 255, 0.5); }
  66% { border-color: rgba(0, 255, 255, 0.7); }
  100% { transform: rotate(360deg); border-color: rgba(0, 255, 255, 0.2); }
}

/* Mobile swipe hint */
@media (max-width: 768px) {
  .menu-container::before {
    content: 'Swipe to navigate';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 10px;
    animation: fadeOut 3s forwards;
    text-shadow: 0 0 10px rgba(115, 210, 222, 0.5);
  }
}

@keyframes fadeOut {
  0% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { opacity: 0; }
}



















/* Mobile Responsiveness */
@media (max-width: 768px) {
  .submenu-container {
    width: 90%;
  }
  
  .contact-info {
    flex-direction: column;
  }
  
  .contact-image {
    flex: 0 0 auto;
    margin-bottom: 15px;
  }
  
  .interaction-card {
    flex-direction: column;
  }
  
  .card-image {
    flex: 0 0 auto;
    margin-bottom: 15px;
  }
}