* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background-color: #ddd;
  color: #000000;
}

body {
  font-family: "Satoshi", sans-serif;
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;

  transition: background-color 0.8s ease;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 0;
}

body.light-on {
  background-color: #026842;
}

body.light-on::before {
  opacity: 1;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-container {
  position: relative;
  width: 50px;
  height: 50px;
}

@keyframes loader_5191 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.square {
  background: #ddd;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -5px;
  margin-left: -5px;
}

#sq1 {
  margin-top: -25px;
  margin-left: -25px;
  animation: loader_5191 675ms ease-in-out 0s infinite alternate;
}

#sq2 {
  margin-top: -25px;
  animation: loader_5191 675ms ease-in-out 75ms infinite alternate;
}

#sq3 {
  margin-top: -25px;
  margin-left: 15px;
  animation: loader_5191 675ms ease-in-out 150ms infinite;
}

#sq4 {
  margin-left: -25px;
  animation: loader_5191 675ms ease-in-out 225ms infinite;
}

#sq5 {
  animation: loader_5191 675ms ease-in-out 300ms infinite;
}

#sq6 {
  margin-left: 15px;
  animation: loader_5191 675ms ease-in-out 375ms infinite;
}

#sq7 {
  margin-top: 15px;
  margin-left: -25px;
  animation: loader_5191 675ms ease-in-out 450ms infinite;
}

#sq8 {
  margin-top: 15px;
  animation: loader_5191 675ms ease-in-out 525ms infinite;
}

#sq9 {
  margin-top: 15px;
  margin-left: 15px;
  animation: loader_5191 675ms ease-in-out 600ms infinite;
}

#content {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

#content.hidden {
  opacity: 0;
  pointer-events: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;

  transition: background-color 0.8s ease;
}

body.light-on header {
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.navbar-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: opacity 0.3s ease;
  opacity: 0.9;
}

.navbar-logo:hover {
  opacity: 1;
}

body.light-on .navbar-logo {
  opacity: 1;
}

.navbar-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.8s ease;
}

body.light-on .navbar-divider {
  background-color: rgba(255, 255, 255, 0.3);
}

.members-btn {
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 600;
}

.members-btn:hover {
  color: #000000;
  background-color: rgb(255, 255, 255);
  border-color: rgba(255, 255, 255, 0.4);
}

body.light-on .members-btn {
  border-color: rgba(255, 255, 255, 0.3);
}

body.light-on .members-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
}

#particles-canvas.active {
  opacity: 1;
}

main {
  padding-top: 100px;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 10;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

.hero-intro {
  font-size: 15px;
  color: #ff4d4d;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
  font-weight: 500;

  transition: color 0.8s ease;
}

body.light-on .hero-intro {
  color: #fef3c7;
}

.hero h1 {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 56px;
  line-height: 1.1;

  transition: color 0.8s ease;
}

body.light-on .hero h1 {
  color: #ffffff;
}

.hero-cta {
  background: linear-gradient(black, black) padding-box,
    conic-gradient(from var(--angle, 0), transparent, white 10%, transparent 20%) border-box;
  color: #ffffff;
  border: 3px solid transparent;
  border-radius: 60px;
  padding: 28px 64px;
  font-size: 24px;
  font-weight: 600;
  font-family: "Satoshi", sans-serif;
  cursor: none;

  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
  position: relative;
  overflow: visible;
  width: 360px;
  justify-content: center;
  isolation: isolate;
}

.hero-cta:hover {
  color: #000000;
  background: #ffffff;
}

.hero-cta:active {
  transform: scale(0.96);
}

.hero-disclaimer {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;

  transition: color 0.8s ease;
}

body.light-on .hero-disclaimer {
  color: rgba(255, 255, 255, 0.7);
}

.dream-text {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.8s ease;
  letter-spacing: 0.5px;
}

.dream-text.hidden {
  display: none;
}

body.light-on .dream-text {
  color: #ffffff;
}

@media (max-width: 768px) {
  .hero-intro {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-cta {
    padding: 20px 48px;
    font-size: 20px;
  }

  .hero-disclaimer {
    font-size: 11px;
  }
}

#cursor-follower {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cursor-follower.active {
  opacity: 1;
}

#cursor-follower svg {
  width: 32px;
  height: 32px;
  color: black;
}
