/* Redirect Modal Styles */
.redirect-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000; /* Extremely high z-index to be on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.redirect-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.redirect-modal-content {
    background: #10101a; /* Dark background similar to site theme */
    color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid #fec544; /* Signature yellow color */
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.redirect-modal-overlay.show .redirect-modal-content {
    transform: translateY(0);
}

.redirect-modal-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fec544;
    font-weight: 700;
}

.redirect-modal-text {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
}

.redirect-modal-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fec544;
    color: #000000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(254, 197, 68, 0.3);
}

.redirect-modal-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.redirect-modal-close {
    display: block;
    margin-top: 20px;
    color: #888;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    background: none;
    border: none;
    width: 100%;
    transition: color 0.3s;
}

.redirect-modal-close:hover {
    color: #fff;
    text-decoration: underline;
}
