/* =========================================================
   LUX EMPIRE — ROLE SELECTION MODAL
   SAVE AT: assets/css/role-select-modal.css
   ========================================================= */

.role-select-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.role-select-modal.is-open{
    display:flex;
}

.role-select-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.8);
    backdrop-filter:blur(6px);
}

.role-select-modal-box{
    position:relative;
    max-width:820px;
    width:100%;
    max-height:90vh;
    overflow-y:auto;
    background:var(--lux-modal-bg);
    border:1px solid var(--lux-modal-border);
    border-radius:28px;
    padding:45px 40px;
}

.role-select-modal-close{
    position:absolute;
    top:18px;
    right:18px;
    background:var(--glass);
    border:none;
    color:var(--white);
    font-size:1.5rem;
    width:38px;
    height:38px;
    border-radius:50%;
    cursor:pointer;
    z-index:2;
    transition:0.2s;
}

.role-select-modal-close:hover{
    background:rgba(212,175,55,0.25);
}

.role-select-header{
    text-align:center;
    margin-bottom:35px;
}

.role-select-title{
    font-family:'Cinzel', serif;
    color:var(--gold);
    font-size:2.2rem;
    margin-bottom:10px;
}

.role-select-subtitle{
    color:var(--gray);
    max-width:480px;
    margin:0 auto;
    line-height:1.7;
}

.role-select-options{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:22px;
}

.role-select-card{
    display:flex;
    flex-direction:column;
    background:var(--glass);
    border:1px solid var(--lux-card-border);
    border-radius:20px;
    padding:28px 22px;
    text-decoration:none;
    transition:0.25s;
}

.role-select-card:hover{
    background:rgba(212,175,55,0.08);
    border-color:rgba(212,175,55,0.4);
    transform:translateY(-4px);
}

.role-select-icon{
    font-size:1.9rem;
    color:var(--gold);
    margin-bottom:16px;
}

.role-select-card-title{
    color:var(--white);
    font-size:1.25rem;
    margin-bottom:10px;
}

.role-select-card-desc{
    color:var(--gray);
    font-size:0.92rem;
    line-height:1.6;
    margin-bottom:18px;
    flex-grow:1;
}

.role-select-card-cta{
    color:var(--gold);
    font-weight:600;
    font-size:0.92rem;
    display:flex;
    align-items:center;
    gap:8px;
}

.role-select-card-cta i{
    transition:transform 0.2s;
}

.role-select-card:hover .role-select-card-cta i{
    transform:translateX(4px);
}

@media (max-width:600px){
    .role-select-modal-box{
        padding:32px 24px;
    }

    .role-select-title{
        font-size:1.8rem;
    }

    .role-select-options{
        grid-template-columns:1fr;
    }
}