/* Reset & base */
* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    font-family: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
    color: #1d3557;
    background: #0b1b3b;
    overflow: hidden;
}

/* Starry gradient sky */
.space-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1200px 700px at 80% -10%, rgba(255, 209, 102, 0.15), transparent 60%),
        radial-gradient(900px 500px at 10% 10%, rgba(168, 218, 220, 0.20), transparent 60%),
        radial-gradient(1200px 700px at 50% 110%, rgba(244, 162, 97, 0.15), transparent 60%),
        linear-gradient(180deg, #0b1b3b 0%, #09142c 50%, #070e22 100%);
    z-index: 0;
}

/* Stars */
.stars, .stars2, .stars3 {
    position: fixed;
    inset: 0;
    background-repeat: repeat;
    background-size: contain;
    animation: twinkle 6s infinite ease-in-out;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.stars {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="220" height="220"><circle cx="20" cy="30" r="1.5" fill="white"/><circle cx="120" cy="80" r="1" fill="white"/><circle cx="200" cy="140" r="1.2" fill="white"/><circle cx="60" cy="200" r="1.2" fill="white"/><circle cx="180" cy="30" r="1.4" fill="white"/></svg>');
}

.stars2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="260" height="260"><circle cx="40" cy="40" r="1.1" fill="white"/><circle cx="150" cy="120" r="1.4" fill="white"/><circle cx="30" cy="180" r="1" fill="white"/><circle cx="220" cy="40" r="1.3" fill="white"/></svg>');
    animation-delay: 2s;
    opacity: 0.55;
}

.stars3 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="320" height="320"><circle cx="80" cy="60" r="1.2" fill="white"/><circle cx="180" cy="200" r="1.1" fill="white"/><circle cx="300" cy="150" r="1.4" fill="white"/><circle cx="20" cy="280" r="1" fill="white"/></svg>');
    animation-delay: 4s;
    opacity: 0.4;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Decor */
.decor { position: fixed; inset: 0; z-index: 2; pointer-events: none; }

.planet, .rocket, .moon {
    position: absolute;
    will-change: transform;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.planet { animation: float 7s ease-in-out infinite; }
.moon { animation: float 9s ease-in-out infinite; }
.rocket { animation: float 6s ease-in-out infinite, bob 2.4s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes bob {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* Content card */
.wrap {
    position: relative;
    z-index: 3;
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 26px;
    max-width: 720px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    border: 6px solid #a8dadc;
}

.brand {
    font-weight: 800;
    font-size: clamp(20px, 3.5vw, 28px);
    color: #e76f51;
    margin-bottom: 8px;
}

.title {
    font-weight: 800;
    font-size: clamp(34px, 6.5vw, 56px);
    margin: 6px 0 8px;
    color: #1d3557;
}

.subtitle {
    font-size: clamp(16px, 3.5vw, 20px);
    margin: 0 0 18px;
    color: #457b9d;
}

.pill {
    display: inline-block;
    background: #ffd166;
    color: #1d3557;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 2px solid #f4a261;
    text-decoration: none;   /* remove underline */
    cursor: pointer;         /* show pointer cursor */
}

/* Email input */
.notify {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 520px;
    margin: 16px auto 6px;
}

.notify input[type="email"] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid #cce7f0;
    font-size: 16px;
}

.notify button {
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #06d6a0, #00b894);
    color: #073b4c;
    font-weight: 800;
    cursor: pointer;
}

.notify small {
    display: block;
    margin-top: 6px;
    color: #6c7a89;
}

/* Footer */
.foot {
    margin-top: 18px;
    font-size: 13px;
    color: #5c6e82;
}

/* Responsive */
@media (max-width: 420px) {
    .notify {
        grid-template-columns: 1fr;
    }
}