/* Login Requirement Modal Styles */
.modal-login-requirement {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border: 1px solid rgba(78, 204, 255, 0.3);
    border-radius: 20px;
    color: #fff;
    padding: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(78, 204, 255, 0.2);
    z-index: 1001;
    width: 90%;
    max-width: 400px;
    min-height: 250px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.modal-login-requirement.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeInModal 0.4s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-login-requirement h2 {
    background: linear-gradient(to right, #4eceff, #c054ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    font-weight: 600;
    margin: 15px 0;
    letter-spacing: 1px;
    font-size: 24px;
    width: 100%;
    text-align: center;
}

.login-requirement-icon {
    margin-bottom: 15px;
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.login-requirement-icon svg {
    filter: drop-shadow(0 0 8px rgba(78, 204, 255, 0.5));
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(78, 204, 255, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 12px rgba(78, 204, 255, 0.7));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(78, 204, 255, 0.5));
    }
}

.login-requirement-icon:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 204, 255, 0.15) 0%, rgba(192, 84, 255, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.modal-login-requirement p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    width: 100%;
}

/* Login requirement modal buttons */
.modal-login-requirement .buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.modal-login-requirement .buttons button {
    flex: 1;
    max-width: 150px;
    background: linear-gradient(135deg, #4eceff, #c054ff);
    border-radius: 12px;
    border: none;
    padding: 12px 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.modal-login-requirement .buttons button:last-child {
    background: linear-gradient(135deg, #4a4a6b, #2d325a);
}

.modal-login-requirement .buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.modal-login-requirement .buttons button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button hover effect */
.modal-login-requirement .buttons button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.modal-login-requirement .buttons button:hover::after {
    left: 100%;
}

/* Close button */
.close-login-requirement-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-login-requirement-button:hover {
    color: #fff;
    transform: scale(1.1);
}

.close-login-requirement-button svg {
    width: 20px;
    height: 20px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .modal-login-requirement {
        padding: 18px !important;
        width: 80% !important;
        max-width: 290px !important;
        min-height: 160px !important;
        max-height: 85vh !important;
        box-sizing: border-box !important;
    }
    
    .modal-login-requirement h2 {
        font-size: 20px !important;
        margin: 6px 0 8px 0 !important;
    }
    
    .modal-login-requirement p {
        font-size: 15px !important;
        margin-bottom: 16px !important;
        max-width: 95% !important;
    }
    
    .modal-login-requirement .buttons {
        gap: 12px !important;
        max-width: 250px !important;
    }
    
    .modal-login-requirement .buttons button {
        padding: 9px 14px !important;
        font-size: 14px !important;
        max-width: 105px !important;
    }
    
    .login-requirement-icon {
        margin-bottom: 10px !important;
        width: 50px !important;
        height: 50px !important;
    }
    
    .login-requirement-icon svg {
        width: 30px !important;
        height: 30px !important;
    }
    
    .login-requirement-icon:after {
        width: 50px !important;
        height: 50px !important;
    }
    
    .close-login-requirement-button {
        top: 12px !important;
        right: 12px !important;
        width: 22px !important;
        height: 22px !important;
    }
    
    .close-login-requirement-button svg {
        width: 18px !important;
        height: 18px !important;
    }
} 