.privacy-video {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-video__container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.privacy-video__thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.privacy-video__container:hover .privacy-video__thumbnail {
    transform: scale(1.05);
}

.privacy-video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.privacy-video__container:hover .privacy-video__overlay {
    background: rgba(0, 0, 0, 0.5);
}

.privacy-video__play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

.privacy-video__play-button:hover {
    transform: scale(1.1);
}

.privacy-video__play-button svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.privacy-video__notice {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.privacy-video__notice-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.privacy-video__notice-text small {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.privacy-video__notice-link {
    color: inherit;
    text-decoration: underline;
    white-space: nowrap;
}

.privacy-video__notice-link:hover,
.privacy-video__notice-link:focus {
    text-decoration: none;
}

.privacy-video__loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
}

.privacy-video__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: privacy-video-spin 1s linear infinite;
}

@keyframes privacy-video-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.privacy-video__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .privacy-video__notice {
        padding: 0.75rem;
    }
    
    .privacy-video__notice-text {
        font-size: 0.813rem;
    }
    
    .privacy-video__notice-text small {
        font-size: 0.688rem;
    }
}

@media (hover: none) {
    .privacy-video__container:hover .privacy-video__thumbnail {
        transform: none;
    }
    
    .privacy-video__play-button:hover {
        transform: none;
    }
}
/* The consent notice has been read and accepted this session; the click-to-load
   gate stays, so each video is still only fetched when its own play button is used. */
.privacy-video--consented .privacy-video__notice {
    display: none;
}
