/* =========================================
   BENTO GRID — Tools / Stack Section
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: var(--space-xl);
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-item {
    position: relative;
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    backdrop-filter: blur(10px);
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bento-span-2 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .bento-span-2 {
        grid-column: span 2;
    }
}

.bento-radial-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 8px 8px;
    z-index: -1;
}

.bento-item:hover .bento-radial-bg {
    opacity: 1;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bento-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: background 0.3s;
}

.bento-item:hover .bento-icon-wrapper {
    background: rgba(255, 0, 0, 0.2);
}

.bento-status {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.3s;
}

.bento-item:hover .bento-status {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.bento-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-meta {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    font-family: var(--font-mono);
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.bento-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-secondary);
    transition: 0.2s;
}

.bento-item:hover .bento-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.bento-glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(600px circle at 50% 50%, rgba(255, 0, 0, 0.1), transparent 40%);
}

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