body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(88, 28, 135, 0.5), transparent 32%),
        radial-gradient(circle at 90% 12%, rgba(236, 72, 153, 0.28), transparent 30%),
        linear-gradient(180deg, #07061F 0%, #0A082B 48%, #0D0B31 100%);
    color: #fff;
    overflow: hidden;
}

.container {
    position: relative;
    max-width: var(--max-width, 480px);
    min-height: 100vh;
    margin: auto;
    display: grid;
    place-items: center;
    background: transparent;
}

/* soft confetti glow */
.container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, #FACC15 0 3px, transparent 4px),
        radial-gradient(circle, #22C55E 0 2px, transparent 3px),
        radial-gradient(circle, #EC4899 0 2px, transparent 3px),
        radial-gradient(circle, #3B82F6 0 2px, transparent 3px);
    background-size: 120px 120px, 92px 140px, 150px 110px, 100px 90px;
    background-position: 10% 12%, 78% 22%, 30% 82%, 85% 70%;
    opacity: 0.35;
    animation: twinkle 3s ease-in-out infinite alternate;
}

.container .content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
    padding: 0 24px;
    animation: fadeUp 0.8s ease both;
}

.container .content .brand-logo {
    width: 250px;
    max-width: 76%;
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
    animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.container .content .tagline {
    max-width: 320px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.container .content .loader {
    width: 42px;
    height: 42px;
    margin-top: 6px;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-top-color: #A855F7;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

/* legacy fallback if old markup is cached */
.container .content .logo-text {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeUp {
    from { transform: translateY(18px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes twinkle {
    from { opacity: 0.2; }
    to { opacity: 0.45; }
}
