:root {
  --color-bg: #000000;
  --color-box-bg: #050505;
  --color-border-idle: #333333;
  --color-border-active: #FFFFFF;
  --color-text-main: #FFFFFF;
  --color-text-muted: #888888;
  --glow-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-box: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.is-loading {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--color-text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-idle);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555555;
}

/* ── Loading Screen ── */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  color: #ffffff;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 72px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-idle);
}

.top-bar__logo {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.top-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 1.15rem;
  border: 1px solid var(--color-border-idle);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

.top-bar__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #f59e0b;
  flex-shrink: 0;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-video__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  width: 100%;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-box);
  overflow: hidden;
  border: 1px solid var(--color-border-idle);
  background: var(--color-box-bg);
  transition: border-color 0.3s ease;
}

.video-container:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.video-label__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.description-section {
  position: relative;
  z-index: 1;
  max-width: 650px;
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.description-text {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.01em;
  font-family: var(--font-body);
}

.description-text strong {
  color: var(--color-text-main);
}

.cta-section {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: #000000;
  background: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-button:hover {
  background: #e5e5e5;
  transform: translateY(-1px);
  text-shadow: none;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-button--discord {
  background: #5865F2;
  color: #FFFFFF;
  gap: 0.5rem;
}

.cta-button--discord:hover {
  background: #4752C4;
  color: #FFFFFF;
  text-shadow: none;
}

.cta-button__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cta-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: transparent;
  margin-top: auto;
}

.footer__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer__logo:hover {
  opacity: 1;
}

.footer__text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-text-main);
}

@media (max-width: 768px) {
  .top-bar {
    height: 56px;
    padding: 0 1rem;
  }

  .top-bar__logo {
    height: 26px;
  }

  .top-bar__badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.85rem;
    gap: 6px;
  }

  .top-bar__badge-dot {
    width: 6px;
    height: 6px;
  }

  .hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .description-text {
    font-size: 0.95rem;
  }

  .video-section {
    margin-bottom: 1.5rem;
  }

  .cta-button {
    padding: 0.7rem 1.75rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 2rem 1rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .description-text {
    font-size: 0.9rem;
  }

  .footer__links {
    gap: 1rem;
  }
}
