/**
 * Cookie Cutter Video Lite
 * Brand Styling: Lumen Codes
 */

/* 1. Main Container */
.cc-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #0c222f; /* Brand Navy */
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cc-video-container:hover {
    transform: translateY(-2px);
}

/* 2. Placeholder Thumbnail */
.cc-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Darken overlay on placeholder */
.cc-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 34, 47, 0.5); /* Brand Navy with opacity */
    transition: background 0.3s ease;
}

.cc-video-container:hover .cc-placeholder::before {
    background: rgba(12, 34, 47, 0.4);
}

/* 3. Play Button Overlay */
.cc-play-button {
    position: relative;
    z-index: 3;
    width: 70px;
    height: 70px;
    background: #0dbfd0; /* Brand Teal */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(13, 191, 208, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cc-play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #0c222f; /* Brand Navy triangle */
    margin-left: 5px;
}

.cc-video-container:hover .cc-play-button {
    transform: scale(1.1);
    background: #f7cd2b; /* Brand Gold on hover */
    box-shadow: 0 0 30px rgba(247, 205, 43, 0.6);
}

/* 4. Consent Hint Text */
.cc-consent-hint {
    position: relative;
    z-index: 3;
    margin-top: 20px;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(12, 34, 47, 0.8);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(13, 191, 208, 0.3);
}

/* 5. Player Target (The Iframe) */
.cc-player-target {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 6. Active State */
.cc-video-container.cc-active .cc-placeholder {
    display: none !important;
}

.cc-video-container.cc-active {
    cursor: default;
    transform: none;
}

/* 7. Skeleton Loading State (Optional) */
@keyframes cc-shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.cc-loading {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    animation: cc-shimmer 1s linear infinite;
}