.bento-grid-8d30d0ff {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 150px;
    gap: 24px;
    width: 100%;
}

.bento-card-8d30d0ff {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    min-height: 250px;
    z-index: 1;
    box-sizing: border-box;

    /* Base Grid manual assignments from custom properties */
    grid-column-start: var(--col-start, auto);
    grid-column-end: span var(--col-span, auto);
    grid-row-start: var(--row-start, auto);
    grid-row-end: span var(--row-span, auto);
}

/* Background image desaturated/darkened */
.bento-bg-img-8d30d0ff {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(70%) brightness(0.35);
    z-index: -2;
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* Dark gradient overlay for extreme readability */
.bento-gradient-overlay-8d30d0ff {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.95) 100%);
    z-index: -1;
}

/* Decorative background Watermark */
.bento-watermark-8d30d0ff {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 150px;
    font-weight: 900;
    color: #ffffff;
    opacity: 0.08;
    line-height: 1;
    z-index: -1;
    user-select: none;
    pointer-events: none;
    transform: translate(15%, -15%);
}

/* Top-right Circle Badge */
.bento-num-circle-8d30d0ff {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.bento-content-inner-8d30d0ff {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Badge Pill (Absolute Top Left) */
.bento-badge-8d30d0ff {
    position: absolute;
    top: 30px;
    left: 30px;
    display: inline-block;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    z-index: 2;
}

/* Titles and Descs */
.bento-title-8d30d0ff {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.bento-desc-8d30d0ff {
    font-size: 14px;
    color: #9a9a9a;
    line-height: 1.5;
    margin: 0;
}

/* Divider & Stats */
.bento-divider-8d30d0ff {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0 15px 0;
}

.bento-stats-row-8d30d0ff {
    display: flex;
    gap: 30px;
}

.bento-stat-col-8d30d0ff {
    display: flex;
    flex-direction: column;
}

.bento-stat-label-8d30d0ff {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #9a9a9a;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bento-stat-value-8d30d0ff {
    font-size: 18px;
    font-family: monospace;
    font-weight: 700;
    color: #ffffff;
}

/* Hover States on Background Image */
.bento-card-8d30d0ff:hover .bento-bg-img-8d30d0ff {
    filter: grayscale(0%) brightness(0.9);
    transform: scale(1.03);
}

/* Responsive Stack default fallback */
@media (max-width: 767px) {
    .bento-grid-8d30d0ff {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
    }
    .bento-card-8d30d0ff {
        grid-column-start: auto !important;
        grid-column-end: span 1 !important;
        grid-row-start: auto !important;
        grid-row-end: span 1 !important;
        min-height: 300px;
    }
}
