/**
 * Yadongtube Core - Age Gate Modal Styles
 */

.yt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.yt-modal-overlay.yt-hidden {
    display: none;
    opacity: 0;
}

.yt-modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid #e8eaf0;
    animation: ytModalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ytModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.yt-modal-badge {
    display: inline-block;
    background: #635bdb;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(99, 91, 219, 0.35);
}

.yt-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #202124;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.yt-modal-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 12px 0;
}

.yt-modal-sub {
    font-size: 13px !important;
    color: #70757d !important;
}

.yt-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.yt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.yt-btn-primary {
    background: #635bdb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(99, 91, 219, 0.3);
}

.yt-btn-primary:hover {
    background: #5149c6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 91, 219, 0.4);
}

.yt-btn-secondary {
    background: #f6f7fb;
    color: #70757d;
    border: 1px solid #e8eaf0;
}

.yt-btn-secondary:hover {
    background: #e8eaf0;
    color: #202124;
}

.yt-modal-footer {
    margin-top: 20px;
    border-top: 1px solid #f0f2f5;
    padding-top: 14px;
}

.yt-modal-footer small {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
    display: block;
}
