.explore-page{
    width:min(1180px, calc(100% - 32px));
    margin:0 auto;
    padding:34px 0 70px;
}

.explore-heading{
    margin-bottom:24px;
}

.explore-kicker{
    display:block;
    margin-bottom:8px;
    color:#00d9ff;
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.explore-heading h1{
    margin:0 0 8px;
    font-size:clamp(1.65rem, 5vw, 2.4rem);
    line-height:1.1;
}

.explore-heading p{
    max-width:620px;
    color:rgba(255,255,255,.52);
    font-size:.92rem;
    line-height:1.55;
}

.explore-all-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:16px;
    padding:10px 15px;
    border:1px solid rgba(0,217,255,.2);
    border-radius:11px;
    background:rgba(0,217,255,.07);
    color:#00d9ff;
    font-size:.82rem;
    font-weight:700;
}

.explore-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(255,255,255,.025);
}

.explore-card{
    position:relative;
    min-height:176px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:13px;
    padding:22px 14px;
    border:0;
    border-right:1px solid rgba(255,255,255,.07);
    border-bottom:1px solid rgba(255,255,255,.07);
    background:transparent;
    color:#eef3ff;
    font-family:'Inter',sans-serif;
    cursor:pointer;
    transition:background .2s, color .2s;
}

.explore-card:nth-child(4n){
    border-right:0;
}

.explore-card:hover,
.explore-card.active{
    background:linear-gradient(180deg,rgba(0,217,255,.1),rgba(0,217,255,.025));
    color:#00d9ff;
}

.explore-card.active::after{
    content:'';
    position:absolute;
    left:20%;
    right:20%;
    bottom:0;
    height:2px;
    border-radius:2px 2px 0 0;
    background:#00d9ff;
    box-shadow:0 0 12px rgba(0,217,255,.65);
}

.explore-icon{
    width:82px;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.1);
    border-radius:50%;
    background:
        radial-gradient(circle at 35% 28%,rgba(255,255,255,.14),transparent 34%),
        linear-gradient(145deg,rgba(0,217,255,.19),rgba(84,76,255,.12));
    color:#00d9ff;
    font-size:2.15rem;
    box-shadow:0 10px 24px rgba(0,0,0,.2);
}

.explore-icon img{
    width:100%;
    height:100%;
    padding:8px;
    object-fit:contain;
}

.explore-card-name{
    max-width:150px;
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:inherit;
    font-size:.88rem;
    font-weight:650;
    line-height:1.35;
    text-align:center;
}

.explore-card-count{
    color:rgba(255,255,255,.32);
    font-size:.68rem;
}

.explore-empty{
    padding:50px 20px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    color:rgba(255,255,255,.5);
    text-align:center;
}

.explore-subpanel{
    display:none;
    margin-top:18px;
    padding:22px;
    border:1px solid rgba(0,217,255,.16);
    border-radius:18px;
    background:linear-gradient(145deg,rgba(10,17,38,.98),rgba(7,11,28,.98));
    box-shadow:0 18px 50px rgba(0,0,0,.25);
}

.explore-subpanel.open{
    display:block;
    animation:exploreOpen .22s ease-out;
}

@keyframes exploreOpen{
    from{opacity:0;transform:translateY(-8px)}
    to{opacity:1;transform:translateY(0)}
}

.explore-subhead{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
}

.explore-subtitle{
    color:#fff;
    font-size:1.08rem;
    font-weight:800;
}

.explore-subtitle span{
    color:#00d9ff;
}

.explore-subclose{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 34px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:9px;
    background:rgba(255,255,255,.04);
    color:rgba(255,255,255,.65);
    font-size:1.1rem;
    cursor:pointer;
}

.explore-subgrid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

.explore-subitem{
    min-height:58px;
    display:flex;
    align-items:center;
    gap:11px;
    padding:12px 14px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:12px;
    background:rgba(255,255,255,.035);
    color:#dce3f2;
    font-size:.82rem;
    font-weight:600;
    transition:border-color .2s,background .2s,color .2s;
}

.explore-subitem:hover{
    border-color:rgba(0,217,255,.3);
    background:rgba(0,217,255,.07);
    color:#00d9ff;
}

.explore-subitem-icon{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 34px;
    border-radius:9px;
    background:rgba(0,217,255,.09);
    color:#00d9ff;
    font-size:1rem;
}

.explore-subitem-icon img{
    width:24px;
    height:24px;
    object-fit:contain;
}

.explore-group{
    grid-column:1/-1;
    margin-top:8px;
}

.explore-group:first-child{
    margin-top:0;
}

.explore-group-title{
    margin-bottom:9px;
    padding-bottom:7px;
    border-bottom:1px solid rgba(255,255,255,.07);
    color:#00d9ff;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.explore-group-items{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

@media(max-width:760px){
    .explore-page{
        width:100%;
        padding:20px 12px 34px;
    }

    .explore-heading{
        padding:0 4px;
        margin-bottom:18px;
    }

    .explore-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        border-radius:15px;
    }

    .explore-card{
        min-height:145px;
        padding:16px 7px;
    }

    .explore-card:nth-child(4n){
        border-right:1px solid rgba(255,255,255,.07);
    }

    .explore-card:nth-child(3n){
        border-right:0;
    }

    .explore-icon{
        width:65px;
        height:65px;
        font-size:1.75rem;
    }

    .explore-card-name{
        max-width:108px;
        min-height:34px;
        font-size:.76rem;
    }

    .explore-subpanel{
        padding:16px 12px;
    }

    .explore-subgrid,
    .explore-group-items{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:380px){
    .explore-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .explore-card:nth-child(3n){
        border-right:1px solid rgba(255,255,255,.07);
    }

    .explore-card:nth-child(2n){
        border-right:0;
    }

    .explore-subgrid,
    .explore-group-items{
        grid-template-columns:1fr;
    }
}
