:root {
    --bg: #000;
    --card: #0f1014cc;
    --text: #F04346;
    --muted: #a8adbd;
    --primary: #F04346;
    --primary-2: #ff6b6b;
    --ring: #292b36;
    --glow: 0 10px 30px rgba(255, 0, 0, 0.35), 0 2px 10px rgba(255, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -1.8%, 0); }
}

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(1200px 600px at 50% 30%, black, transparent 70%);
}

main.container {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.card {
    width: min(780px, 92vw);
    background: linear-gradient(180deg, rgba(17, 19, 25, 0.65), rgba(12, 14, 18, 0.65));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: clamp(24px, 5vw, 48px);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 0, 0, 0.35), rgba(255, 107, 107, 0.35));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: 0.25;
}
h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    line-height: 1.05;
    margin: 6px 0 12px;
    font-weight: 700;
    background-color: #F04346;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

p.lead {
    color: var(--muted);
    font-size: clamp(15px, 2.1vw, 18px);
    margin: 0 0 24px;
}

.progress {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress .bar {
    position: absolute;
    inset: 0;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff0000, #ff5353);
    animation: load 2.2s ease-in-out infinite;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35);
}

@keyframes load {
    0% { left: -40%; }
    50% { left: 32%; }
    100% { left: 100%; }
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dotred {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0000, #ff6b6b);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.15);
}
.dotyellow {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd500, #fff56b);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.15);
}
.dotgreen {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #15ff00, #93ff6b);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.15);
}
.credit {
    margin-top: 28px;
    color: #cfd3e6;
    font-size: 14px;
    opacity: 0.95;
}

.credit strong {
    background: linear-gradient(120deg, #ffcccc, #ff9999);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.links {
    margin-top: 14px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.chip {
    color: #e8e9ef;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 520px) {
    body {
        overflow: auto;
    }

    main.container {
        padding: 18px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .card {
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    }

    .brand {
        margin-bottom: 10px;
    }

    .logo {
        width: 44px;
        height: 44px;
    }

    .logo svg {
        width: 22px;
        height: 22px;
    }

    .brand .name {
        font-size: 18px;
    }

    h1 {
        font-size: clamp(24px, 7.5vw, 32px);
    }

    p.lead {
        font-size: 14.5px;
    }

    .progress {
        height: 10px;
    }

    .meta {
        font-size: 12.5px;
        gap: 8px 12px;
    }

    .badge {
        padding: 6px 10px;
    }

    .links {
        gap: 12px;
    }

    .chip {
        font-size: 13px;
        padding: 8px 10px;
    }

    .credit {
        font-size: 13px;
    }

    .blur-orbs {
        inset: -12vmax;
        filter: blur(40px);
        opacity: 0.5;
    }

    .grid {
        background-size: 36px 36px;
    }
}
