/* 기본 스타일링 */

body {
    margin: 0;
    font-family: 'Pretendard', sans-serif;
    background-color: #000;
}

.main-container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

/* 헤더 스타일링 */
.header {
    width: 100%;
    height: 90px;
    position: relative;
    background: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 53px;
    z-index: 1000;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.logo-container {
    width: 186px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo {
    width: 203.06px;
    height: 67.26px;
    margin-left: -17.06px;
    margin-top: 5px;
    max-width: 100%;
    height: auto;
}

.nav-menu {
    display: flex;
    gap: 50px;
    margin-left: -300px;
    flex: 1;
    justify-content: center;
    max-width: 800px;
    overflow: visible;
    min-width: 0;
}

.nav-item {
    text-decoration: none;
    color: #c7c7c7;
    font-size: 18px;
    font-weight: 400;
    line-height: 19.43px;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover {
    color: white;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    min-width: 160px;
}

.signup-btn {
    width: 83.95px;
    height: 35.09px;
    background: #fe153c;
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 16.9px;
    font-weight: 400;
    line-height: 19.43px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.signup-btn:hover {
    background: #e01236;
}

.login-btn {
    width: 65.14px;
    height: 35.09px;
    background: #3b3b3b;
    border: none;
    border-radius: 3px;
    color: #d8d8d8;
    font-size: 16.9px;
    font-weight: 400;
    line-height: 19.43px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.login-btn:hover {
    background: #4b4b4b;
}

/* 햄버거 버튼 스타일 */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 3px;
    margin-left: 10px;
    position: relative;
    z-index: 999;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
    display: block;
    box-sizing: border-box;
}

/* 모바일 메뉴 오버레이 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 모바일 메뉴 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #1a1a1a;
    z-index: 1999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    border-bottom: 1px solid #333;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #fe153c;
}

.mobile-menu-items {
    padding: 30px 0;
}

.mobile-nav-item {
    display: block;
    padding: 15px 30px;
    color: #c7c7c7;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 40px;
}

/* 히어로 섹션 스타일링 */
.hero-section {
    width: 100%;
    height: 687px;
    position: relative;
    background: black;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 50px;
    max-width: 1820px;
    margin: 0 auto;
}

.hero-bg {
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: 120%;
    filter: blur(50px);
    opacity: 0.5;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 375px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, black 100%);
    z-index: 2;
}

.hero-left-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(to right, black, transparent);
    z-index: 2;
}

.hero-right-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(to left, black, transparent);
    z-index: 2;
}

.hero-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    gap: 100px;
}

.hero-left {
    flex: 1;
    max-width: 700px;
}

.hero-right {
    flex-shrink: 0;
}

.poster-container {
    width: 330px;
    height: 490px;
    background: rgb(0, 0, 0);
    margin-right: 100px;
    overflow: hidden;
    border-radius: 15.42px;
    position: relative;
}

.poster-image {
    width: 355.14px;
    height: 533.34px;
    position: absolute;
    top: 0;
    left: -14.5px;
}

.title-image {
    width: 100%;
    max-width: 448.62px;
    height: auto;
    margin-bottom: 20px;
}

.tags-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.rating-tag {
    width: 30px;
    height: 30px;
    background: rgb(0, 0, 0);
    overflow: hidden;
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-icon {
    width: 33.54px;
    height: 33.54px;
    position: absolute;
    top: -1.15px;
    left: -0.78px;
}

.tag {
    height: 30px;
    padding: 0 10px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.preview-btn {
    width: 320px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 6px;
    color: black;
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-btn::before {
    content: '▶';
    font-size: 16px;
}

.preview-btn:hover {
    background: #f0f0f0;
}

.action-buttons {
    display: flex;
    gap: 30px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.action-icon {
    width: 35px;
    height: 35px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-icon::before {
    content: '+';
    font-size: 24px;
    color: white;
    font-weight: 300;
}

.action-label {
    color: white;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.drama-info {
    color: rgba(255, 255, 255, 0.8);
}

.info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
}

.info-label {
    font-size: 16px;
    font-weight: 600;
    min-width: 80px;
}

.info-value {
    font-size: 16px;
    font-weight: 400;
}

.description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* 섹션 공통 스타일 */
.section {
    max-width: 1820px;
    margin: 0 auto;
    padding: 60px 50px;
    background-color: #000;
}

.section-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 35px;
}

.section-divider {
    width: 100%;
    height: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    max-width: 1820px;
}

/* 배우 프로필 섹션 */
.actors-section {
    max-width: 1820px;
    margin: 0 auto;
    overflow: hidden;
    padding: 50px 50px 0 50px;
}

.actors-grid {
    display: flex;
    gap: 30px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.actor-card {
    width: 300px;
    height: 430px;
    position: relative;
    background: rgb(0, 0, 0);
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.actor-card img{
    width: 100%;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.actor-gradient {
    width: 100%;
    height: 152.81px;
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.actor-name {
    position: absolute;
    bottom: 10px;
    left: 24.82px;
    color: white;
    font-size: 20.95px;
    font-weight: 500;
    line-height: 22.7px;
}

/* 에피소드 섹션 */
.episodes-section{
    margin: 0 auto;
    max-width: 1820px;
    margin-bottom: 40px;
    overflow: hidden;
    padding: 0 50px;
}

.episodes-header {
    margin-top: 50px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 5px;
}

.episodes-title-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.episodes-count {
    color: #838383;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.view-all-episodes-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #c7c7c7;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
}

.view-all-episodes-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

.episodes-grid {
    display: flex;
    gap: 30px;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-bottom: -20px;
    padding-bottom: 20px;
}

.episode-card {
    width: 300px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.episode-thumbnail {
    width: 100%;
    overflow: hidden;
    height: 430px;
    position: relative;
    background: black;
    border-radius: 10px;
    margin-bottom: 18.72px;
}

.episode-image {
    border-radius: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.progress-bar {
    width: 80%;
    height: 7.89px;
    position: absolute;
    bottom: 31px;
    left: 50%;
    transform: translateX(-50%);
    background: #2f2f2f;
    border-radius: 3.94px;
    overflow: hidden;
}

.progress-fill {
    width: 80%;
    height: 100%;
    background: #ff1b23;
    border-radius: 5.26px;
}

.play-button {
    width: 57.91px;
    height: 57.91px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.play-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.episode-info {
    height: auto;
    min-height: 107px;
}

.episode-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 25.55px;
    margin-bottom: 9.22px;
}

.episode-description {
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    line-height: 25.55px;
}

/* 에피소드 모달 */
.episodes-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.episodes-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.episodes-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: #222222;
    border-radius: 15px;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.episodes-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.episodes-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
}

.episodes-modal-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.episodes-modal-close {
    background: transparent;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.episodes-modal-close:hover {
    color: white;
}

.episodes-modal-content {
    padding: 20px 30px 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.episodes-range {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.range-current {
    color: #fe153c;
    font-size: 18px;
    font-weight: 600;
}

.range-divider {
    color: #666;
    font-size: 18px;
}

.range-total {
    color: #999;
    font-size: 18px;
    font-weight: 400;
}

.episodes-grid-modal {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.episode-modal-item {
    position: relative;
    width: 100%;
    height: 80px;
    background: #282828;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.episode-modal-item.available {
    background: #3a3a3a;
}

.episode-modal-item.available:hover {
    background: #5a5a5a;
    border-color: rgba(255, 255, 255, 0.2);
}

.episode-modal-item.locked {
    background: #171717;
    cursor: not-allowed;
    opacity: 0.7;
}

.episode-number {
    color: white;
    font-size: 18px;
    font-weight: 500;
    z-index: 1;
}

.episode-status-icon {
    position: absolute;
    top: 10px;
    right: 8px;
    width: 16px;
    height: 16px;
}

.bars-icon {
    background: #fe153c;
    border-radius: 2px;
    position: relative;
}

.bars-icon::before,
.bars-icon::after {
    content: '';
    position: absolute;
    background: #fe153c;
    border-radius: 2px;
}

.bars-icon::before {
    width: 16px;
    top: 2px;
    left: 0;
}

.bars-icon::after {
    width: 12px;
    height: 3px;
    top: 7px;
    left: 0;
}

.bars-icon {
    width: 8px;
    height: 3px;
    top: 12px;
}

.lock-icon {
    background: #fe153c;
    border-radius: 3px 3px 0 0;
    position: relative;
    width: 10px;
    height: 6px;
    border: 2px solid #fe153c;
    border-bottom: none;
}

.lock-icon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -2px;
    width: 14px;
    height: 8px;
    background: #fe153c;
    border-radius: 2px;
}

.lock-image {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* 관련 상품 섹션 */
.products-section{
    margin: 0 auto;
    max-width: 1820px;  
    margin-bottom: 40px; 
    overflow: hidden;
    padding: 0 50px;
}

.products-grid {
    display: flex;
    gap: 30px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.product-card {
    width: 320px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.product-thumbnail {
    width: 100%;
    height: 320px;
    position: relative;
    background: white;
    border-radius: 10px;
    margin-bottom: 20.72px;
}

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

.product-info {
    height: auto;
    min-height: 107px;
}

.product-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 25.55px;
    margin-bottom: 27.78px;
}

.product-price {
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    line-height: 25.55px;
}

/* 관련 콘텐츠 섹션 */
.related-content-section{
    margin: 0 auto;
    max-width: 1820px;
    margin-bottom: 80px;
    overflow: hidden;
    padding: 0 50px;
}

.related-content-grid {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.content-card {
    width: 220px;
    height: 320px;
    position: relative;
    background: rgb(0, 0, 0);
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 반응형 스타일링 */

/* 1400px 이하 */
@media (max-width: 1400px) and (min-width: 1201px) {
    .nav-menu {
        gap: 35px;
        margin-left: -200px;
        max-width: 700px;
    }
    .nav-item {
        font-size: 17px;
    }
    
    .hero-section {
        padding: 0 30px;
    }
    
    .section {
        padding: 60px 30px;
    }
    
    .actors-section,
    .episodes-section,
    .products-section,
    .related-content-section {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .actor-card {
        width: 16vw;
        height: 22vw;
    }
    
    .episode-card {
        width: 16vw;
    }
    
    .episode-thumbnail {
        height: 22vw;
    }
    
    .product-card {
        width: 16vw;
        max-width: 280px;
        min-width: 220px;
    }
    
    .product-thumbnail {
        height: 16vw;
        max-height: 280px;
        min-height: 220px;
    }
}

/* 1200px 이하 */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 25px;
        margin-left: -100px;
        max-width: 600px;
    }
    .nav-item {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .actors-section,
    .episodes-section,
    .products-section,
    .related-content-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .actor-card {
        width: 20vw;
        height: 28vw;
        max-width: 250px;
        max-height: 350px;
    }
 
    .episode-card {
        width: 20vw;
        max-width: 250px;
    }
    
    .episode-thumbnail {
        height: 28vw;
        max-height: 350px;
    }
    
    .product-card {
        width: 20vw;
        max-width: 250px;
        min-width: 200px;
    }
    
    .product-thumbnail {
        height: 20vw;
        max-height: 250px;
        min-height: 200px;
    }
    
    .content-card {
        width: 18vw;
        max-width: 200px;
    }
}

/* 중간 크기 추가 - 1100px 이하 */
@media (max-width: 1100px) and (min-width: 1001px) {
    .nav-menu {
        gap: 20px;
        margin-left: 0;
        max-width: 550px;
    }
    .nav-item {
        font-size: 15px;
    }
}

/* 1000px 이하 - 햄버거 메뉴로 전환 */
@media (max-width: 1000px) {
    .header {
        padding: 0 30px;
        height: 80px;
    }

    .logo-container {
        width: auto;
        min-width: 140px;
    }

    .logo {
        width: 160px;
        height: auto;
        margin-left: 0;
        margin-top: 0;
    }

    .nav-menu {
        display: none;
    }

    .auth-buttons {
        gap: 8px;
    }

    .signup-btn {
        width: 75px;
        height: 32px;
        font-size: 15px;
    }

    .login-btn {
        width: 60px;
        height: 32px;
        font-size: 15px;
    }

    .hamburger-btn {
        display: flex !important;
        width: 28px;
        height: 20px;
        margin-left: 10px;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .actors-section,
    .episodes-section,
    .products-section,
    .related-content-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-section {
        padding: 0 20px;
        height: auto;
        min-height: 500px;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .hero-left {
        order: 2;
        max-width: 100%;
    }
    
    .hero-right {
        order: 1;
    }
    
    .poster-container {
        width: 280px;
        height: 400px;
    }
    
    .poster-image {
        width: 300px;
        height: 450px;
        left: -10px;
    }
    
    .title-image {
        max-width: 350px;
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .preview-btn {
        width: 100%;
        max-width: 320px;
    }
    
    .progress-bar {
        height: 1.8vw;
        max-height: 7px;
        min-height: 4px;
        bottom: 3.5vw;
        max-bottom: 25px;
        min-bottom: 15px;
    }
    
    .play-button {
        width: 8vw;
        height: 8vw;
        max-width: 50px;
        max-height: 50px;
        min-width: 30px;
        min-height: 30px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .actor-card {
        width: 25vw;
        height: 35vw;
        max-width: 200px;
        max-height: 280px;
    }
    
    .episode-card {
        width: 25vw;
        max-width: 200px;
    }
    
    .episode-thumbnail {
        height: 35vw;
        max-height: 280px;
    }
    
    .product-card {
        width: 25vw;
        max-width: 200px;
        min-width: 160px;
    }
    
    .product-thumbnail {
        height: 25vw;
        max-height: 200px;
        min-height: 160px;
    }
    
    .content-card {
        width: 25vw;
        height: 35vw;
        max-width: 200px;
        max-height: 280px;
    }
}

/* 768px 이하 - 모바일 */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
        height: 70px;
    }

    .logo-container {
        width: auto;
        min-width: 120px;
    }

    .logo {
        width: 140px;
        height: auto;
        margin-left: 0;
        margin-top: 0;
    }

    .auth-buttons {
        gap: 6px;
    }

    .signup-btn {
        width: 65px;
        height: 30px;
        font-size: 13px;
    }

    .login-btn {
        width: 50px;
        height: 30px;
        font-size: 13px;
    }

    .hamburger-btn {
        display: flex !important;
        width: 25px;
        height: 18px;
        margin-left: 8px;
    }
    
    .hero-section {
        padding: 20px 15px;
        min-height: 400px;
    }
    
    .poster-container {
        width: 220px;
        height: 320px;
        margin-right: 0px;
    }
    


    .poster-image {
        width: 240px;
        height: 360px;
        left: -10px;
    }
    
    .title-image {
        max-width: 280px;
    }
    
    .section {
        padding: 30px 15px;
    }
    
    .actors-section,
    .episodes-section,
    .products-section,
    .related-content-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .episodes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .episodes-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .view-all-episodes-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .episodes-modal {
        width: 95%;
        max-width: none;
    }
    
    .episodes-modal-header {
        padding: 20px 20px 15px;
    }
    
    .episodes-modal-title {
        font-size: 18px;
    }
    
    .episodes-modal-content {
        padding: 15px 20px 25px;
    }
    
    .episodes-grid-modal {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .episode-modal-item {
        height: 70px;
    }
    
    .episode-number {
        font-size: 16px;
    }
    
    .preview-btn {
        width: 100%;
        max-width: 280px;
        height: 50px;
        font-size: 16px;
    }
    
    .tags-container {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
    
    .tag {
        font-size: 14px;
        height: 26px;
        line-height: 26px;
    }
    
    .action-buttons {
        gap: 20px;
    }
    
    .drama-info {
        text-align: left;
        max-width: 350px;
    }
    
    .description {
        font-size: 14px;
        line-height: 20px;
    }
    
    .progress-bar {
        height: 1.5vw;
        max-height: 6px;
        min-height: 3px;
        bottom: 3vw;
        max-bottom: 20px;
        min-bottom: 12px;
    }
    
    .play-button {
        width: 7vw;
        height: 7vw;
        max-width: 40px;
        max-height: 40px;
        min-width: 25px;
        min-height: 25px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .actor-card {
        width: 35vw;
        height: 50vw;
        max-width: 150px;
        max-height: 220px;
    }
    
    .episode-card {
        width: 35vw;
        max-width: 150px;
    }
    
    .episode-thumbnail {
        height: 50vw;
        max-height: 220px;
    }
    
    .product-card {
        width: 35vw;
        max-width: 150px;
        min-width: 120px;
    }
    
    .product-thumbnail {
        height: 35vw;
        max-height: 150px;
        min-height: 120px;
    }
    
    .content-card {
        width: 35vw;
        height: auto;
        max-width: 120px;
        max-height: 180px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .episode-title,
    .product-title {
        font-size: 16px;
        line-height: 20px;
    }
    
    .episode-description {
        font-size: 14px;
        line-height: 18px;
    }
    
    .actor-name {
        font-size: 16px;
        bottom: 20px;
        left: 15px;
    }
}

/* 480px 이하 - 소형 모바일 */
@media (max-width: 480px) {
    .header {
        padding: 0 15px;
        height: 65px;
    }

    .logo-container {
        width: auto;
        min-width: 100px;
    }

    .logo {
        width: 120px;
        height: auto;
        margin-left: 0;
        margin-top: 0;
    }

    .auth-buttons {
        gap: 5px;
    }

    .signup-btn {
        width: 100%;
        height: 28px;
        font-size: 12px;
    }

    .login-btn {
        width: 100%;
        height: 28px;
        font-size: 12px;
    }

    .hamburger-btn {
        width: 40px;
        height: 16px;
        margin-left: 6px;
    }
    
    .hero-section {
        padding: 15px 10px;
        min-height: 350px;
    }
    
    .poster-container {
        width: 180px;
        height: 260px;
    }
    
    .poster-image {
        width: 200px;
        height: 300px;
        left: -10px;
    }
    
    .title-image {
        max-width: 220px;
    }
    
    .section {
        padding: 25px 10px;
    }
    
    .actors-section,
    .episodes-section,
    .products-section,
    .related-content-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .episodes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .episodes-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .view-all-episodes-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .episodes-modal {
        width: 98%;
        max-height: 85vh;
    }
    
    .episodes-modal-header {
        padding: 15px 15px 12px;
    }
    
    .episodes-modal-title {
        font-size: 16px;
    }
    
    .episodes-modal-close {
        font-size: 20px;
    }
    
    .episodes-modal-content {
        padding: 12px 15px 20px;
    }
    
    .episodes-range {
        margin-bottom: 20px;
    }
    
    .range-current {
        font-size: 16px;
    }
    
    .range-divider {
        font-size: 16px;
    }
    
    .range-total {
        font-size: 16px;
    }
    
    .episodes-grid-modal {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .episode-modal-item {
        height: 60px;
    }
    
    .episode-number {
        font-size: 14px;
    }
    
    .episode-status-icon {
        width: 12px;
        height: 12px;
        top: 6px;
        right: 6px;
    }
    
    .lock-image {
        width: 12px;
        height: 12px;
    }
    
    .bars-icon::before {
        width: 12px;
        height: 2px;
        top: 1px;
    }
    
    .bars-icon::after {
        width: 9px;
        height: 2px;
        top: 5px;
    }
    
    .bars-icon {
        width: 6px;
        height: 2px;
        top: 9px;
    }
    
    .lock-icon {
        width: 8px;
        height: 5px;
        border-width: 1px;
    }
    
    .lock-icon::after {
        bottom: -6px;
        left: -1px;
        width: 10px;
        height: 6px;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .preview-btn {
        height: 45px;
        font-size: 14px;
    }
    
    .tags-container {
        justify-content: center;
    }
    
    .tag {
        font-size: 12px;
        height: 22px;
        line-height: 22px;
        padding: 0 6px;
    }
    
    .rating-tag {
        width: 22px;
        height: 22px;
    }
    
    .drama-info {
        font-size: 14px;
    }
    
    .info-label {
        font-size: 14px;
        min-width: 60px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .description {
        font-size: 13px;
        line-height: 18px;
    }
    
    .progress-bar {
        height: 1.2vw;
        max-height: 5px;
        min-height: 2px;
        bottom: 2.5vw;
        max-bottom: 15px;
        min-bottom: 8px;
    }
    
    .play-button {
        width: 6vw;
        height: 6vw;
        max-width: 30px;
        max-height: 30px;
        min-width: 20px;
        min-height: 20px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .actor-card {
        width: 45vw;
        height: 60vw;
        max-width: 120px;
        max-height: 180px;
    }
    
    .episode-card {
        width: 45vw;
        max-width: 120px;
    }
    
    .episode-thumbnail {
        height: 60vw;
        max-height: 180px;
    }
    
    .product-card {
        width: 45vw;
        max-width: 120px;
        min-width: 100px;
    }
    
    .product-thumbnail {
        height: 45vw;
        max-height: 120px;
        min-height: 100px;
    }
    
    .content-card {
        width: 40vw;
        max-width: 100px;
        height: 55vw;
        max-height: 150px;
    }
    
    .actor-name {
        font-size: 14px;
        bottom: 15px;
        left: 10px;
    }
    
    .episode-title,
    .product-title {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 8px;
    }
    
    .episode-description {
        font-size: 12px;
        line-height: 16px;
    }
    
    .product-price {
        font-size: 14px;
    }
}

/* 호버 효과 - 모바일에서는 비활성화 */
@media (hover: hover) {
    .actor-card:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }

    .episode-card:hover {
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .product-card:hover {
        transform: translateY(-10px);
        transition: transform 0.3s ease;
    }

    .content-card:hover {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }
}