/* ===== Squiddy — Coming Soon ===== */

:root {
  --bg: #060a1f;
  --bg-soft: #0b1130;
  --text: #e8ecff;
  --muted: #9aa3c7;
  --accent: #22d3ee;
  --accent-2: #8b5cf6;
  --accent-3: #f472b6;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Page layout ===== */

.page {
  position: relative;
  max-width: 680px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

/* ===== Background glows ===== */

.page__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
}

.page__glow--1 {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -180px;
  background: rgba(139, 92, 246, 0.28);
}

.page__glow--2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  right: -160px;
  background: rgba(34, 211, 238, 0.22);
}

/* ===== Floating bubbles ===== */

.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bubbles span {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(34, 211, 238, 0.08));
  animation: rise linear infinite;
}

.bubbles span:nth-child(1) { left: 6%;  width: 26px;  height: 26px;  animation-duration: 14s; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 18%; width: 14px;  height: 14px;  animation-duration: 11s; animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 38%; width: 32px;  height: 32px;  animation-duration: 17s; animation-delay: 4s; }
.bubbles span:nth-child(4) { left: 58%; width: 12px;  height: 12px;  animation-duration: 10s; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 74%; width: 22px;  height: 22px;  animation-duration: 15s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 90%; width: 18px;  height: 18px;  animation-duration: 13s; animation-delay: 5s; }

@keyframes rise {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.7; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

/* ===== Logo ===== */

.logo {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 28px;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(34, 211, 238, 0.35));
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}

/* ===== Badge ===== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

/* ===== Title ===== */

.title {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Subtitle ===== */

.subtitle {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

/* ===== Form ===== */

.form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 460px;
  margin-bottom: 8px;
}

.form__input {
  flex: 1;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input::placeholder {
  color: rgba(154, 163, 199, 0.6);
}

.form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

.btn {
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #041018;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.35);
}

.form__status {
  min-height: 22px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.form__status--ok {
  color: #34d399;
}

.form__status--err {
  color: #f87171;
}

/* ===== Footer ===== */

.footer {
  margin-top: 56px;
  font-size: 14px;
  color: var(--muted);
}

.footer__heart {
  color: var(--accent-3);
}

/* ===== Responsive ===== */

@media (max-width: 520px) {
  .form {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubbles span,
  .logo {
    animation: none;
  }
}
