.video-item-title img {width:280px; max-width:100%;}
.navbar-nav a:before {
    content: attr(data-text);
    position: absolute;
    width: 0%;
    transition: width cubic-bezier(0.82, 0, 0.21, 1) 0.3s;
    color: #ffffff;
    z-index: 2;
    overflow: hidden;
}
.stick {
    width: 29px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #ffffff;
    display: inline-block;
}

/* PC용 비디오 포스터 및 로딩 스타일 */
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.video-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-loading.show {
    opacity: 1;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid #333;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

/* 모바일 WebM 슬라이더 스타일 */
.mobile-video-slider {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.mobile-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.mobile-video-slide.active {
    opacity: 1;
    z-index: 2;
}

.mobile-video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 기존 모바일 스타일들... */
.mobile-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 3;
}

.mobile-video-content {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 4;
    width: 90%;
}

.mobile-video-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

.mobile-video-content h4 {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-weight: 400;
}

.mobile-video-content img {
    width: 160px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.7));
}

.mobile-slider-nav {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.mobile-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mobile-nav-dot.active {
    background: #ffffff;
    transform: scale(1.2);
    border-color: rgba(255,255,255,0.5);
}

.mobile-touch-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    touch-action: pan-y;
}

.mobile-progress-bar {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 1px;
    z-index: 5;
}

.mobile-progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 1px;
    width: 0%;
    transition: width linear;
}

.mobile-title-slider {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    z-index: 4;
}

.mobile-title-slide {
    display: none;
    text-align: center;
    padding: 0 20px;
    color: white;
}

.mobile-title-slide.active {
    display: block;
    animation: slideInTitle 0.8s ease-out;
}


.mobile-title-slide h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 600;
}

.mobile-title-slide p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

@keyframes slideInTitle {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 미디어 쿼리 */
@media (max-width: 768px) {
    .promo-video-container {
        display: none !important;
    }

    .mobile-video-slider {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-video-slider {
        display: none !important;
    }
}