:root {
    --bg-1: #07060a;
    --bg-2: #0f0d14;
    --accent-a: #7c3aed;
    --accent-b: #6d28d9;
    --glass: rgba(18,18,23,0.55);
}

html, body {
    height: 100%;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #d1d5db;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(124,58,237,0.06), transparent 6%), radial-gradient(900px 500px at 90% 90%, rgba(99,102,241,0.04), transparent 5%), linear-gradient(180deg, var(--bg-1), var(--bg-2) 60%);
}

.card-glass {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 24px rgba(2,6,23,0.6);
    transition: transform 0.28s cubic-bezier(.2,.9,.3,1), box-shadow 0.28s cubic-bezier(.2,.9,.3,1);
}

    .card-glass:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 48px rgba(124,58,237,0.08);
    }

.accent {
    color: var(--accent-a);
}

.accent-bg {
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.section {
    position: relative;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.separator {
    position: absolute;
    left: 0;
    width: 100%;
    height: 78px;
    overflow: hidden;
    pointer-events: none;
    bottom: -1px;
}

    .separator svg {
        display: block;
        width: 100%;
        height: 100%;
    }

.blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.12;
    transform: translateZ(0);
    pointer-events: none;
    mix-blend-mode: screen;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .hero-sub {
        font-size: 1.05rem;
    }
}

.btn-primary {
    background-color: var(--accent-a);
    color: white;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s forwards;
    transition: background-color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

    .btn-primary:hover {
        background-color: #5a1ea6;
        filter: brightness(85%);
        transform: scale(1.05);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.menu-link {
    position: relative;
    color: #d1d5db;
    text-decoration: none;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

    .menu-link:hover {
        color: #fff;
    }

    .menu-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .menu-link:hover::after {
        transform: scaleX(1);
    }

a.border {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
    transition: background-color 0.3s ease;
}

    a.border:hover {
        background-color: rgba(0, 0, 0, 0.3);
    }

.btn-baixar {
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(124, 58, 237, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .btn-baixar:hover {
        background-color: #6b21a8;
        box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
    }

.btn-detalhes {
    border-radius: 0.375rem;
    border-color: rgba(255, 255, 255, 0.15);
    background-color: transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

    .btn-detalhes:hover {
        background-color: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.3);
    }

.filter-btn {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .filter-btn.active, .filter-btn:hover {
        background-color: #7c3aed;
        color: white !important;
        font-weight: 600;
        box-shadow: 0 0 10px #7c3aed80;
    }

@keyframes gradient-x {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 20s ease infinite;
}

.card-glass {
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .card-glass:hover {
        transform: scale(1.05);
    }
