
body{
    margin:0;
    background:#0d1117;
    color:#fff;
    font-family:Inter,sans-serif;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.scene{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.hero{
    max-width:600px;
    text-align:center;
}

.stage{
    width:900px;
    max-width:90%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}

/* ---------- СВЕЧА ---------- */

.candle{
    left:70px;
    width:300px;
    height:auto;

    cursor:grab;
    user-select:none;

    background:none;
    border:none;
    box-shadow:none;
 position:relative;

    overflow:visible;
    z-index:10;
}

.candle__image{
    display:block;
    width:100%;
    height:auto;
    pointer-events:none;
}

/* ---------- АЛТАРЬ ---------- */

.altar{
    position:relative;
    width:400px;
    height:auto;
    margin-left:auto;
}
 
.altar__image{
    display:block;
    width:100%;
    height:auto;
    pointer-events:none;
    user-select:none;
}

.altar__light{
    position:absolute;
    inset:0;
    border-radius:20px;
    pointer-events:none;
}
.employee-select select{
    width:100%;
    margin-top: 3rem;
    padding:14px 18px;
    margin-bottom: 5rem;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.06);
    color:white;
    font-size:16px;
    outline:none;
    backdrop-filter:blur(12px);
    cursor:pointer;
}

.employee-select option{
    color:#111;
}
.message{
    margin-top: 40px;
}


/* ---------- POPUP ---------- */

.popup{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.65);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:999;
}

.popup.active{
    opacity:1;
    visibility:visible;
}

.popup__content{

    width:420px;
    max-width:90%;

    background:#171b24;

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:40px;

    text-align:center;

    box-shadow:
        0 0 50px rgba(255,180,40,.25);
}

.popup__icon{
    font-size:60px;
    margin-bottom:20px;
}

.popup h2{
    margin:0;
    margin-bottom:18px;
    font-size:30px;
}

.popup p{
    color:#cfcfcf;
    line-height:1.7;
    margin-bottom:30px;
}

.popup button{

    border:none;

    background:#f8b63d;

    color:#111;

    font-weight:700;

    border-radius:14px;

    padding:14px 28px;

    cursor:pointer;

    transition:.25s;
}

.popup button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 30px rgba(248,182,61,.35);
}


/* ---------- Плавное появление ---------- */

.hero__label,
.hero__title,
.hero__description,
.employee-select{
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp 1.4s ease forwards;
}

.hero__label{
    animation-delay:.3s;
}

.hero__title{
    animation-delay:1s;
}

.hero__description{
    animation-delay:1.8s;
}

.employee-select{
    animation-delay:2.7s;
}

/* .stage{
    opacity:0;
    transform:scale(.95);
    animation:fadeStage 1.5s ease forwards;
    animation-delay:3.4s;
} */

@keyframes fadeUp{
    0%{
        opacity:0;
        transform:translateY(40px);
    }

    100%{
        opacity:1;
        transform:translateY(0);
    }
}


.prayer-player{
    width:min(700px,90%);
    margin:80px auto 40px;
    padding:28px;

    background:rgba(255,255,255,.05);
    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.prayer-player h3{
    margin:0 0 12px;
    font-size:26px;
}

.prayer-player p{
    margin:0 0 25px;
    color:#d2d2d2;
    line-height:1.6;
}

.prayer-player audio{
    width:100%;
    max-width:500px;
    border-radius:12px;
}