/* 대표 동영상 섹션 */
.video-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.video-header {
    text-align: center;
    margin-bottom: 80px;
}

.video-title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.video-subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* 비디오 콘텐츠 */
.video-content {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    background: #f8f8f8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* 비디오 플레이어 */
.video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 비율 */
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 20px;
}

/* 썸네일 오버레이 */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* play-button-overlay는 사용하지 않음 - video-thumbnail-overlay가 대체 */

.video-thumbnail-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-thumbnail-overlay.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.play-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 30px rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15;
}

.video-thumbnail-overlay:hover .play-icon {
    transform: scale(1.15);
}

.play-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    border-radius: 20px;
    z-index: 1;
}

/* 비디오 컨트롤 커스터마이징 */
video::-webkit-media-controls {
    z-index: 2;
}

video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* 오버레이가 숨겨진 후 비디오 z-index 증가 */
.video-player:has(.video-thumbnail-overlay.hide) .video-element {
    z-index: 11;
}

/* CTA 버튼 */
.video-cta {
    text-align: center;
    margin-top: 60px;
}

.video-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #111;
    border: 2px solid #111;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.video-more-btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.video-more-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    animation: arrowMove 2s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

.video-more-btn:hover svg {
    animation-play-state: paused;
    transform: translateX(5px);
}

/* 반응형 */
@media (max-width: 768px) {
    .video-section {
        padding: 80px 0;
    }
    
    .video-header {
        margin-bottom: 60px;
    }
    
    .video-title {
        font-size: 32px;
    }
    
    .video-subtitle {
        font-size: 1.1rem;
    }
    
    .video-info {
        padding: 30px 20px;
    }
    
    .video-info-title {
        font-size: 1.5rem;
    }
    
    .video-info-desc {
        font-size: 1rem;
    }
    
    .video-meta {
        gap: 16px;
    }
    
    .video-cta {
        margin-top: 40px;
    }
    
    .play-button svg {
        width: 60px;
        height: 60px;
    }
}