@keyframes blink {
    0%, 49% { background-color: #ffb3b3; }
    50%, 100% { background-color: #ff4d4d; }
}
@keyframes textBlink {
    0%, 49% { color: #8b0000; }
    50%, 100% { color: #fff; }
}
.tutorial-modal .modal-dialog {
    max-width: 90vw;
    width: 90vw;
    height: 90vh;
    margin: 5vh auto;
}
.tutorial-modal .modal-content {
    height: 90vh;
}
.tutorial-modal .modal-body {
    padding: 0;
    height: calc(90vh - 60px);
    display: flex;
}
.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.tutorial-modal .modal-header {
    padding: 0.4rem 1rem;
    flex-shrink: 0;
}
.tutorial-modal .modal-footer {
    padding: 0.4rem 1rem;
    flex-shrink: 0;
}

/* Video Frame Button */
.video-frame-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    display: block;
}
.video-frame-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #444;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.video-frame-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.5;
}
.video-frame-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: background 0.2s ease;
}
.video-frame-btn:hover .video-frame-overlay {
    background: rgba(0,0,0,0.15);
}
.video-play-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}
.video-frame-btn:hover .video-play-icon {
    transform: scale(1.1);
    background: #fff;
}
.video-play-icon .fas.fa-play {
    font-size: 20px;
    color: #111;
    margin-left: 4px;
}
.video-frame-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    text-align: center;
}