:root {
    /* Aurora Colors */
    --aurora-1: #3b82f6;
    /* Blue */
    --aurora-2: #8b5cf6;
    /* Purple */
    --aurora-3: #ec4899;
    /* Pink */
    --aurora-4: #06b6d4;
    /* Cyan */

    /* Bento Tokens */
    --bento-bg: rgba(15, 23, 32, 0.7);
    --bento-border: rgba(255, 255, 255, 0.1);
    --bento-glow: rgba(59, 130, 246, 0.2);
    --bento-radius: 24px;
}

/* Aurora Backdrop Animation */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: #050708;
    overflow: hidden;
    filter: blur(100px);
}

.aurora-blob {
    position: absolute;
    width: 50vw;
    height: 50vh;
    border-radius: 50%;
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: var(--aurora-1);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.blob-2 {
    background: var(--aurora-2);
    bottom: -10%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    background: var(--aurora-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
    animation-delay: -10s;
}

.blob-4 {
    background: var(--aurora-4);
    bottom: 10%;
    left: 10%;
    animation-duration: 28s;
    animation-delay: -3s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10vw, 10vh) scale(1.1);
    }

    66% {
        transform: translate(-5vw, 15vh) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
    padding: 20px 0;
}

.bento-item {
    background: var(--bento-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--bento-border);
    border-radius: var(--bento-radius);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-item:hover::before {
    opacity: 1;
}

/* Bento Span Utilities */
.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.row-2 {
    grid-row: span 2;
}

/* Glassmorphism Polish */
.bento-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Project Card Specifics */
.project-slide .bento-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-slide .thumb {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Utilities */
.span-4 {
    grid-column: span 4;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-4 {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-2,
    .span-3,
    .span-4 {
        grid-column: span 1;
    }
}