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

:root {
  --accent: #6342fb;
  --accent-glow: rgba(99, 66, 251, 0.35);
  --bg: #0b0b0b;
  --text: #f2f2f2;
  --text-dim: rgba(255, 255, 255, 0.62);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.18);
}

html,
body {
  min-height: 100%;
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(99, 66, 251, 0.14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.5) 0%, rgba(8, 7, 10, 0.9) 100%);
}

.game-rain {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.game-rain-item {
  position: absolute;
  top: -12vh;
  height: auto;
  animation: game-rain-fall linear infinite;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

@keyframes game-rain-fall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(var(--rain-rotate, 0deg));
  }

  100% {
    transform: translate3d(var(--rain-drift, 0px), 112vh, 0)
      rotate(calc(var(--rain-rotate, 0deg) + 160deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-rain-item,
  .site-badge-coming {
    animation: none !important;
  }

  .site-badge-coming {
    opacity: 1;
    transform: none;
  }
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 88px;
}

.container {
  display: flex;
  width: min(100%, 640px);
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vw, 26px);
  text-align: center;
}

.logo {
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

.site-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 0.5rem;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.site-badge-accent {
  background: #6342fb;
  font-weight: 600;
}

.site-badge-coming {
  padding: 12px 28px;
  font-size: clamp(17px, 3.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation:
    coming-soon-enter 0.7s cubic-bezier(0.34, 1.35, 0.64, 1) both,
    coming-soon-pulse 2.6s ease-in-out 0.7s infinite;
}

@keyframes coming-soon-enter {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes coming-soon-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 0 0 0 rgba(99, 66, 251, 0);
  }

  50% {
    transform: scale(1.05);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 0 32px rgba(99, 66, 251, 0.5);
  }
}

.site-badge-red {
  background: linear-gradient(to bottom, #ff6b7a, #e53e4f);
}

.title {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.subtitle {
  max-width: 38ch;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.65;
  color: var(--text-dim);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 156px;
  height: 46px;
  border: none;
  border-radius: 0.625rem;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.social-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.social-btn:active {
  transform: translateY(0);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-btn-kick {
  background: #162412;
}

.social-btn-kick:hover {
  background: #1f3318;
}

.social-btn-kick svg {
  color: #53fc18;
}

.social-btn-x {
  background: #17161a;
}

.social-btn-x:hover {
  background: #222126;
}

.footer-note {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.age-badge {
  position: fixed;
  right: clamp(14px, 3vw, 24px);
  bottom: clamp(14px, 3vw, 24px);
  z-index: 20;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.age-badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .socials {
    flex-wrap: nowrap;
  }

  .site-badge-coming {
    padding: 14px 34px;
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .page {
    padding: 56px 16px 80px;
  }

  .logo {
    width: min(100%, 260px);
  }

  .site-badge-coming {
    padding: 10px 22px;
    font-size: 16px;
  }

  .social-btn {
    width: 100%;
    min-width: 0;
    max-width: 280px;
  }

  .age-badge {
    padding: 7px 10px;
    font-size: 11px;
  }

  .age-badge-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 380px) {
  .title {
    font-size: 1.75rem;
  }
}
