/* ============================================
   SPINSINITY – Coming Soon | style.css
   ============================================ */

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

:root {
  --red:    #c0272d;
  --red-glow: rgba(192, 39, 45, 0.45);
  --white:  #ffffff;
  --gray:   #a0a0a8;
  --bg:     #0a0a0a;
  --card:   rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--white);
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
}

/* ── Particles canvas ── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Spotlight blob ── */
.spotlight {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(192,39,45,0.18) 0%,
    rgba(192,39,45,0.06) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: spotPulse 6s ease-in-out infinite;
}

@keyframes spotPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleY(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleY(1.08); }
}

/* ── Layout ── */
.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 48px);
  padding: 48px 24px 32px;
  text-align: center;
  gap: 0;
}

/* ── Logo ── */
.logo-wrap {
  margin-bottom: 24px;
}

.logo {
  width: clamp(180px, 35vw, 320px);
  filter: drop-shadow(0 0 32px rgba(192,39,45,0.5))
          drop-shadow(0 0 80px rgba(192,39,45,0.2));
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ── Headline ── */
.headline {
  font-size: clamp(2.2rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #fff 30%, #c0272d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.subline {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  color: var(--gray);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Countdown ── */
.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  min-width: 80px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.block::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(192,39,45,0.12), transparent);
  pointer-events: none;
}

.block span {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.block label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-top: 6px;
}

.sep {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  margin-top: -16px;
  user-select: none;
}

/* ── Email form ── */
.notify-form {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(8px);
  max-width: 460px;
  width: 100%;
  margin-bottom: 10px;
  transition: border-color 0.3s;
}

.notify-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.notify-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 22px;
  color: var(--white);
  font-size: 0.95rem;
}

.notify-form input::placeholder {
  color: var(--gray);
}

.notify-form button {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 14px 26px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.15s;
}

.notify-form button:hover  { background: #a51e24; }
.notify-form button:active { transform: scale(0.97); }

.form-msg {
  font-size: 0.85rem;
  min-height: 20px;
  margin-bottom: 40px;
  color: var(--gray);
  transition: color 0.3s;
}

.form-msg.success { color: #4ade80; }
.form-msg.error   { color: #f87171; }

/* ── Socials ── */
.socials {
  display: flex;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  background: var(--card);
  backdrop-filter: blur(6px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 16px var(--red-glow);
  transform: translateY(-2px);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 12px 24px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .block {
    padding: 14px 16px;
    min-width: 64px;
  }
  .notify-form {
    flex-direction: column;
    border-radius: 14px;
  }
  .notify-form input,
  .notify-form button {
    border-radius: 0;
  }
  .notify-form button {
    padding: 12px;
    text-align: center;
  }
}
