.video-hero {
    padding: 8rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    z-index: -1;
}

.video-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.video-hero h1 span {
    background: linear-gradient(45deg,
            #4CAF50,
            #2196F3,
            #9C27B0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text 3s ease infinite;
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.video-hero:hover h1 {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.video-hero p {
    color: #ccc;
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.video-showcase {
    padding: 2rem 0 4rem;
}

.video-player-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.video-player-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    z-index: -1;
    border-radius: 20px;
}

.video-player-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 175, 80, 0.4);
}

.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    cursor: pointer;
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-thumbnail-overlay:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
}

.video-thumbnail-overlay:hover .play-button-overlay {
    opacity: 1;
}

.play-button-overlay i {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: rgba(76, 175, 80, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.video-thumbnail-overlay:hover .play-button-overlay i {
    background: rgba(76, 175, 80, 1);
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.6);
}

.play-button-overlay span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-info {
    padding: 2rem;
    position: relative;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-info h2 {
    color: #4CAF50;
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.video-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    border-radius: 3px;
}

.video-badge {
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    }

    50% {
        box-shadow: 0 5px 20px rgba(76, 175, 80, 0.6);
    }

    100% {
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    }
}

.video-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.video-info p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.video-details {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.video-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
}

.video-details i {
    color: #4CAF50;
    width: 18px;
    font-size: 1.1rem;
}

.video-gallery {
    margin-top: 4rem;
}

.video-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #4CAF50;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
}

.video-gallery h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    border-radius: 4px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.video-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.thumbnail-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.thumbnail-duration {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Light mode adjustments */
.light-mode .video-hero::before {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
}

.light-mode .video-player-container::before {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
}

.light-mode .video-info h2 {
    color: #2196F3;
}

.light-mode .video-info h2::after {
    background: linear-gradient(45deg, #2196F3, #4CAF50);
}

.light-mode .video-badge {
    background: linear-gradient(45deg, #2196F3, #4CAF50);
}

.light-mode .video-details span:hover {
    background: rgba(0, 0, 0, 0.08);
}

.light-mode .video-details i {
    color: #2196F3;
}

.light-mode .video-gallery h2 {
    color: #2196F3;
}

.light-mode .video-gallery h2::after {
    background: linear-gradient(45deg, #2196F3, #4CAF50);
}

.light-mode .video-thumbnail {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-mode .thumbnail-overlay i {
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .video-hero {
        padding: 6rem 1rem 2rem;
    }

    .video-hero h1 {
        font-size: 2.5rem;
    }

    .video-hero p {
        font-size: 1.2rem;
        padding: 0;
    }

    .video-player {
        aspect-ratio: 16/9;
    }

    .video-info {
        padding: 2rem;
    }

    .video-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-info h2 {
        font-size: 1.8rem;
    }

    .video-details {
        flex-direction: column;
        gap: 1rem;
    }

    .video-details span {
        width: 100%;
        justify-content: center;
    }

    .video-gallery h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .play-button-overlay i {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .video-hero {
        padding: 5rem 1rem 1.5rem;
    }

    .video-hero h1 {
        font-size: 2rem;
    }

    .video-hero p {
        font-size: 1rem;
    }

    .video-info {
        padding: 1.5rem;
    }

    .video-info h2 {
        font-size: 1.5rem;
    }

    .video-gallery h2 {
        font-size: 1.8rem;
    }

    .thumbnail-overlay {
        padding: 1.5rem;
    }

    .thumbnail-overlay h3 {
        font-size: 1.2rem;
    }

    .thumbnail-overlay i {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .video-hero h1 {
        font-size: 1.8rem;
    }

    .video-gallery h2 {
        font-size: 1.5rem;
    }
}
