/* GENERAL SETUP */
:root {
  --primary-color: #ede7f4;
  --border-color: #bfb3c7;
  --glow-color: rgba(237, 231, 244, 0.5);
}

body {
  margin: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  font-family: "Lexend", "Noto Sans", sans-serif;
  color: #fff;
  background: #000000;
  position: relative;
}

.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.flex-col {
  flex-direction: column;
}
.justify-between {
  justify-content: space-between;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.w-6 {
  width: 1.5rem;
}
.h-6 {
  height: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.h-8 {
  height: 2rem;
}
.w-10 {
  width: 2.5rem;
}
.h-10 {
  height: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.h-12 {
  height: 3rem;
}
.w-20 {
  width: 5rem;
}
.h-20 {
  height: 5rem;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.bg-transparent {
  background: transparent;
}
.transform-3d {
  transform-style: preserve-3d;
}
.transition-all {
  transition-property: all;
  transition-duration: 500ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.hover\:scale-110:hover {
  transform: scale(1.1);
}
.scale-90 {
  transform: scale(0.9);
}
.fill-white {
  fill: var(--primary-color);
}
.transition-colors {
  transition-property: color;
  transition-duration: 300ms;
}
.drop-shadow-lg {
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04))
    drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}
.mb-4 {
  margin-bottom: 1rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}
.text-8px {
  font-size: 0.5rem;
}
.pr-1 {
  padding-right: 0.25rem;
}
.border-white {
  border-color: var(--primary-color);
}
.border-r-2 {
  border-right-width: 2px;
}
.animate-blink {
  animation: blink 0.7s infinite;
}
.perspective-distant {
  perspective: 1000px;
}
.p-2 {
  padding: 0.5rem;
}
.border-2 {
  border-width: 2px;
}
.border-color-bfb3c7 {
  border-color: var(--border-color);
}
.w-5ch {
  width: 5ch;
}
.cursor-pointer {
  cursor: pointer;
}
.z-1000 {
  z-index: 1000;
}
.fixed {
  position: fixed;
}
.bottom-4 {
  bottom: 1rem;
}
.left-4 {
  left: 1rem;
}

.main-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.typewriter-container {
  position: relative;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.full-text {
  visibility: hidden;
  white-space: nowrap;
  display: inline-block;
}

.typing-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  padding-right: 0.25rem;
  white-space: nowrap;
  font-family: "Lexend", sans-serif;
}

.typing-text::after {
  content: " ";
  margin-left: 2px;
  border-right: 2px solid #fff;
  animation: blink 0.7s steps(1) infinite;
}

.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 22rem;
}

.social-icons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
}

.discord-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  margin-top: 1.5rem;
  width: 20rem;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.discord-text {
  margin-left: 1rem;
  font-family: "Lexend", sans-serif;
}

.member-stats {
  font-size: 0.75rem;
  color: #fff;
  margin-top: 2px;
  font-family: "Lexend", sans-serif;
}

.discord-icon {
  width: 64px;
  height: 64px;
  transition: all 500ms;
}

.join-btn {
  padding: 6px 16px;
  background-color: transparent;
  color: #fff;
  font-family: "Lexend", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: lowercase;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
  border: none;
  outline: none;
  text-shadow: 0 0 8px #ffffff;
}

.join-btn:hover {
  transform: scale(1.05);
  text-shadow: 0 0 12px #ffffff;
}

.join-btn:focus {
  outline: none;
  text-shadow: 0 0 12px #ffffff;
}

.group {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-radius: 0.25rem;
  transition: all 0.5s ease;
}

.group:hover {
  transform: scale(1.1);
}

.icon-glow {
  filter: drop-shadow(0 0 4px var(--glow-color));
}

.group:hover .icon-glow {
  filter: drop-shadow(0 0 8px var(--glow-color));
}

.audio-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 1000;
}

.audio-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.song-name {
  color: #ede7f4;
  font-size: 0.75rem;
  font-family: "Lexend", sans-serif;
  text-align: center;
  white-space: nowrap;
}

.play-button {
  background: transparent;
  border: 2px solid #6d6d7a;
  border-radius: 9999px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.play-button:hover {
  border-color: #7e7e8a;
}

.play-icon,
.pause-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: #ede7f4;
}

.hidden {
  display: none;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 6rem;
  height: 0.25rem;
  background: #6d6d7a;
  outline: none;
  border-radius: 0.125rem;
  transition: background 0.3s ease;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  background: #ede7f4;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.volume-slider::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  background: #ede7f4;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.volume-slider:hover::-webkit-slider-thumb,
.volume-slider:hover::-moz-range-thumb {
  background: #d8d1e0;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Responsive Design */
@media (max-width: 640px) {
  .icon-container {
    width: 18rem;
  }
  .social-icons {
    width: 100%;
    gap: 0.25rem;
  }
  .discord-card {
    width: 18rem;
    flex-direction: column;
    text-align: center;
  }
  .join-btn {
    margin-top: 0.5rem;
  }
  .social-icons a.small-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .social-icons a.small-icon img {
    width: 1.5rem;
    height: 1.5rem;
  }
  .social-icons a:not(.small-icon) {
    width: 2rem;
    height: 2rem;
  }
  .social-icons a:not(.small-icon) img {
    width: 2rem;
    height: 2rem;
  }
  .typewriter-container {
    font-size: 1rem;
  }
  .typing-text {
    font-size: 0.75rem;
  }
  .discord-icon {
    width: 3rem;
    height: 3rem;
  }
  .audio-controls {
    bottom: 0.75rem;
    left: 0.75rem;
  }
  .play-button {
    width: 2rem;
    height: 2rem;
  }
  .play-icon,
  .pause-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .volume-slider {
    width: 4rem;
  }
  .song-name {
    font-size: 0.625rem;
  }
}
