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

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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Orbitron', sans-serif;
  background: black;
  color: white;
  text-align: center;
  cursor: url('cursor.cur'), auto;
  transition: background-color 0.5s, color 0.5s;
}

body.dark-mode {
  background: #0b0b12;
  color: #00ffff;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4);
  transition: filter 0.5s;
  background: black;
}

body.dark-mode #bg-video {
  filter: brightness(0.6);
}

#bg-music {
  display: none;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  animation: fadeIn 2s ease;
}

.name {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px cyan;
  user-select: none;
}

.tagline {
  font-size: 1.2rem;
  color: #ccc;
  height: 1.5em;
  margin-bottom: 0.3rem;
  user-select: none;
}

.description {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 1.5rem;
  animation: fadeIn 2.4s ease;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.8rem 1.6rem;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid cyan;
  color: cyan;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  backdrop-filter: blur(6px);
  transition: 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px cyan;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: url('cursor.cur'), auto;
}

.btn:hover {
  background: cyan;
  color: black;
  transform: scale(1.05);
  box-shadow: 0 0 20px cyan, 0 0 30px cyan;
}

.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.btn:hover::before {
  opacity: 1;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: cyan;
  filter: drop-shadow(0 0 3px cyan);
  transition: filter 0.3s ease;
}

.btn:hover .social-icon {
  filter: drop-shadow(0 0 8px cyan);
}

.discord-box {
  padding: 1.5rem 2rem;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid cyan;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 850px;
  margin-top: 1.5rem;
  box-shadow: 0 0 15px cyan;
  transition: box-shadow 0.3s ease;
}

.discord-box:hover {
  box-shadow: 0 0 25px cyan, 0 0 40px cyan;
}

.discord-pfp {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid cyan;
  user-select: none;
}

.discord-info {
  text-align: left;
}

.discord-info h2 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  color: cyan;
  text-shadow: 0 0 6px cyan;
  user-select: none;
}

.discord-info p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #ddd;
  user-select: none;
}

.music-box {
  padding: 1.8rem 2.5rem;
  background: rgba(0, 255, 255, 0.07);
  border: 1.5px solid cyan;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 2rem;
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 850px;
  margin: 2rem auto 3rem auto;
  box-shadow: 0 0 20px cyan;
  justify-content: center;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.music-box:hover {
  box-shadow: 0 0 35px cyan, 0 0 50px cyan;
  background: rgba(0, 255, 255, 0.12);
}

.song-art {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid cyan;
  box-shadow: 0 0 15px cyan;
  user-select: none;
  transition: transform 0.3s ease;
}

.music-box:hover .song-art {
  transform: scale(1.1);
}

.song-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  user-select: none;
}

.song-title {
  font-size: 1.1rem;
  color: cyan;
  font-weight: 700;
  text-shadow: 0 0 8px cyan;
}

.song-artist {
  font-size: 1rem;
  color: #aaa;
  margin-top: 0.3rem;
}

.music-btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  background: cyan;
  color: black;
  font-weight: 700;
  cursor: url('cursor.cur'), auto;
  box-shadow: 0 0 10px cyan;
  border: none;
  user-select: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start;
}

.music-btn:hover {
  background: #00bfbf;
  box-shadow: 0 0 25px cyan;
}

#preloader {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid cyan;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 8px cyan);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#dark-mode-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 255, 255, 0.15);
  border: 2px solid cyan;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  color: cyan;
  cursor: url('cursor.cur'), auto;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px cyan;
  transition: background-color 0.3s, box-shadow 0.3s;
  z-index: 10000;
}

#dark-mode-toggle:hover {
  background: cyan;
  color: black;
  box-shadow: 0 0 20px cyan, 0 0 30px cyan;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .name {
    font-size: 2.2rem;
  }
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .discord-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .discord-info {
    text-align: center;
  }

  .music-box {
    flex-direction: column;
    padding: 1.2rem 1.8rem;
    gap: 1.2rem;
    max-width: 90vw;
    margin: 1.5rem auto 2rem auto;
  }

  .music-btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 0;
    border-radius: 10px;
  }
}

.music-box iframe,
.music-box iframe:hover {
  cursor: url('cursor.cur'), auto !important;
}
