.loot-section{
    position:relative;
    width:1200px;
    max-width:95%;
    height:650px;
    border-radius:24px;
    /* background:
        radial-gradient(circle at top right, rgba(255,255,255,.05), transparent 35%),
        #1b1b1b; */
    overflow:hidden;
    /* border:1px solid rgba(255,255,255,.08); */
}

.loot-section.kit-small{
    height:auto;
    /* min-height:100vh; */
    padding:
        30px
        20px
        40px
        20px;
}

/* =========================================
    BOX
    ========================================= */
.box-wrapper{
    position:absolute;
    left:30px;
    bottom:30px;
    z-index:20;
}

.kit-small .box-wrapper{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:40px;
}

.loot-box{
    width:180px;
    cursor:pointer;
    user-select:none;
    transition:transform .25s ease;
    transform-origin:bottom center;
}

.kit-small .loot-box{
    width:160px;
}

.loot-box img{
    width:100%;
    display:block;
}

/* =========================================
    ITEMS AREA
    ========================================= */
.items-area{
    position:absolute;
    inset:20px 20px 20px 240px;
    display:grid;

    /* =====================================================
        CAMBIAR COLUMNAS MÁXIMAS:
        repeat(3, 1fr) = máximo 3 objetos visibles por fila
        ===================================================== */
    grid-template-columns:repeat(3, 1fr);

    gap:24px;
    align-content:center;
    padding:20px;
}

.items-area.kit-small {
    grid-template-columns:1fr;

    position:relative;
    inset:auto;

    width:100%;
    margin:0;

    display:grid;

    align-content:start;

    padding:0;
}

.loot-item{
    position:relative;
    opacity:0;
    transform:scale(.4);
    pointer-events:none;
}

.loot-item.active{
    pointer-events:auto;
}

.item-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:18px;
    height:100%;
    text-align:center;
    color:#000;
    backdrop-filter:blur(8px);
    transition:.25s ease;
    cursor:pointer;
    width: 100%;
}

.item-card:hover{
    border-color:rgba(255,255,255,.2);
    background:rgba(255,255,255,.09);
}

.kit-small .loot-item{
    width:100%;
}

.kit-small .item-card{
    min-height:100%;
}

.item-image{
    width:100px;
    height:100px;
    object-fit:contain;
    margin-bottom:14px;
}

.item-title{
    font-size:1.1rem;
    font-weight:700;
    margin-bottom:8px;
}

.item-description{
    font-size:.92rem;
    opacity:.8;
    line-height:1.4;
}

.floating-particle{
    position:absolute;
    width:12px;
    height:12px;
    border-radius:50%;
    background:#fff;
    pointer-events:none;
    opacity:.8;
}

@media(max-width:991px){

    /* .loot-section{
        height:auto;
        min-height:900px;
    }

    .items-area{
        position:relative;
        inset:auto;
        margin-top:260px;
        grid-template-columns:1fr;
    }

    .box-wrapper{
        left:50%;
        transform:translateX(-50%);
    } */

    .loot-section{
        height:auto;
        min-height:100vh;
        padding:
            30px
            20px
            40px
            20px;
    }

    /* =========================================
       BOX
       ========================================= */

    .box-wrapper{
        position:relative;
        left:auto;
        bottom:auto;
        transform:none;
        width:100%;
        display:flex;
        justify-content:center;
        align-items:center;
        margin-bottom:40px;
    }

    .loot-box{
        width:160px;
    }

    /* =========================================
       ITEMS
       ========================================= */

    .items-area{
        position:relative;
        inset:auto;

        width:100%;
        margin:0;

        display:grid;

        /*
            TABLET:
            2 columnas
        */
        grid-template-columns:repeat(2, 1fr);

        align-content:start;

        padding:0;
    }

    .loot-item{
        width:100%;
    }

    .item-card{
        min-height:100%;
    }
}

@media(max-width:575px){

    .items-area{

        /*
            MOBILE:
            1 columna
        */
        grid-template-columns:1fr;
    }

    .loot-box{
        width:140px;
    }

    .item-image{
        width:80px;
        height:80px;
    }
}