/* ===========================
   Nambooker – Splash / Coming Soon
   =========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand:       #eb5c37;
  --brand-dark:  rgb(220, 62, 0);
  --bg:          #09201B;
  --bg-card:     #09201B;
  --text:        #ecdfab;
  --text-muted:  #ecdfab;
  --radius:      12px;
  --font:        'Roboto', 'Ubuntu', system-ui, sans-serif;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */
.splash {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,107,53,.18) 0%, transparent 70%),
    var(--bg);
}

/* ---- Floating astrix background ---- */
.astrix-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.astrix {
  position: absolute;
  opacity: 0.5;
  animation: floatAstrix ease-in-out infinite;
}

.astrix--1 { width: 130px; top:  8%; left:  4%; animation-duration: 14s; animation-delay:   0s; }
.astrix--2 { width:  75px; top: 55%; left: 82%; animation-duration: 18s; animation-delay:  -5s; }
.astrix--3 { width: 100px; top: 18%; left: 72%; animation-duration: 11s; animation-delay:  -8s; }
.astrix--4 { width:  55px; top: 78%; left: 12%; animation-duration: 16s; animation-delay:  -3s; }
.astrix--5 { width: 150px; top: 42%; left: 48%; animation-duration: 22s; animation-delay: -11s; }
.astrix--6 { width:  65px; top: 88%; left: 65%; animation-duration: 13s; animation-delay:  -6s; }

@keyframes floatAstrix {
  0%   { transform: translateY(0px)   rotate(0deg);   }
  25%  { transform: translateY(-20px) rotate(90deg);  }
  50%  { transform: translateY(0px)   rotate(180deg); }
  75%  { transform: translateY(20px)  rotate(270deg); }
  100% { transform: translateY(0px)   rotate(360deg); }
}

/* ---- Header ---- */
.splash__header {
  position: relative;
  z-index: 1;
  padding: 28px 40px;
}

.splash__logo {
  display: inline-flex;
  align-items: center;
}

.splash__logo-img {
  height: 40px;
  width: auto;
  /* Invert dark logo for the dark background */
  filter: brightness(0) invert(1);
}

/* ---- Main ---- */
.splash__main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
}

.splash__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,107,53,.5);
  color: var(--brand);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(255,107,53,.08);
}

.splash__headline {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 720px;
  margin-bottom: 24px;
}

.splash__headline--accent {
  color: var(--brand);
}

.splash__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 44px;
}

/* ---- Email form ---- */
.splash__form {
  width: 100%;
  max-width: 460px;
}

.splash__input-wrap {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 6px 6px 6px 18px;
  align-items: center;
}

.splash__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  min-width: 0;
}

.splash__input::placeholder {
  color: var(--text-muted);
}

.splash__btn {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
}

.splash__btn:hover {
  background: var(--brand-dark);
}

.splash__msg {
  margin-top: 12px;
  font-size: .85rem;
  min-height: 1.2em;
}

.splash__msg--success { color: #4caf50; }
.splash__msg--error   { color: #f44336; }

/* ---- Footer ---- */
.splash__footer {
  position: relative;
  z-index: 1;
  padding: 24px 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: .8rem;
  border-top: 1px solid #1c1c1c;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .splash__header { padding: 20px 20px; }

  .splash__input-wrap {
    flex-direction: column;
    padding: 12px;
    gap: 8px;
  }

  .splash__btn {
    width: 100%;
    padding: 12px;
  }
}
