/* 포트폴리오 페이지 스타일 */
.main-content {
    margin-top: 70px;
    min-height: 100vh;
    background: #f8f9fa;
}

/* 페이지 헤더 */
.page-header {
    background: linear-gradient(135deg, var(--navy-bg) 0%, var(--dark-blue) 100%);
    color: var(--white-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: var(--wealth-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    color: var(--white-text);
}

/* 포트폴리오 통계 */
.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: var(--white-text);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wealth-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 필터 섹션 */
.filter-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--dark-blue);
    background: transparent;
    color: var(--dark-blue);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--wealth-gold), var(--bright-gold));
    color: var(--navy-bg);
    border-color: var(--wealth-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.sort-controls {
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 10px 15px;
    border: 2px solid var(--dark-blue);
    border-radius: 25px;
    background: white;
    color: var(--dark-blue);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--wealth-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* 갤러리 섹션 */
.gallery-section {
    padding: 60px 0;
    background: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-bg);
    margin-bottom: 15px;
}

.gallery-header p {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    border-color: var(--wealth-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

/* 이미지 개수 및 동영상 배지 */
.image-count-badge,
.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-badge {
    top: 40px;
    background: rgba(220, 53, 69, 0.9);
}

.image-count-badge i,
.video-badge i {
    font-size: 10px;
}

/* 미디어 정보 스타일 */
.media-info {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.media-count {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.media-count i {
    font-size: 10px;
}

/* 이미지 네비게이션 */
.image-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 25px;
    z-index: 20;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.image-counter {
    color: white;
    font-size: 14px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

/* 동영상 섹션 */
.video-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.video-section h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-video {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    background: #000;
    display: block;
    margin: 0 auto;
}

/* 동영상 컨트롤 스타일 개선 */
.modal-video::-webkit-media-controls {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-video::-webkit-media-controls-play-button {
    background-color: var(--wealth-gold);
    border-radius: 50%;
}

.modal-video::-webkit-media-controls-timeline {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 동영상 로딩 상태 개선 */
.modal-video[data-loading="true"] {
    opacity: 0.5;
}

/* 작품 날짜 및 조회수 */
.work-date,
.work-views {
    position: absolute;
    top: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.work-date {
    left: 15px;
}

.work-views {
    right: 15px;
}

.work-date i,
.work-views i {
    font-size: 0.7rem;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 90%;
}

.gallery-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.work-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.4;
}

.work-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.work-size,
.work-time,
.work-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.view-details-btn {
    background: linear-gradient(135deg, var(--wealth-gold), var(--bright-gold));
    color: var(--navy-bg);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    color: #333;
}

.modal-image-container {
    position: relative;
    margin-bottom: 20px;
}

#modalImage {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-image-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
}

.modal-image-info {
    display: flex;
    gap: 15px;
}

.modal-date,
.modal-views {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.modal-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-weight: 600;
    color: #333;
}

.detail-item i {
    color: var(--wealth-gold);
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--wealth-gold), var(--bright-gold));
    color: var(--navy-bg);
    border: none;
}

.btn-secondary {
    background: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 상담 섹션 */
.consultation-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.consultation-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.consultation-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 애니메이션 */
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .main-content {
        margin-top: 60px;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .portfolio-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .sort-controls {
        justify-content: center;
    }
    
    .sort-select {
        min-width: 150px;
    }
    
    .gallery-header h2 {
        font-size: 1.5rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .work-date,
    .work-views {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .gallery-info h3 {
        font-size: 1.3rem;
    }
    
    .work-description {
        font-size: 0.8rem;
    }
    
    .work-details {
        font-size: 0.7rem;
    }
    
    /* 배지 스타일 모바일 */
    .image-count-badge,
    .video-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .video-badge {
        top: 35px;
    }
    
    .media-info {
        gap: 8px;
    }
    
    .media-count {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    /* 이미지 네비게이션 모바일 */
    .image-navigation {
        bottom: 10px;
        padding: 8px 12px;
    }
    
    .nav-btn {
        width: 30px;
        height: 30px;
    }
    
    .image-counter {
        font-size: 12px;
        min-width: 40px;
    }
    
    /* 동영상 섹션 모바일 */
    .video-section h4 {
        font-size: 14px;
    }
    
    .modal-video {
        max-width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }
    
    #modalImage {
        height: 300px;
    }
    
    .modal-info h3 {
        font-size: 1.5rem;
    }
    
    .modal-info p {
        font-size: 1rem;
    }
    
    .modal-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .detail-item {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .consultation-section {
        padding: 60px 0;
    }
    
    .consultation-section h2 {
        font-size: 2rem;
    }
    
    .consultation-section p {
        font-size: 1.1rem;
    }
    
    .consultation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* 모바일에서 헤더와 콘텐츠 사이 여백 추가 */
    .gallery-section {
        padding-top: 130px !important; /* 헤더 높이(60px) + 추가 여백(70px) */
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .portfolio-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .filter-section {
        padding: 25px 0;
    }
    
    .filter-section {
        padding: 20px 0;
    }
    
    .filter-buttons {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        gap: 8px;
        padding: 8px 0;
        white-space: nowrap;
    }
    
    .filter-buttons::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .filter-btn {
        flex-shrink: 0;
        min-width: auto;
        width: auto;
        max-width: none;
        padding: 8px 14px;
        font-size: 0.8rem;
        border-radius: 18px;
        white-space: nowrap;
    }
    
    .gallery-header h2 {
        font-size: 1.3rem;
    }
    
    .gallery-header p {
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .work-date,
    .work-views {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    
    .gallery-info h3 {
        font-size: 1.2rem;
    }
    
    .work-description {
        font-size: 0.75rem;
    }
    
    .work-details {
        font-size: 0.65rem;
    }
    
    .view-details-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .modal-content {
        padding: 10px;
        margin: 5% auto;
    }
    
    #modalImage {
        height: 250px;
    }
    
    .modal-image-overlay {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    
    .modal-date,
    .modal-views {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .modal-info h3 {
        font-size: 1.3rem;
    }
    
    .modal-info p {
        font-size: 0.9rem;
    }
    
    .detail-item {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    .detail-item i {
        font-size: 1rem;
    }
    
    .consultation-section h2 {
        font-size: 1.8rem;
    }
    
    .consultation-section p {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    .gallery-item,
    .gallery-image img,
    .gallery-overlay {
        animation: none;
        transition: none;
    }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .filter-section {
        background: #2a2a2a;
    }
    
    .gallery-section {
        background: #1a1a1a;
    }
    
    .gallery-item {
        background: #2a2a2a;
    }
    
    .modal-content {
        background: #2a2a2a;
        color: white;
    }
    
    .modal-info h3 {
        color: white;
    }
    
    .modal-info p {
        color: #ccc;
    }
    
    .detail-item {
        background: #3a3a3a;
        color: white;
    }
} 

/* 동영상 컨테이너 및 오류 처리 스타일 */
.video-container {
    position: relative;
    margin-bottom: 20px;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff6b6b;
}

.loading-spinner p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}

.video-error-message {
    text-align: center;
    color: white;
    padding: 20px;
}

.video-error-message i {
    font-size: 32px;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.video-error-message p {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 500;
}

.retry-video-btn,
.download-video-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.retry-video-btn:hover,
.download-video-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.retry-video-btn i,
.download-video-btn i {
    font-size: 12px;
}

/* 동영상 최적화 알림 */
.video-optimization-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* 동영상 디버그 정보 스타일 */
.video-debug-info {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 8px;
    margin-top: 10px;
    font-family: monospace;
    font-size: 11px;
    line-height: 1.4;
}

.video-debug-info p {
    margin: 2px 0;
    color: rgba(255, 255, 255, 0.8);
}

/* 동영상 품질 표시 */
.video-quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    z-index: 5;
}

/* 동영상 재생 상태 표시 */
.video-playing {
    position: relative;
}

.video-playing::after {
    content: '▶ 재생 중';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 255, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    z-index: 5;
}

/* 동영상 로딩 애니메이션 */
@keyframes videoLoading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner i {
    animation: videoLoading 1s linear infinite;
}

/* 동영상 오류 상태 스타일 */
.video-error {
    border: 2px solid #ff6b6b;
    border-radius: 8px;
}

.video-error .modal-video {
    opacity: 0.3;
}
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-optimization-notice i {
    font-size: 16px;
}

/* 동영상 품질 표시 */
.video-quality-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
}

/* 모바일 동영상 스타일 */
@media (max-width: 480px) {
    .video-loading,
    .video-fallback {
        border-radius: 6px;
    }
    
    .loading-spinner i {
        font-size: 20px;
    }
    
    .loading-spinner p {
        font-size: 12px;
    }
    
    .video-error-message i {
        font-size: 24px;
    }
    
    .video-error-message p {
        font-size: 14px;
    }
    
    .retry-video-btn,
    .download-video-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin: 3px;
    }
    
    .video-optimization-notice {
        padding: 12px;
        font-size: 12px;
    }
    
    .video-quality-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
} 