.entry-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 10, 16, .72);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}
    
.entry-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}
    
.entry-popup-panel {
    position: relative;
    width: min(500px, calc(100vw - 32px));
    background: #10131a;
    border: 1px solid rgba(230, 199, 102, .34);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
    overflow: hidden;
    transform: translateY(12px) scale(.98);
    transition: transform .22s ease;
}
    
.entry-popup.is-visible .entry-popup-panel {
    transform: translateY(0) scale(1);
}
    
.entry-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(0, 0, 0, .58);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
    
.entry-popup-close:hover,
.entry-popup-close:focus {
    background: rgba(201, 162, 39, .92);
    color: #15120a;
    outline: none;
    transform: scale(1.04);
}
    
.entry-popup-banner {
    width: 500px;
    height: 500px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    background: #05070c;
}
    
.entry-popup-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
    
.entry-popup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(180deg, #11151f 0%, #080a0f 100%);
}
    
.entry-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: transform .18s ease, filter .18s ease;
}
    
.entry-popup-btn:hover,
.entry-popup-btn:focus {
    transform: translateY(-1px);
    filter: brightness(1.08);
    text-decoration: none;
    outline: none;
}
    
.entry-popup-btn.register {
    background: linear-gradient(135deg, #f6d76b, #b98018);
    color: #211706;
    box-shadow: 0 8px 20px rgba(201, 162, 39, .26);
}
    
.entry-popup-btn.login {
    border: 1px solid rgba(246, 215, 107, .58);
    background: rgba(255, 255, 255, .06);
    color: #f6d76b;
}
    
@media (max-width: 560px) {
    .entry-popup {
        padding: 14px;
    }
    
    .entry-popup-panel {
        width: min(500px, calc(100vw - 28px));
        border-radius: 14px;
    }
    
    .entry-popup-banner {
        width: 100%;
        height: auto;
    }
    
    .entry-popup-actions {
        grid-template-columns: 1fr;
        padding: 12px;
    }
}
