/* Video modal - 10 saniye sonra kapat */

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.video-modal[aria-hidden="false"] {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.video-modal-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}

.video-modal-close-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.video-modal-close-btn:not(:disabled):hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-close-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.video-modal-countdown {
    white-space: nowrap;
}

.video-modal .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
