/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:'Noto Sans KR',sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 상단 안내 배너 */
.top-banner {
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    position: relative;
    font-size: 14px;
}

.top-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.top-banner strong {
    font-weight: 700;
}

.close-banner {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* 헤더 */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 26px;
    color: #0066cc;
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #0066cc;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login,
.btn-signup {
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.btn-login:hover {
    background: #f5f5f5;
}

.btn-signup {
    background: #0066cc;
    color: white;
}

.btn-signup:hover {
    background: #0052a3;
}

.btn-menu-mobile {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 모바일 메뉴 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 60px;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 60px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #1a1a2e;
}

.hero-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary {
    background: #0066cc;
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.btn-primary i {
    margin-left: 8px;
}

.video-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-placeholder img {
    width: 100%;
    display: block;
}

.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    color: #0066cc;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.video-thumbnails {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.thumbnail-item {
    width: 50px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: white;
}

/* 연계 서비스 섹션 (NEW) */
.partner-services {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.service-link-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link-btn:hover {
    background: #0052a3;
    transform: scale(1.05);
}

/* 알림 배너 */
.alert-banner {
    background: #ff3333;
    color: white;
    padding: 25px 0;
    margin: 0;
}

.alert-content {
    text-align: center;
}

.alert-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.alert-content .highlight {
    font-weight: 700;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
}

/* TV 출연 섹션 */
.tv-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.section-header-with-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tv-logo {
    height: 35px;
}

.section-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
}

.more-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #0066cc;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #0066cc;
    border-radius: 25px;
    transition: all 0.3s;
}

.more-link:hover {
    background: #0066cc;
    color: white;
    transform: translateX(5px);
}

.more-link i {
    font-size: 12px;
}

.tv-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.tv-gallery.expanded {
    grid-template-columns: repeat(5, 1fr);
}

.tv-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
}

.tv-item.hidden {
    display: none;
}

.tv-item:hover {
    transform: scale(1.03);
}

.tv-item img {
    width: 100%;
    display: block;
}

.tv-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.tv-item:hover .tv-item-overlay {
    opacity: 1;
}

.tv-item-overlay i {
    color: white;
    font-size: 48px;
}

/* 개선된 더보기 버튼 (NEW) */
.view-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-more-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-more-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-more-enhanced:hover::before {
    left: 100%;
}

.btn-more-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-more-enhanced i {
    transition: transform 0.3s;
}

.btn-more-enhanced:hover i {
    transform: translateY(3px);
}

.btn-more-enhanced.expanded i {
    transform: rotate(180deg);
}

.more-text {
    position: relative;
    z-index: 1;
}

.btn-more {
    display: block;
    margin: 0 auto;
    padding: 10px 35px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-more:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* 태그 섹션 */
.tags-section {
    padding: 30px 0;
    background: white;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 6px 15px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.tag:hover {
    background: #009ec3;
	color:white;
}

.tag.active {
    background: #009ec3;
	color:white;
}

.tags-note {
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* 연재칼럼 섹션 */
.column-section {
    padding: 60px 0;
    background: white;
}

.column-section.secondary {
    background: #f9f9f9;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    height: 28px;
}

.section-title h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
}

.view-all {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.view-all:hover {
    color: #0052a3;
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.column-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.column-card.featured {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: none;
}

.column-label {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.column-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #1a1a2e;
}

.column-meta {
    font-size: 12px;
    color: #999;
}

.column-card-alt {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.column-card-alt:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-badge-alt {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.column-card-alt h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #1a1a2e;
}

/* 새로운 캘린더 섹션 스타일 */
.calendar-section {
    padding: 60px 0;
    background: #f5f7fa;
}

.calendar-header-section {
    margin-bottom: 30px;
}

.calendar-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.calendar-header-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
}

.calendar-content-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: start;
}

/* 달력 래퍼 */
.calendar-wrapper-new {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header-new h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
}

.calendar-nav-new {
    display: flex;
    gap: 10px;
}

.calendar-nav-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.calendar-new {
    margin-bottom: 20px;
}

.calendar-weekdays-new {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    text-align: center;
}

.calendar-weekdays-new .weekday {
    font-size: 13px;
    font-weight: 500;
    color: #999;
    padding: 8px 0;
}

.calendar-weekdays-new .weekday.sun {
    color: #ff4444;
}

.calendar-weekdays-new .weekday.sat {
    color: #4488ff;
}

.calendar-days-new {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-days-new .day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.calendar-days-new .day.empty {
    cursor: default;
    color: #ccc;
}

.calendar-days-new .day.today {
    background: #4A90E2;
    color: white;
    font-weight: 700;
}

.calendar-days-new .day:not(.empty):not(.today):hover {
    background: #f0f4f8;
}

.calendar-note-new {
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* 콘텐츠 리스트 */
.content-list-new {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #4A90E2;
}

.content-item-new {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.content-item-new:last-child {
    border-bottom: none;
}

.time-slot-new {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 80px;
}

.time-slot-new .time-start {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
}

.time-slot-new .time-range {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.content-thumbnail-new {
    width: 140px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.content-thumbnail-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-info-new {
    flex: 1;
}

.content-info-new.full-width {
    grid-column: 2 / -1;
}

.content-badge-new {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.content-title-new {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.5;
    margin-bottom: 8px;
}

.content-subtitle-new {
    font-size: 13px;
    color: #999;
}

.replay-btn-new {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
    white-space: nowrap;
}

.replay-btn-new:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* 인기 콘텐츠 섹션 */
.popular-section {
    padding: 60px 0;
    background: white;
}

.section-title-with-more {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.section-title-large {
    margin-bottom: 0;
}

.section-title-large h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.section-title-large p {
    color: #666;
    font-size: 14px;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.popular-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    background: white;
    cursor: pointer;
    position: relative;
}

.popular-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    z-index: 10;
}

.card-badge.free {
	background:#00BA4D;
}

.card-badge.nofree {
	background:#0053C9;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.popular-card:hover .card-background-img {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.card-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    z-index: 1;
}

.premium-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}

.card-main-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
	text-shadow:1px 1px 3px #000;
	color:gold;
}

.price-section {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.discount-badge {
    display: inline-block;
    background: #ff3333;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 700;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.original-price {
    text-decoration: line-through;
    font-size: 12px;
    opacity: 0.8;
}

.sale-price {
    font-size: 22px;
    font-weight: 700;
}

.card-footer-info {
    padding: 18px;
}

.course-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    color: #333;
}

.instructor {
    font-size: 13px;
    color: #999;
}

.instructor i {
    margin-right: 5px;
}

/* 하단 배너 섹션 */
.bottom-banners {
    padding: 60px 0;
    background: #f9f9f9;
}

.banner-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.banner-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.banner-item:hover {
    transform: scale(1.02);
}

.banner-item img {
    width: 100%;
    display: block;
}

/* 큰 배너 섹션 */
.large-banners {
    padding: 60px 0;
    background: white;
}

.large-banner-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.large-banner-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.large-banner-item:hover {
    transform: scale(1.02);
}

.large-banner-item img {
    width: 100%;
    display: block;
}

/* 유튜브 CTA 배너 (NEW) */
.youtube-cta {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.youtube-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.youtube-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.youtube-cta-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.youtube-icon-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.youtube-icon-wrapper i {
    font-size: 50px;
    color: #ff0000;
}

.youtube-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.youtube-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: white;
    color: #ff0000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.youtube-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #fff;
}

.youtube-btn i:first-child {
    font-size: 24px;
}

.youtube-btn i:last-child {
    font-size: 14px;
}

/* 푸터 */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #0066cc;
}

.footer-logo p {
    color: #aaa;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #0066cc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #aaa;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #aaa;
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0066cc;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tv-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .tv-gallery.expanded {
        grid-template-columns: repeat(3, 1fr);
    }

    .column-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-grid-3,
    .large-banner-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .calendar-content-wrapper {
        grid-template-columns: 1fr;
    }

    .calendar-wrapper-new {
        max-width: 500px;
        margin: 0 auto 30px;
    }

    .youtube-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .youtube-icon-wrapper {
        margin: 0 auto;
    }

    .youtube-btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .btn-login,
    .btn-signup {
        display: none;
    }

    .btn-menu-mobile {
        display: block;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tv-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tv-gallery.expanded {
        grid-template-columns: repeat(2, 1fr);
    }

    .column-grid {
        grid-template-columns: 1fr;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }

    .banner-grid-3,
    .large-banner-grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .calendar-days-new {
        gap: 5px;
    }

    .calendar-days-new .day {
        font-size: 13px;
    }

    .section-title h3,
    .section-header h3 {
        font-size: 22px;
    }

    .calendar-header-section h3 {
        font-size: 24px;
    }

    .content-item-new {
        grid-template-columns: auto 1fr;
        gap: 15px;
    }

    .content-thumbnail-new {
        grid-column: 1 / -1;
        width: 100%;
        height: 180px;
        order: -1;
    }

    .content-info-new.full-width {
        grid-column: 2 / -1;
    }

    .replay-btn-new {
        grid-column: 1 / -1;
        width: 100%;
    }

    .section-header-with-more {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .section-title-with-more {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .more-link {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero-content h2 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 14px;
    }

    .tv-gallery {
        grid-template-columns: 1fr;
    }

    .tv-gallery.expanded {
        grid-template-columns: 1fr;
    }

    .section-title h3,
    .section-header h3 {
        font-size: 20px;
    }

    .column-card h4 {
        font-size: 15px;
    }

    .card-main-title {
        font-size: 17px;
    }

    .sale-price {
        font-size: 19px;
    }

    .alert-content p {
        font-size: 13px;
    }

    .tags-wrapper {
        gap: 8px;
    }

    .tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .calendar-header-section h3 {
        font-size: 20px;
    }

    .time-slot-new .time-start {
        font-size: 18px;
    }

    .content-title-new {
        font-size: 14px;
    }

    .btn-more-enhanced {
        padding: 14px 30px;
        font-size: 14px;
    }

    .youtube-text h3 {
        font-size: 22px;
    }

    .youtube-text p {
        font-size: 14px;
    }

    .youtube-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.column-card,
.popular-card,
.tv-item,
.service-card {
    animation: fadeIn 0.5s ease-in-out;
}

/* 스크롤 투 탑 버튼 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s;
}

.scroll-to-top:hover {
    transform: scale(1.1);
    background: #0052a3;
}


/* 새로운 칼럼 그리드 스타일 */
.item-count {
    font-size: 18px;
    font-weight: 400;
    color: #999;
    margin-left: 8px;
}

.column-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.column-card-new {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.column-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}




.column-card-new:hover .column-card-image img {
    transform: scale(1.05);
}


.file-badge[class*="pdf"] {
    background: rgba(255, 152, 0, 0.9);
}

.column-card-content {
    padding: 20px;
    position: relative;
}

.column-card-content h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a2e;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-meta-new {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.tag-free {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

/* 반응형 */
@media (max-width: 1024px) {
    .column-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .column-grid-new {
        grid-template-columns: 1fr;
    }
}


/* 유튜브 썸네일 섹션 */
.youtube-thumbnails-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.youtube-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.youtube-thumb-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.youtube-thumb-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.youtube-thumb-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.youtube-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.youtube-thumb-item:hover .youtube-thumb-image img {
    transform: scale(1.05);
}

.youtube-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.youtube-thumb-item:hover .youtube-play-overlay {
    opacity: 1;
}

.youtube-play-overlay i {
    color: white;
    font-size: 28px;
}

.youtube-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.youtube-thumb-content {
    padding: 16px;
}

.youtube-thumb-content h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.youtube-meta {
    font-size: 13px;
    color: #666;
}

/* 반응형 */
@media (max-width: 1024px) {
    .youtube-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .youtube-grid-3 {
        grid-template-columns: 1fr;
    }
}


/*********************************************/
.column-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.column-card-image img {
    display: none;
}

.card-image-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-align: center;
    padding: 0 20px;
    line-height: 1.4;
    z-index: 1;
}

.file-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.file-badge-pdf {
    background: rgba(255, 152, 0, 0.9);
}


/******************************************/
/* 히어로 섹션 - 좌우 분할 유지 */
.hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 60px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #1a1a2e;
}

.hero-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 히어로 슬라이더 */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,1.7) 0%, transparent 60%);
}

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
}

.hero-small-logo {
    width: 60px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-slide-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-slide-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255,255,255,0.5);
}

.hero-nav-btn.prev-btn {
    left: 20px;
}

.hero-nav-btn.next-btn {
    right: 20px;
}

.hero-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-thumb {
    width: 80px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
    position: relative;
}

.hero-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    transition: opacity 0.3s;
}

.hero-thumb:hover::after {
    opacity: 0;
}

.hero-thumb:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.hero-thumb.active {
    border-color: white;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(255,255,255,0.4);
}

.hero-thumb.active::after {
    opacity: 0;
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TV 섹션 비디오 스타일 */
.tv-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
    aspect-ratio: 9/16;
    background: #000;
}

.tv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tv-item:hover {
    transform: scale(1.03);
}

/* 연계 서비스 섹션 - 개선된 디자인 */
.partner-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.partner-services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,204,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.partner-services::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74,144,226,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.services-header h3 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.services-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--card-color, #0066cc) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s;
    z-index: 0;
}

.service-card:hover .service-bg-effect {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255,255,255,0.2);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.service-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-link-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-link-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: transform 0.5s;
}

.service-link-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.service-link-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.service-link-btn i {
    transition: transform 0.3s;
}

.service-link-btn:hover i {
    transform: translateX(5px);
}

/* 파티클 효과 */
.service-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    opacity: 0;
    animation: float 3s infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 2s;
}

.service-card:hover .particle {
    opacity: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

/* 반응형 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-slider-wrapper {
        height: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-slider-wrapper {
        height: 350px;
    }
    
    .hero-slide-title {
        font-size: 22px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-header h3 {
        font-size: 28px;
    }
}

/***************************************/
/* TV 섹션 기본 스타일 */
.tv-section {
    padding: 60px 0;
    background: #f9f9f9;
}

/* TV 갤러리 그리드 */
.tv-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.tv-gallery.expanded {
    grid-template-columns: repeat(5, 1fr);
}

/* TV 아이템 - 개선된 스타일 */
.tv-item {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

/* 호버 시 글로우 효과 */
.tv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,102,204,0.3) 0%, rgba(74,144,226,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
    border-radius: 16px;
}

.tv-item:hover::before {
    opacity: 1;
}

/* 비디오 스타일 */
.tv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* 호버 효과 */
.tv-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 102, 204, 0.3),
                0 0 0 4px rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.6);
}

.tv-item:hover .tv-video {
    transform: scale(1.15);
}

/* 오버레이 */
.tv-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
                                rgba(0,0,0,0.9) 0%, 
                                rgba(0,0,0,0.3) 50%,
                                transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.tv-item:hover .tv-item-overlay {
    opacity: 1;
}

/* 재생 아이콘 */
.tv-item-overlay i {
    color: white;
    font-size: 72px;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.7));
    transition: all 0.3s ease;
    animation: pulse 2s infinite ease-in-out;
}

.tv-item:hover .tv-item-overlay i {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 30px rgba(74, 144, 226, 0.8));
}

/* 펄스 애니메이션 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* TV 아이템 정보 (하단에서 올라오는 효과) */
.tv-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, 
                                rgba(0,0,0,0.95) 0%, 
                                rgba(0,0,0,0.8) 70%,
                                transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}

.tv-item:hover .tv-item-info {
    transform: translateY(0);
}

/* TV 아이템 제목 */
.tv-item-title {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TV 아이템 메타 정보 */
.tv-item-meta {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.tv-item-meta i {
    font-size: 12px;
    color: rgba(74, 144, 226, 1);
}

/* TV 배지 (NEW, HOT 등) */
.tv-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 59, 48, 0.95);
    color: white;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(255, 59, 48, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.tv-item:hover .tv-badge {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.6);
}

.tv-badge.new {
    background: rgba(52, 199, 89, 0.95);
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.4);
}

.tv-item:hover .tv-badge.new {
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.6);
}

.tv-badge.hot {
    background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
    box-shadow: 0 4px 16px rgba(255, 59, 48, 0.5);
}

.tv-item:hover .tv-badge.hot {
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.7);
}

.tv-badge.exclusive {
    background: linear-gradient(135deg, #AF52DE 0%, #5856D6 100%);
    box-shadow: 0 4px 16px rgba(175, 82, 222, 0.4);
}

/* TV 재생 시간 배지 */
.tv-duration {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

/* TV 조회수 표시 */
.tv-views {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    z-index: 3;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tv-views i {
    font-size: 10px;
    color: rgba(74, 144, 226, 1);
}

/* 로딩 애니메이션 */
.tv-item.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                                transparent 0%, 
                                rgba(255,255,255,0.1) 50%, 
                                transparent 100%);
    animation: shimmer 2s infinite;
    z-index: 4;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .tv-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .tv-gallery.expanded {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tv-item-overlay i {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .tv-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tv-gallery.expanded {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tv-item {
        border-radius: 12px;
    }
    
    .tv-item-overlay i {
        font-size: 48px;
    }
    
    .tv-item-title {
        font-size: 14px;
    }
    
    .tv-badge {
        padding: 5px 10px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .tv-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tv-gallery.expanded {
        grid-template-columns: 1fr;
    }
    
    .tv-item {
        aspect-ratio: 16/9;
    }
    
    .tv-item:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

/* 숨김 처리된 아이템 */
.tv-item.hidden {
    display: none;
}

/* 프로그레스 바 (선택사항) */
.tv-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 100%);
    z-index: 3;
    transition: width 0.3s ease;
}

/* 즐겨찾기 버튼 (선택사항) */
.tv-favorite {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.3s;
}

.tv-item:hover .tv-favorite {
    opacity: 1;
}

.tv-favorite:hover {
    background: rgba(255, 59, 48, 0.9);
    transform: scale(1.1);
}

.tv-favorite i {
    color: white;
    font-size: 16px;
}

.tv-favorite.active {
    opacity: 1;
    background: rgba(255, 59, 48, 0.9);
}

/* 접근성 개선 */
.tv-item:focus {
    outline: 3px solid rgba(74, 144, 226, 0.8);
    outline-offset: 4px;
}

.tv-item:focus:not(:focus-visible) {
    outline: none;
}