@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;500;700&display=swap');

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

:root {
    --gradient: linear-gradient(135deg, #FF10C0, #9323B2 35%, #376BD5);
    --text: #222;
    --muted: #6e6e6e;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(160deg, rgba(255, 16, 192, 0.05) 0%, #fff 45%, rgba(55, 107, 213, 0.06) 100%);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-blob {
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.07;
    pointer-events: none;
    position: fixed;
    width: 65vw;
    height: 65vw;
}

.bg-blob--pink {
    background: rgb(255 15 191);
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
}

.bg-blob--blue {
    background: rgb(56 109 214);
    right: 0;
    bottom: 0;
    transform: translate(50%, 50%);
}

.page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2rem;
    overflow: hidden;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.app-icon-wrap {
    width: 96px;
    height: 96px;
    background: #fff;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(255, 16, 192, 0.16),
    0 12px 32px rgba(147, 35, 178, 0.18),
    0 24px 48px rgba(55, 107, 213, 0.12);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.1s;
}

.app-logo-icon {
    display: block;
    width: 100%;
    height: auto;
}

.app-name {
    margin-bottom: 1.125rem;
    line-height: 1;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.22s;
}

.app-logo-text {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
}

.tagline {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.34s;
}

.description {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.44s;
}

.divider {
    width: 160px;
    height: 3px;
    border-radius: 24px;
    background: var(--gradient);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.38s;
}

.badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.56s;
}

.badge-link {
    display: inline-block;
    border-radius: 10px;
    text-decoration: none;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge-link:hover {
    transform: translateY(-3px) scale(1.02);
}

.badge-link:hover .badge {
    box-shadow: 0 8px 20px rgba(147, 35, 178, 0.3);
}

.badge-link:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

.badge-link:focus-visible {
    outline: 2px solid #9323B2;
    outline-offset: 4px;
}

.badge {
    display: block;
    height: 40px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 0 0 rgba(147, 35, 178, 0);
    transition: box-shadow 0.28s ease;
}

.footer {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.7s;
}

.footer-domain {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.footer-domain:hover {
    opacity: 1;
}

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

@media (prefers-reduced-motion: reduce) {
    .app-icon-wrap, .app-name, .tagline, .description,
    .divider, .badges, .footer {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .badge {
        height: 36px;
    }
}

@media (max-width: 460px) {
    .badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #f0eef8;
        --muted: #9b97aa;
        --bg: #0e0e12;
    }

    html,
    body {
        background: #0e0e12;
    }

    .bg-blob {
        opacity: .1;
    }

    .app-icon-wrap {
        background: rgb(9 9 14);
        box-shadow: 0 4px 14px rgba(255, 16, 192, 0.16),
        0 12px 32px rgba(147, 35, 178, 0.18),
        0 24px 48px rgba(55, 107, 213, 0.12);
    }

    .badge-link:hover .badge {
        box-shadow: 0 8px 20px rgba(147, 35, 178, 0.5);
    }
}
