/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    touch-action: pan-y;
}

body {
    font-family: 'Muli', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    touch-action: pan-y;
}

#main-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== IMMERSIVE MODE ===== */
.immersive-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.immersive-overlay.active {
    display: flex;
}

.immersive-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 15px;
    position: relative;
}

.immersive-comic-image {
    max-width: 98%;
    max-height: 85%;
    object-fit: contain;
    user-select: none;
    -webkit-touch-callout: none;
    cursor: grab;
    transition: transform 0.2s ease;
}

.immersive-comic-image:active {
    cursor: grabbing;
}

.immersive-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.immersive-btn {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 20px;
}

.immersive-btn:hover {
    background: #555;
    border-color: #fff;
}

.immersive-btn:active {
    transform: scale(0.95);
}

.immersive-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    font-size: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 101;
}

.immersive-close-btn:hover {
    transform: scale(1.1);
}

.immersive-close-btn:active {
    transform: scale(0.95);
}

.immersive-page-indicator {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

#header-outer.immersive-hidden {
    transform: translateY(-110px);
    transition: transform 0.3s ease;
}

.comic-controls.immersive-hidden {
    display: none;
}

#immersive-btn {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#immersive-btn:active {
    transform: scale(0.95);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

h1, h2, h3, h4 {
    font-family: 'Muli', sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER ===== */
#header-outer {
    position: relative;
    background: #fff;
    padding: 10px 0;
    height: 110px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1425px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #000;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #000;
}

.btn-login {
    background: #00d98e !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 3px;
    font-size: 16px !important;
    font-weight: 700;
}

.btn-login:hover {
    background: #00b86f !important;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
    flex-shrink: 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px !important;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #000;
    padding-left: 25px;
}

/* Read button */
.btn-read {
    border: 2px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 16px !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-read:hover {
    background: #000 !important;
    color: #fff !important;
}

/* Webtoon button */
.btn-webtoon {
    background: rgb(0, 220, 99) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 16px !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-webtoon:hover {
    background: rgb(0, 176, 79) !important;
}

/* Menu Burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    z-index: 1002;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

#main-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #10030D;
    color: #fff;
    padding: 60px 200px;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10%;
    background: linear-gradient(to bottom, rgba(16, 3, 13, 0), #10030D);
    z-index: 2;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 3, 13, 0.6);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    flex: 0 0 auto;
    max-width: 600px;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 30px;
    line-height: 1;
    text-transform: uppercase;
}

.hero-description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-play-btn {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 40px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.hero-play-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    flex-shrink: 0;
}

.play-text {
    white-space: nowrap;
}

.btn-primary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.btn-primary::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M5 2H19C20.1 2 21 2.9 21 4V20C21 21.1 20.1 22 19 22H5C3.9 22 3 21.1 3 20V4C3 2.9 3.9 2 5 2M5 4V20H19V4H5M7 6H17V8H7V6M7 10H17V12H7V10M7 14H17V16H7V14Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 40px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* ===== COMIC READER SECTION ===== */
.comic-reader-section {
    background: #10030D;
    padding: 80px 0 40px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    overflow-x: hidden;
}

.comic-reader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.comic-reader h1 {
    color: #fff;
}

.comic-display {
    width: 100%;
    max-width: 1600px;
    background: #f9f9f9;
    border-radius: 4px;
    overflow: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    touch-action: pinch-zoom;
}

.comic-header-controls {
    display: flex;
    gap: 0px;
    margin-bottom: 10px;
    justify-content: flex-end;
    width: 100%;
}

.comic-btn-top {
    background: transparent;
    color: #fff;
    border: none;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.comic-btn-top:hover {
    color: #ccc;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.comic-btn-top:disabled {
    color: #666;
    cursor: not-allowed;
}

.comic-page-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.comic-page-image:active {
    cursor: grabbing;
}

.comic-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.comic-btn {
    background: transparent;
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comic-btn-first,
.comic-btn-last {
    padding: 16px 24px;
    font-size: 18px;
}

.comic-btn:hover {
    color: #ccc;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.comic-btn:disabled {
    background: transparent;
    color: #666;
    border-color: transparent;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    display: none;
}

.btn-icon {
    display: inline;
    font-size: 24px;
    font-weight: 700;
}

.page-indicator {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    min-width: 100px;
    text-align: center;
    padding: 10px 0;
}

#current-page {
    color: #fff;
    font-weight: 700;
}
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    overflow-x: visible;
}

/* ===== CHAPTERS SECTION ===== */
.chapters-section {
    background: #fff;
    padding: 40px 0 80px 0;
    width: 100%;
    overflow-x: visible;
}

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

.section-title {
    font-size: 32px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.btn-secondary {
    background: #000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #333;
}

.carousel {
    position: relative;
    overflow: visible;
    touch-action: pan-x;
    cursor: grab;
}

.carousel.is-dragging {
    cursor: grabbing;
}

.carousel-cell {
    width: 400px;
    margin-right: 30px;
    overflow: visible;
}

.chapter-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 650px;
    position: relative;
}

.chapter-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.chapter-card:hover img {
    transform: scale(1.10);
}

.chapter-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s ease;
}

.chapter-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6) 50%, transparent);
    z-index: 2;
}

.chapter-card > img {
    width: 100%;
    object-fit: cover;
}

.chapter-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    z-index: 3;
}

.chapter-info h3 {
    font-size: 27px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #fff;
    font-weight: 700;
}

.chapter-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.chapter-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.chapter-link:hover {
    transform: translateY(-5px);
}

.chapter-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background-color: #00dc82;
    color: #000;
}

.chapter-meta .author {
    font-weight: 600;
}

.chapter-meta .date {
    color: rgba(255, 255, 255, 0.7);
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.chapter-meta > div {
    flex: 1;
}

.author {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.date {
    font-size: 12px;
    color: #999;
}

/* Flickity overrides */
.flickity-enabled.carousel {
    position: relative;
}

.flickity-viewport {
    overflow: visible;
    position: relative;
}

.flickity-slider {
    display: flex;
    overflow: visible;
}

/* ===== NEWS SECTION ===== */
.news-section {
    background: #000;
    color: #fff;
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.news-section .section-title {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 48px;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.news-card {
    transition: all 0.4s ease;
}

.news-card > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.news-card:hover > img {
    transform: scale(1.05);
}

.news-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #fff;
}

.news-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.news-footer {
    text-align: right;
}

.link-more {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-more:hover {
    color: #00d98e;
}

/* ===== MINI COMICS SECTION ===== */
.mini-comics-section {
    background: #f5f5f5;
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.mini-comics-section .section-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 48px;
    color: #666;
    margin-bottom: 60px;
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.comic-card {
    transition: all 0.3s ease;
}

.comic-card > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.comic-card:hover > img {
    transform: scale(1.05);
}

.comic-info {
    text-align: left;
}

.label {
    display: inline-block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}

.comic-info h3 {
    font-size: 18px;
    color: #333;
    line-height: 1.4;
}

/* ===== FOOTER ===== */
#footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    width: 100%;
    overflow-x: hidden;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #00d98e;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        padding: 60px 40px;
    }

    .hero-image {
        margin-left: 0;
        margin-top: 40px;
        width: 100%;
        justify-content: center;
    }

    .carousel-cell {
        width: calc(33.33% - 15px);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

@media (max-width: 768px) {
    #header-outer {
        height: 90px;
        padding: 8px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo-img {
        height: 50px;
    }

    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .nav-menu a {
        font-size: 13px;
    }


    .section-container {
        padding: 0 20px;
        overflow-x: hidden;
    }

    .hero-section {
        padding: 40px 20px;
        min-height: auto;
        background-size: 100%;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 48px;
    }

    /* COMIC READER OPTIMIZATION FOR TABLET */
    .comic-reader-section {
        padding: 60px 0;
    }

    .comic-display {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .comic-controls {
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
        justify-content: center;
    }

    .comic-btn {
        flex: 1;
        min-width: 100px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .comic-btn-first,
    .comic-btn-last {
        padding: 12px 16px;
    }

    .page-indicator {
        flex: 0 0 100%;
        text-align: center;
        min-width: auto;
        font-size: 15px;
    }

    .carousel-cell {
        width: calc(50% - 15px);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .chapters-section,
    .news-section,
    .mini-comics-section {
        padding: 60px 0;
        overflow-x: hidden;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .news-section .section-title {
        font-size: 32px;
    }

    .mini-comics-section .section-title {
        font-size: 32px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    #header-outer {
        height: 50px;
        padding: 5px 0;
    }

    .nav-container {
        padding: 0 12px;
        position: relative;
    }

    .logo-img {
        height: 45px;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        gap: 8px;
        font-size: 12px;
        position: absolute;
        top: 47px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        z-index: 999;
        padding: 0;
        width: 100%;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 15px 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 11px;
        padding: 12px 20px !important;
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        display: none;
        background: #f9f9f9;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        border-radius: 0;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown-toggle::after {
        float: right;
        transition: transform 0.3s ease;
        content: ' ▼';
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        padding: 10px 40px !important;
        font-size: 10px !important;
    }

    .btn-read, .btn-webtoon {
        padding: 10px 16px !important;
        font-size: 12px !important;
        width: auto !important;
        max-width: 95% !important;
        border: none !important;
        margin: 5px auto !important;
        display: block !important;
    }

    .btn-read {
        background: #f5f5f5 !important;
        color: #000 !important;
    }

    .btn-webtoon {
        background: rgb(0, 220, 99) !important;
    }

    .dropdown-menu {
        min-width: 200px;
    }

    .dropdown-menu li a {
        padding: 10px 16px;
        font-size: 12px !important;
    }

    .section-container {
        padding: 0 15px;
        overflow-x: hidden;
    }

    .hero-section {
        padding: 90px 15px;
        min-height: 400px;
    }

    .hero-logo-img {
        max-height: 150px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .hero-play-btn {
        right: 20px;
        width: 70px;
        height: 70px;
    }

    .play-icon {
        border-left: 18px solid #fff;
        border-top: 11px solid transparent;
        border-bottom: 11px solid transparent;
    }

    .play-text {
        font-size: 9px;
    }

    /* COMIC READER - MOBILE PRIORITY */
    .comic-reader-section {
        padding: 40px 0;
        background: #10030D;
    }

    .comic-reader {
        gap: 15px;
        align-items: center;
    }

    .comic-reader h1 {
        color: #fff;
    }

    .comic-display {
        max-width: 100%;
        width: 100%;
        background: #1a1a1a;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .comic-page-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .comic-controls {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
        width: 90%;
        padding: 8px;
        align-items: center;
        box-sizing: border-box;
    }

    .comic-btn {
        width: 100%;
        padding: 10px 6px;
        font-size: 14px;
        font-weight: 700;
        min-height: 56px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-width: 0;
        background: transparent;
        color: #fff;
        border: none;
    }

    .comic-btn:hover {
        color: #ccc;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    }

    .comic-btn:disabled {
        background: transparent;
        color: #666;
        border-color: transparent;
    }

    .comic-btn-first {
        grid-column: 1;
        order: 0;
    }

    .comic-btn-prev {
        grid-column: 2;
        order: 0;
    }

    .page-indicator {
        grid-column: 1 / -1;
        width: 100%;
        min-width: auto;
        padding: 10px 0;
        font-size: 16px;
        text-align: center;
        margin: 8px 0;
        order: 3;
        color: #fff;
    }

    .comic-btn-next {
        grid-column: 3;
        order: 0;
    }

    .comic-btn-last {
        grid-column: 4;
        order: 0;
    }

    .comic-header-controls {
        display: none;
    }

    .comic-btn-top {
        background: transparent;
        color: #fff;
        border: none;
        padding: 4px 8px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1px;
        min-width: auto;
    }

    .comic-btn-top:hover {
        color: #ccc;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    }

    .comic-btn-top:disabled {
        color: #666;
        cursor: not-allowed;
    }

    .btn-text {
        display: none;
    }

    .btn-icon {
        display: inline;
        font-size: 22px;
    }


    .carousel-cell {
        width: calc(100% / 1.3);
    }

    .chapter-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3 / 5;
    }

    .chapter-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* NEWS & FOOTER - MOBILE */
    .comics-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 20px;
    }

    .news-card {
        min-height: auto;
    }

    .news-card h3 {
        font-size: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-description {
        line-height: 1.6;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 12px;
    }

    .section-header {
        margin-bottom: 30px;
    }
}
