/* Video Window Styles */
.video-window-container {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    transform: translateZ(0);
    /* Hardware accel */
}

.window-header {
    background: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    position: relative;
}

.window-controls {
    display: flex;
    gap: 8px;
    z-index: 2;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #ff5f56;
}

.control.yellow {
    background: #ffbd2e;
}

.control.green {
    background: #27c93f;
}

.window-title {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    color: #999;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
}

.video-content-wrapper {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    /* Enforce aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Or contain, depending on video */
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(227, 245, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 40px;
    padding-left: 5px;
    /* Visual center adjustment */
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(227, 245, 20, 0.4);
}

.play-overlay:hover .play-button {
    transform: scale(1.1);
}

.video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-yellow);
    transition: width 0.1s linear;
}