.scroll-down {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: var(--muted);
    cursor: pointer;
    animation: bounce 1.5s infinite;
    z-index: 50;
}

.scroll-down:hover {
    color: var(--accent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: -5;
}

.orb-indigo {
    background: rgba(62, 62, 72, 0.4);
    top: -80px;
    left: -80px;
    width: 288px;
    height: 288px;
}

.orb-emerald {
    background: rgba(34, 197, 94, 0.3);
    top: -40px;
    right: 40px;
    width: 320px;
    height: 320px;
}

.stars-field {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.35) 50%, transparent 90%),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.35) 50%, transparent 90%),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.25) 50%, transparent 90%),
        radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.25) 50%, transparent 90%);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
    from {
        filter: brightness(0.5);
    }

    to {
        filter: brightness(1.5);
    }
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 2000px;
    transition: transform 0.3s ease-in-out;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform-origin: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease, scale 0.3s ease;
    position: relative;
    will-change: transform;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card:hover {
    box-shadow:
        0 0 24px rgba(255, 255, 255, 0.5),
        0 0 16px rgba(104, 69, 230, 0.9),
        0 0 4px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.cards .card.hover {
    transform: rotateX(0deg) rotateY(0deg) translateZ(30px);
}