@import url("config.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  min-height: 100vh;
  overflow: hidden;
  cursor: none; /* Hide default cursor since we're using custom cursor */
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.video-background iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--semi-transparent-overlay); /* Semi-transparent overlay */
  z-index: -1;
}

#animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.container.centered-layout {
  flex-direction: column;
}

.container.two-column {
  justify-content: space-between;
}

.staff-panel {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 300px;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

/* Panels */
.panel {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 1.5rem;
  width: 300px;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 2rem;
}

.panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* List Items */
.list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.list-item {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  background: var(--light-glass-bg);
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.list-item:hover {
  transform: translateX(5px);
  background: var(--light-glass-bg-hover);
}

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.name {
  flex-grow: 1;
  font-weight: 500;
}

.tag,
.id {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.owner {
  background: var(--primary-gradient);
}

.admin {
  background: var(--secondary-gradient);
}

.id {
  background: var(--id-bg);
}

/* Center Content */
.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 2rem;
  width: 100%;
  max-width: 600px;
}

.logo-container {
  margin-bottom: 2rem;
}

.logo {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.5rem;
  letter-spacing: 8px;
  color: var(--primary);
  margin-top: -1rem;
}

.description {
  max-width: 600px;
  color: var(--light-text-color);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: var(--primary-gradient);
  cursor: pointer;
}

/* Loading Bar */
.loading-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 2;
}

.loading-bar {
  background: var(--glass-bg);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;
  background: var(--primary-gradient);
  transition: width 0.5s ease;
}

.loading-text {
  text-align: right;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--light-text-color);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.logo {
  animation: pulse 3s infinite;
}

/* Music Toggle Button */
.music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.music-toggle:hover {
  background: var(--primary-gradient);
}

/* Volume Control */
.volume-control {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 30px;
  height: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#volume-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  transform: rotate(-90deg);
}

#volume-slider:hover {
  opacity: 1;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: var(--primary);
  cursor: pointer;
  border-radius: 50%;
}

#volume-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: var(--primary);
  cursor: pointer;
  border-radius: 50%;
}

/* Custom Cursor */
#cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 1rem;
  }

  .panel {
    width: 250px;
  }

  .logo {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .container.centered-layout {
    padding: 1rem;
  }

  .panel {
    width: 100%;
    max-width: 300px;
  }

  .container.two-column {
    flex-direction: column;
    height: auto;
    gap: 2rem;
  }
  .center-content {
    padding: 1rem 0;
  }

  .logo {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .staff-panel {
    position: static;
    width: 100%;
    max-width: 300px;
    margin-bottom: 2rem;
  }

  .center-content {
    position: static;
    transform: none;
  }
}

