/* ===== 글로벌 스타일 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #efc900 0%, #f3de6c 100%);
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
}

/* ===== 헤더 스타일 ===== */
.header {
    background: #fff;
    box-shadow: none;
    position: relative;
    z-index: 100;
	border-bottom: 1px solid #E6C200;
}

/* 헤더 래퍼 - PC: 로고 | 메뉴 | 검색 한 줄 (고정) */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 20px;
    background: #fff;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    gap: 20px;
    flex-wrap: nowrap;
}

/* 로고 */
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo1 {
    width: 150px;
    height: auto;
    display: block;
}

.logo2 {
    display: none;
    width: 140px;
    height: auto;
}

/* 데스크톱 메뉴 */
.desktop-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.menu-item {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-en {
    font-size: 13px;
    color: #121212;
    font-weight: 600;
    letter-spacing: 1px;
}

.menu-ko {
    font-size: 15px;
    color: #333;
}

.menu-item:hover {
    color: #efc900;
}

.menu-item:hover .menu-ko {
    color: #efc900;
}

/* 통합 검색창 */
.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    /*padding: 10px 16px;*/
    flex-shrink: 0;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-input {
    border: none;
    background: transparent;
    padding: 6px 8px;
    font-size: 14px;
    width: 200px;
    outline: none;
    color: #333;
    flex: 1;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: #333;
    border: none;
    border-radius: 0 50% 50% 0%;
    cursor: pointer;
    color: #fff;
    padding: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #555;
}

/* 모바일 아이콘 */
.mobile-icons {
    display: none;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    min-width: fit-content;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #efc900;
}



/* 모바일 헤더 메뉴 (헤더 아래) */
.mobile-header-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    position: sticky;
    top: 60px;
    z-index: 99;
}

.mobile-header-menu.active {
    display: flex;
}

.mobile-header-menu .mobile-menu-item {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mobile-header-menu .mobile-menu-item .menu-en {
    font-size: 11px;
    color: #121212;
    font-weight: 600;
    letter-spacing: 1px;
}

.mobile-header-menu .mobile-menu-item .menu-ko {
    font-size: 13px;
    color: #333;
}

.mobile-header-menu .mobile-menu-item:hover {
    color: #efc900;
    background: none;
    border-color: transparent;
}

.mobile-header-menu .mobile-menu-item:hover .menu-ko {
    color: #efc900;
}

/* 배너 영역 */
.banner-section {
    background: linear-gradient(135deg, #efc900 0%, #f3de6c 100%);
    border-top: none;
    padding-right: 3px;
	padding-left: 3px;
    position: relative;
    z-index: 1;
	padding-top: 10px;	
    padding-bottom: 5px;
}

.banner-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner {
    background: transparent;
    border-radius: 0px;
    /*padding: 60px 20px;*/
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    /*min-height: 120px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
}

.banner-text {
    color: #333;
}

/* ===== 모바일 사이드 메뉴 ===== */
.mobile-menu {
    position: fixed;
    right: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: #222222;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333333;
    /*background: #f5f5f5;*/
}

.mobile-menu-header h2 {
    font-size: 18px;
    color: #b9b4b0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #b9b4b0;
    padding: 0;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #efc900;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.mobile-menu-items .mobile-menu-item {
    text-decoration: none;
    color: #b9b4b0;
    padding: 15px 20px;
    border-bottom: 1px solid #333333;
    transition: all 0.3s ease;
    font-size: 15px;
}

.mobile-menu-items .mobile-menu-item:hover {
    background: #f5f5f5;
    color: #efc900;
    padding-left: 30px;
}

/* 오버레이 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* ===== 메인 콘텐츠 ===== */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 0.25rem;
}

/* 콘텐츠 섹션 */
.content-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid #E6C200;
    padding-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.more-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.more-link:hover {
    color: #676767;
}

/* 그리드 레이아웃 */
.manga-grid {
    display: grid;
    gap: 1rem;
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.day-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

/* 만화 카드 */
.manga-card {
    cursor: pointer;
    transition: transform 0.3s;
	background: #fff;
	border-radius: 0.5rem;
}

.manga-card:hover {
    transform: scale(1.05);
}

.manga-image {
    position: relative;
    margin-bottom: 0.75rem;
    border: 3px solid #FFD700;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #1A1A1A;
}

.manga-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.manga-image2 {
    position: relative;
    margin-bottom: 0.75rem;
    border: 2px solid #ff4700;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 3/2;
    background-color: #1A1A1A;
}

.manga-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.up-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
}
.up-icon {
    display: inline-block;
    background-color: #ff782f;
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
    line-height: 1.4;
}
.manga-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
	padding-left: 3px;
}

.manga-meta {
    font-size: 0.8rem;
    color: #666666;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 3px;
    padding-right: 3px;
}
.manga-genre {
    color: #666666;
}

.manga-episode {
    color: #f71b1b;
    font-size: 0.8rem;
    white-space: nowrap;
}
.manga-meta2 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 3px;
    padding-right: 3px;
}
.manga-genre2 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
}
.manga-episode2 {
    color: #664747;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* 장르 카드 */
.genre-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.genre-card:hover {
    transform: scale(1.05);
}

.genre-image {
    position: relative;
    margin-bottom: 0.75rem;
    border: 3px solid #FFD700;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #1A1A1A;
}

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

/* 요일별 카드 */
.day-card {
    /*border: 3px solid #000000;*/
    border-radius: 0.5rem;
    /*padding: 1rem;*/
    /*background-color: rgba(255, 255, 255, 0.3);*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    aspect-ratio: 3/4;
}

.day-card:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.day-label {
    font-size: 1.9rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.4;
}

/* 푸터 */
.footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    margin-top: 3rem;
}

.titleimg{
	height: 40px;
}


/* ===== 반응형 디자인 ===== */

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .header-wrapper {
        padding: 12px 15px;
        gap: 15px;
        flex-wrap: wrap;
    }

    .header-wrapper-inner {
        gap: 15px;
    }

    .logo1 {
        display: none;
    }

    .logo2 {
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    .search-box {
        flex: 1;
        width: auto;
        /*padding: 8px 12px;*/
    }

    .search-input {
        width: auto;
        padding: 6px 8px;
        font-size: 13px;
    }

    .search-btn {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .mobile-icons {
        display: flex;
    }

    .mobile-header-menu {
        display: flex;
        width: 100%;
        margin-top: 0;
        padding: 10px 2px;
        gap: 40px;
        position: static;
        top: auto;
        z-index: 99;
    }

    .grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }

    .day-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .day-grid {
        grid-template-columns: repeat(4, 1fr);
    }
	.manga-grid {
		gap: 0.7rem;
	}
    .mbhide {
        display: none;
    }

	.titleimg{
		height: 35px;
	}

}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
    .header-wrapper {
        flex-wrap: wrap;
        padding: 12px 15px;
        gap: 10px;
    }

    .header-wrapper-inner {
        width: 100%;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .logo {
        flex: 0 0 auto;
        min-width: fit-content;
    }

    .logo2 {
        width: 120px;
    }

    .search-box {
        flex: 1;
        min-width: 0;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 50px;
        /*padding: 8px 12px;*/
        gap: 0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .search-input {
        flex: 1;
        width: auto;
        min-width: 0;
        padding: 6px 10px;
        font-size: 13px;
        border: none;
        background: transparent;
    }

    .search-btn {
        width: 32px;
        height: 32px;
        padding: 6px;
        background: #333;
        border-radius: 0 50% 50% 0;
        flex-shrink: 0;
    }

    .mobile-icons {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
        min-width: fit-content;
    }

    .mobile-menu-btn {
        font-size: 20px;
        padding: 6px;
        flex-shrink: 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .main-content {
        /*padding: 1rem;*/
    }

    .banner {
        /*height: 150px;*/
    }

    .banner-text {
        font-size: 1.5rem;
    }

    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .day-grid {
        grid-template-columns: repeat(3, 1fr);
    }
	.manga-grid {
		gap: 0.5rem;
	}
    .section-title {
        font-size: 1rem;
        padding: 0.4rem 0.75rem;
    }

    .more-link {
        font-size: 0.8rem;
    }

	.titleimg{
		height: 35px;
	}
    .mobile-header-menu {
        gap: 20px;
    }
	.banner-section {
		padding-top: 2px;		
		padding-bottom: 0px;
	}

}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .header-wrapper {
        padding: 10px 12px;
    }

    .header-wrapper-inner {
        gap: 8px;
    }

    .logo2 {
        width: 100px;
    }

    .header-wrapper {
        grid-template-columns: auto 1fr auto;
        padding: 0.75rem 1rem;
        gap: 0.1rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .main-content {
        /*padding: 0.75rem;*/
    }

    .banner {
        /*height: 120px;*/
    }

    .banner-text {
        font-size: 1.2rem;
    }

    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .day-grid {
        grid-template-columns: repeat(3, 1fr);
    }


	.manga-grid {
		gap: 0.3rem;
	}

    .manga-image {
        border-width: 2px;
    }
    .manga-image2 {
        border-width: 2px;
    }
    .manga-title {
        font-size: 0.75rem;
    }

    .manga-meta {
        font-size: 0.75rem;
    }
	.manga-episode {
		font-size: 0.65rem;
	}
    .manga-meta2 {
        font-size: 0.75rem;
    }
	.manga-episode2 {
		font-size: 0.65rem;
	}
    .manga-footer {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 0.9rem;
        padding: 0.35rem 0.5rem;
    }

    .content-section {
		margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
	.titleimg{
		height: 30px;
	}

    .mobile-header-menu {
        gap: 2px;
    }

	.banner-section {
		padding-top: 2px;
		padding-bottom: 0px;
	}
}

