:root {
  --background: #020408;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --theme: #10b981;
  --theme-soft: rgba(16, 185, 129, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

body {
  background:
    radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.1), transparent 38%),
    var(--background);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  animation: content-in 0.9s ease both;
}

.logo-stage {
  position: relative;
  width: min(16rem, 64vw);
  aspect-ratio: 1;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 999px;
}

.ring-outer {
  inset: -2rem;
  border: 1px dashed rgba(16, 185, 129, 0.25);
  animation: spin 10s linear infinite;
}

.ring-inner {
  inset: -3rem;
  border: 1px dotted rgba(16, 185, 129, 0.14);
  animation: spin-reverse 15s linear infinite;
}

.platform {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -1.15rem;
  height: 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  filter: blur(4px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.logo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.65));
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  animation: scan 3s linear infinite;
}

.corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-color: rgba(255, 255, 255, 0.22);
  border-style: dashed;
}

.corner-tl {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}

.corner-tr {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.corner-br {
  right: 0;
  bottom: 0;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 90%, rgba(255, 255, 255, 0.05) 90%);
  background-size: 40px 40px;
  animation: overlay-pulse 2.4s ease-in-out infinite;
}

.brand-name {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.status-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(26rem, 100%);
  animation: content-in 1s 0.2s ease both;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--theme);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.55);
  animation: dot-pulse 1.6s ease-in-out infinite;
}

.status-text {
  color: var(--theme);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.progress-track {
  position: relative;
  width: min(16rem, 85vw);
  height: 0.25rem;
  background: #1f2937;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--theme) 0%, #ffffff 50%, var(--theme) 100%);
  transform: translateX(-100%);
  animation: progress-slide 1.5s linear infinite;
}

.headline-wrap {
  margin-top: 0.25rem;
}

.headline {
  position: relative;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--theme);
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.headline-shadow,
.headline-text {
  display: block;
}

.headline-shadow {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(12px);
  opacity: 0.7;
  animation: glow-pulse 2s ease-in-out infinite;
}

.headline-text {
  position: relative;
  z-index: 1;
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes float {
  0% {
    transform: translateY(-10px) scale(1);
  }

  50% {
    transform: translateY(10px) scale(1.05);
  }

  100% {
    transform: translateY(-10px) scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes overlay-pulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes progress-slide {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .logo-stage {
    width: min(12rem, 58vw);
    margin-bottom: 2.5rem;
  }

  .ring-outer {
    inset: -1.5rem;
  }

  .ring-inner {
    inset: -2.25rem;
  }

  .headline {
    letter-spacing: 0.14em;
  }

  .status-text {
    letter-spacing: 0.22em;
  }
}