:root {
  --bg-dark: #101030;
  --bg-mid: #103050;
  --accent: #2df7fb;
  --grad-start: #8feeff;
  --grad-end: #2aa9e6;
  --text: #def7ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-mid), var(--bg-dark));
  min-height: 100vh;
  text-align: center;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  animation: background-fade 22s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 48, 80, 0.8), rgba(16, 16, 48, 0.9));
}

.container {
  position: relative;
  width: min(92vw, 760px);
  min-height: 100vh;
  margin: 0 auto;
}

.logo {
  position: absolute;
  left: 50%;
  top: 30vh;
  transform: translate(-50%, -50%);
  width: clamp(88px, 18vw, 140px);
  height: auto;
}

.message {
  position: absolute;
  top: 60vh;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 640px);
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  font-weight: 800;
  background: linear-gradient(180deg, #a8f6ff 0%, #5bd8ff 45%, #2aa9e6 100%);
  color: #5bd8ff;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 14px rgba(8, 14, 38, 0.86);
}

p {
  margin: 0.85rem 0 0;
  background: linear-gradient(180deg, #99f3ff 0%, #56d3ff 50%, #279dd8 100%);
  color: #56d3ff;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(8, 14, 38, 0.82);
}

.legal {
  position: absolute;
  left: 50%;
  bottom: 2.5vh;
  transform: translateX(-50%);
  display: block;
  color: rgba(190, 239, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .logo {
    top: 28vh;
  }

  .message {
    top: 60vh;
    width: min(94vw, 520px);
  }

  .legal {
    bottom: 2vh;
    width: 90vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes background-fade {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 0.9;
  }
}
