:root {
    --white: #FFFFFF;
    --bg-light: #F4F9FF;
    --light-blue: #00B4D8;
    --sky-blue: #38BDF8;
    --pink-purple: #D946EF;
    --violet-pink: #A855F7;
    --text-dark: #0F172A;
    --text-muted: #475569;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(217, 70, 239, 0.20) 0%, transparent 45%);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1rem;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Soft Decorative Ambient Orbs */
.bg-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(85px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}

.glow-blue {
    background: var(--sky-blue);
    top: -80px;
    left: -80px;
}

.glow-pink {
    background: var(--pink-purple);
    bottom: -80px;
    right: -80px;
}

/* Compact Cohesive App Card (No stretching on mobile) */
main.app-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    background: var(--white);
    border-radius: 28px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 
        0 20px 50px rgba(15, 23, 42, 0.08),
        0 8px 25px rgba(217, 70, 239, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Top Gradient Header Banner */
.card-banner {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16) 0%, rgba(217, 70, 239, 0.16) 100%);
    padding: 1.5rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(217, 70, 239, 0.12);
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper img {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    object-fit: cover;
    background: var(--white);
    padding: 3px;
    border: 2.5px solid var(--sky-blue);
    box-shadow: 
        0 8px 20px rgba(0, 180, 216, 0.25),
        0 0 0 4px rgba(255, 255, 255, 0.85);
    transition: transform 0.3s ease;
}

.logo-wrapper img:hover {
    transform: scale(1.05);
}

/* Live Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    color: #0284C7;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.12);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

/* Middle Content Section (Tightly grouped) */
.card-content {
    padding: 1.4rem 1.6rem 1.1rem;
    text-align: center;
}

h1 {
    font-size: clamp(1.65rem, 5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
    line-height: 1.22;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--light-blue) 0%, var(--pink-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: clamp(0.92rem, 3vw, 1.02rem);
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Bottom Action Dock */
.card-action {
    padding: 1.1rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(244, 249, 255, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.cta {
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(95deg, var(--sky-blue) 0%, var(--violet-pink) 55%, var(--pink-purple) 100%);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    padding: 1.05rem 1.8rem;
    border-radius: 16px;
    font-size: 1.08rem;
    box-shadow: 0 10px 25px rgba(217, 70, 239, 0.32), 0 4px 12px rgba(56, 189, 248, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 3.2s infinite;
}

.cta svg {
    transition: transform 0.25s ease;
}

.cta:hover, .cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(217, 70, 239, 0.45), 0 6px 16px rgba(56, 189, 248, 0.35);
    outline: none;
}

.cta:hover svg {
    transform: translateX(4px);
}

.sub-note {
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 400;
    text-align: center;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes shine {
    0% { left: -100%; }
    25% { left: 150%; }
    100% { left: 150%; }
}

/* Mobile Optimization: Keep everything compact & centered */
@media (max-width: 480px) {
    body {
        padding: 0.9rem;
    }

    main.app-card {
        border-radius: 24px;
    }

    .card-banner {
        padding: 1.25rem 1.2rem 1rem;
        gap: 0.7rem;
    }

    .logo-wrapper img {
        width: 68px;
        height: 68px;
    }

    .card-content {
        padding: 1.15rem 1.25rem 0.9rem;
    }

    .card-action {
        padding: 0.9rem 1.25rem 1.35rem;
    }
}