* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

:root {
  --darker: #101010;
  --accent: #a85db9;
  --support: #775dec;
  --lightest: #ededed;
  --fontBody: 'Inter', sans-serif;
  --fontTitle: 'Unbounded', sans-serif;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: var(--fontBody);
  color: var(--lightest);
  background-color: var(--darker);
  overflow-x: hidden;
  overflow-y: auto;
  cursor: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #181818;
}
::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 10px;
  border: 2px solid #181818;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--support);
}

a {
  text-decoration: none;
  color: var(--accent);
  cursor: none;
}

.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid #ffffff80;
}

#desktopHeader {
  width: 100vw;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(168, 93, 185, 0.1) 0%, var(--darker) 75%);
  position: relative;
}

#desktopHeader > * {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.focal {
  position: relative;
  display: block;
  z-index: 10;
  animation: fadeIn 2s ease-in-out, float 6s ease-in-out infinite;
}

.focal img {
  max-width: 100%;
  height: auto;
}

.focal.blur {
  display: none;
  z-index: 1;
  transform: scale(1.5);
  filter: blur(25px);
  mix-blend-mode: color;
  opacity: 0.7;
  animation: fadeIn 2s ease-in-out, float 6s ease-in-out infinite;
}

@keyframes float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
	100% { transform: translateY(0px); }
}

.background-title {
  z-index: 5;
  animation: fadeIn 2s ease-in-out, float 6s ease-in-out infinite;
}

.background-title h1 {
  font-family: var(--fontTitle);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--lightest);
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--support), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animated-gradient 5s linear infinite;
}

@keyframes animated-gradient {
  from { background-position: 0% center; }
  to { background-position: -200% center; }
}

.social-links-container {
  align-self: end;
  z-index: 15;
  padding-bottom: 4vh;
  animation: fadeIn 2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.social-links a {
  position: relative;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.social-links a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 160%;
  left: 50%;
  padding: 7px 15px;
  background-color: #121212;
  color: var(--lightest);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 20px rgba(168, 93, 185, 0.2);
  font-size: 14px;
  font-family: var(--fontBody);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 100;
  transform: translateX(-50%) translateY(5px);
}

.social-links a:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

#discord-widget-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
}

@media (max-width: 768px) {
  body, html {
    cursor: auto;
  }
  .cursor-dot, .cursor-outline {
    display: none;
  }
  a {
    cursor: pointer;
  }
  .focal {
    transform: scale(0.8);
  }
  .focal.blur {
    transform: scale(1.2);
  }
  @keyframes float {
    0% { transform: scale(0.8) translateY(0px); }
    50% { transform: scale(0.8) translateY(-15px); }
    100% { transform: scale(0.8) translateY(0px); }
  }
  .background-title h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .social-links {
    gap: 25px;
  }
  .social-links-container {
    padding-bottom: 5vh;
  }
  .social-links a {
    font-size: 24px;
  }
  .social-links a::before {
    bottom: 150%;
    font-size: 13px;
    padding: 6px 14px;
  }
  #discord-widget-container {
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: auto;
  }
}