/* Embedded Video Player Component Styles */

.embedded-video-player {
    width: 100%;
    margin: 40px 0;
}

/* Remove margin when inside hero-visual (for homepage hero section) */
.hero-visual .embedded-video-player {
    margin: 0;
}

/* When inside hero-visual, half-width means 100% of the column (since column is already half) */
.hero-visual .embedded-video-player--half {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.embedded-video-player--half {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.embedded-video-container {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    --ambient-shadow-color: rgba(91, 61, 245, 0.2);
    box-shadow: 0 20px 60px var(--ambient-shadow-color);
    background: #000;
    transition: box-shadow 0.3s ease;
}

.embedded-video {
    width: 100%;
    height: auto;
    display: block;
}

.embedded-video-mute-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.embedded-video-mute-toggle:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
    transform: scale(1.1);
}

.embedded-video-mute-toggle svg {
    width: 24px;
    height: 24px;
}

.mute-icon .mute-line {
    stroke: #ff4444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .embedded-video-player--half {
        max-width: 100%;
    }
    
    .embedded-video-mute-toggle {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .embedded-video-mute-toggle svg {
        width: 20px;
        height: 20px;
    }
}

