/* ---------- Hero Section ---------- */
.hero-cta-btn {
    background-color: #1B4965;
    color: #ffffff;
    border: 2px solid #1B4965;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-cta-btn:hover {
    background-color: #ffffff;
    color: #1B4965;
}

.hero-section {
    height: 90vh;
    min-height: 500px;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.hero-cta-btn-transition {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* ---------- Parallax ---------- */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -15% 0;
    background-image: url('/images/banners/Paralax1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248, 247, 244, 0.88);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.parallax-rating-bg {
    position: absolute;
    inset: -15% 0;
    background-image: url('/images/banners/Paralax2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.parallax-rating-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248, 247, 244, 0.92);
    z-index: 1;
}

.parallax-page-bg {
    position: absolute;
    inset: -15% 0;
    background-image: url('/images/banners/Paralax1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.parallax-page-bg-alt {
    position: absolute;
    inset: -15% 0;
    background-image: url('/images/banners/Paralax2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.parallax-page-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248, 247, 244, 0.90);
    z-index: 1;
}

/* ---------- Kategori Section ---------- */
.kategori-section {
    height: 90vh;
    min-height: 400px;
}

.kategori-overlay-gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}

/* ---------- Komik Section ---------- */
.komik-showcase-section {
    background-color: #1B4965;
    position: relative;
    padding: 5rem 0;
}

.komik-deco-line {
    position: absolute;
    top: 0;
    height: 100%;
    width: 160px;
    pointer-events: none;
    z-index: 1;
}

.komik-deco-line--left {
    left: 2%;
}

.komik-deco-line--right {
    right: 2%;
}

.komik-image-wrapper {
    width: 100%;
    position: relative;
}

.komik-image-desktop {
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.komik-image-wrapper-mobile {
    width: 85%;
    max-width: 380px;
    position: relative;
}

.komik-image-mobile {
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.3));
}

.komik-sinopsis-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.komik-sinopsis-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 100%;
}

.komik-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.komik-cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.komik-cta-btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border: 2px solid #ffffff;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.komik-cta-btn:hover {
    background-color: #ffffff;
    color: #1B4965;
    transform: translateY(-2px);
}

/* ---------- CTA Section ---------- */
.cta-outer-bg {
    background-color: #1B4965;
}

.cta-glass-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cta-circle-accent {
    background: #62b6cb;
}

.cta-shop-btn {
    color: #1B4965;
}

/* ------------------------------------------------------------------------- */

/* Responsive */
@media (min-width: 1024px) {
    .komik-image-wrapper {
        width: 400px;
    }

    .komik-sinopsis-title {
        font-size: 2rem;
    }

    .komik-cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .komik-showcase-section {
        padding: 3rem 0 3.5rem;
    }

    .komik-deco-line {
        display: none;
    }

    .komik-cta-title {
        font-size: 1.65rem;
    }

    .komik-cta-text {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .kategori-section {
        height: auto;
        min-height: unset;
    }

    .kategori-section>div:last-child>a {
        min-height: 55vh;
    }

    .kategori-overlay-gradient {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .parallax-section .min-h-32 {
        min-height: 10rem;
    }
    footer .grid {
        text-align: center;
    }

    footer .grid a.flex {
        justify-content: center;
    }

    footer .grid .flex.items-center {
        justify-content: center;
    }
}