:root {
    --bg: #080b11;
    --card: rgba(19, 24, 36, 0.85);
    --border: rgba(255, 255, 255, 0.09);
    --text: #f8fafc;
    --muted: #94a3b8;
    --blue: #3b82f6;
    --blue-dark: #2563eb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(95px);
    pointer-events: none;
    z-index: -2;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: rgba(59, 130, 246, 0.22);
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
}

.orb-2 {
    width: 360px;
    height: 360px;
    background: rgba(37, 99, 235, 0.16);
    bottom: -100px;
    right: 10%;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: rgba(13, 17, 26, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 12px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: rollLeftToRight 22s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
}

.marquee-item img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: cover;
}

@keyframes rollLeftToRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* Main Content */
.container {
    max-width: 720px;
    width: 100%;
    padding: 48px 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto 0;
}

/* Centered Custom App Icon */
.center-icon-wrap {
    margin-bottom: 28px;
    position: relative;
}

.center-app-icon {
    width: 112px;
    height: 112px;
    border-radius: 30px;
    object-fit: cover;
    display: block;
    box-shadow: 0 18px 42px rgba(59, 130, 246, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

h1 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 18px;
}

h1 span {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 40px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 480px;
    margin-bottom: 40px;
}

.time-box {
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 18px 10px;
}

.time-box span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.time-box label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-top: 4px;
    display: block;
}

.waitlist-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 480px;
}

.waitlist-form input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.waitlist-form input:focus {
    border-color: var(--blue);
}

.waitlist-form button {
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}

.waitlist-form button:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.feedback-msg {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #60a5fa;
    min-height: 22px;
}

footer {
    padding: 24px;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 520px) {
    .countdown {
        gap: 10px;
    }

    .time-box span {
        font-size: 1.55rem;
    }

    .waitlist-form {
        flex-direction: column;
    }
}