.section-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.section-video-modal.is-open {
    display: flex;
}

.section-video-modal__content {
    background: #ffffff;
    border-radius: 12px;
    width: min(900px, 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.section-video-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: #ffffff;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-video-modal__frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000000;
}

.section-video-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.section-video-modal__actions {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px 16px 16px;
    background: #ffffff;
}

.closeModalBtn {
    background-color: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.closeModalBtn:hover {
    background-color: #111827;
}

.closeModalBtn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.explain-button {
    background: #ffffff;
    border: 1px solid #1f2937;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.75rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    line-height: 1.2;
    height: auto;
    white-space: nowrap;
}

.explain-button:hover {
    background: #f9fafb;
    border-color: #1f2937;
    color: #1f2937;
}

.explain-button .button-play-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.explain-button .button-play-icon path {
    transform-origin: 12px 12px;
    transform: scale(1.5);
}
