/* Header bersama untuk seluruh halaman. */
@media (max-width: 760px) {
    .site-header.dracinmax-header {
        position: relative;
        height: 74px;
        padding: 0 4%;
        border: 0;
    }

    .site-header.dracinmax-header .header-actions .search-trigger {
        display: none;
    }

    .site-header.dracinmax-header .header-actions {
        flex: 0 0 auto;
        min-width: 0;
    }

    .site-header.dracinmax-header .mobile-home-profile {
        display: grid;
        place-items: center;
        width: 39px;
        height: 39px;
        border: 1px solid #ffffff06;
        border-radius: 50%;
        background: #20242f;
        color: #f7f8fb;
    }

    .site-header.dracinmax-header .mobile-home-profile svg {
        width: 23px;
        height: 23px;
    }
}

.explore-card-menu {
    position: absolute;
    z-index: 4;
    top: 6px;
    right: -5px;
}

.explore-card-menu[open] {
    z-index: 8;
}

.explore-card-menu summary {
    display: grid;
    place-items: center;
    width: 32px;
    height: 36px;
    list-style: none;
    font-size: 23px;
    cursor: pointer;
}

.explore-card-menu summary::-webkit-details-marker {
    display: none;
}

.explore-card-options {
    position: absolute;
    z-index: 8;
    top: 100%;
    right: 4px;
    width: min(185px, calc(100vw - 24px));
    padding: 6px;
    border: 1px solid #35303e;
    border-radius: 8px;
    background: #1a1820;
    box-shadow: 0 8px 25px #0007;
}

.explore-card-options a,
.explore-card-options button {
    display: block;
    width: 100%;
    padding: 12px 9px;
    color: #f5f5f7;
    font: inherit;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.explore-card-options a:hover,
.explore-card-options button:hover {
    border-radius: 5px;
    background: #ffffff0b;
}

.user-logout-button {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #ffffff18;
    border-radius: 8px;
    background: transparent;
    color: #f4a9c2;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.site-brand-image {
    display: block;
    width: 200px;
    height: 36px;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

@media (max-width: 760px) {
    .site-brand-image {
        width: 180px;
        height: 32px;
        max-width: 52vw;
    }
}

.mobile-home-profile {
    display: none;
}
.account-dropdown {
    position: relative;
    flex-shrink: 0;
}

.account-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 5px 11px 5px 6px;
    border: 1px solid #ffffff24;
    border-radius: 10px;
    background: #151518;
    list-style: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.account-toggle::-webkit-details-marker {
    display: none;
}

.account-toggle:hover,
.account-dropdown[open] .account-toggle {
    border-color: #ff377c80;
    background: #1d171d;
}

.account-toggle:focus-visible {
    outline: 2px solid #ff75a8;
    outline-offset: 4px;
}

.account-avatar {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    background: #29232d;
    color: #eee9f0;
}

.account-avatar svg {
    width: 16px;
    height: 16px;
}

.dracinmax-header .account-toggle .account-chevron {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    color: #99929f;
    transition: transform .2s;
}

.account-dropdown[open] .account-chevron {
    transform: rotate(180deg);
}

.account-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 340px;
    max-width: calc(100vw - 40px);
    padding: 18px;
    border: 1px solid #ffffff18;
    border-radius: 15px;
    background: #141316;
    box-shadow: 0 18px 55px #0009, 0 0 0 1px #0005;
    white-space: normal;
    animation: account-reveal .16s ease-out;
}

.account-intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 3px 17px;
}

.account-intro .account-avatar {
    width: 40px;
    height: 40px;
    background: #ff126112;
    border-color: #ff126125;
    color: #ff8db5;
}

.dracinmax-header .account-intro .account-avatar svg {
    width: 21px;
    height: 21px;
}

.account-intro strong {
    display: block;
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.account-intro small {
    display: block;
    color: #a29da8;
    font-size: 12px;
    line-height: 1.65;
}

.account-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 45px;
    margin: 0 0 17px;
    padding: 12px 14px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #f6f5f7;
    color: #252329;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s;
}

.account-google:hover {
    background: #e5e2e8;
}

.dracinmax-header .account-google .google-logo {
    width: 20px;
    height: 20px;
}

.account-google .account-row-arrow {
    display: none;
}

.account-links {
    padding-top: 7px;
    border-top: 1px solid #ffffff12;
}

.account-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 12px 10px;
    border-radius: 8px;
    color: #e5e1e9;
    transition: background .2s;
}

.account-links a:hover {
    background: #ffffff06;
}

.account-links a > svg,
.account-links a > [data-icon] {
    flex-shrink: 0;
    color: #aaa3b2;
}

.account-links .account-premium-icon {
    color: #f876a2;
}

.account-link-copy {
    min-width: 0;
    flex: 1;
}

.account-link-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.account-link-copy small {
    display: block;
    margin-top: 4px;
    color: #8c8595;
    font-size: 11px;
    line-height: 1.4;
}

.dracinmax-header .account-links .account-row-arrow {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: #797180;
}

@keyframes account-reveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .account-panel {
        animation: none;
    }
}

@media (max-width: 760px) {
    .dracinmax-header .account-dropdown {
        display: none;
    }
}

.mobile-search-label {
    display: none;
}

.site-header.dracinmax-header {
    background: #08090b;
}

.dracinmax-header .register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 36px;
    padding: 9px 18px;
    border: 1px solid white;
    border-radius: 9px;
    background: white;
    color: #111115;
    font-size: 12px;
    font-weight: 600;
}

.dracinmax-header .register-button:hover {
    background: #e9e9ef;
}

.footer-about .footer-description {
    margin-top: 24px;
}

.dracinmax-header .account-button {
    justify-content: center;
    min-width: 76px;
    min-height: 36px;
    padding: 9px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--gradient);
    box-shadow: 0 4px 20px #ff07562b;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

@media (min-width: 761px) {
    body:not(.home-page) > .site-header.dracinmax-header {
        position: relative;
    }

    .site-header.dracinmax-header {
        gap: clamp(22px, 3vw, 46px);
        height: 62px;
        padding: 0 5%;
        border-top: 1px solid #ffffff18;
        border-bottom: 1px solid #ffffff1c;
        background: #08090b;
        backdrop-filter: blur(12px);
    }

    .dracinmax-header .brand {
        gap: 6px;
        font-size: 25px;
        letter-spacing: -1px;
    }

    .dracinmax-header .brand-symbol {
        width: 30px;
        height: 33px;
        border-radius: 8px;
        font-size: 21px;
    }

    .dracinmax-header .desktop-nav {
        gap: clamp(18px, 2vw, 30px);
    }

    .dracinmax-header .desktop-nav > a {
        align-self: stretch;
        font-size: 12px;
    }

    .dracinmax-header .desktop-nav > .active::after {
        right: 20%;
        bottom: 0;
        left: 20%;
        height: 2px;
    }

.dracinmax-header .header-actions {
        gap: 18px;
    }

    .dracinmax-header .header-actions .search-trigger {
        gap: 7px;
        width: clamp(175px, 17vw, 260px);
        height: 36px;
        padding: 8px 12px;
        border-color: #ffffff35;
        background: #ffffff12;
    }

    .dracinmax-header .search-placeholder {
        display: block;
        overflow: hidden;
        padding: 0;
        font-size: 11px;
        text-overflow: ellipsis;
    }

    .dracinmax-header .desktop-action {
        display: inline-flex;
        gap: 6px;
        font-size: 12px;
    }

    .dracinmax-header .header-actions svg {
        width: 18px;
        height: 18px;
    }

    .dracinmax-header .account-label {
        display: inline;
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    .site-header.dracinmax-header {
        gap: 20px;
        padding: 0 3%;
    }

    .dracinmax-header .brand {
        font-size: 22px;
    }

    .dracinmax-header .desktop-nav,
    .dracinmax-header .header-actions {
        gap: 15px;
    }

    .dracinmax-header .header-actions .search-trigger {
        width: 36px;
        justify-content: center;
        padding: 8px;
    }

    .dracinmax-header .search-placeholder {
        display: none;
    }

    .dracinmax-header .account-button {
        min-width: 65px;
        padding: 9px 12px;
    }
}

@media (min-width: 761px) and (max-width: 950px) {
    .dracinmax-header .desktop-action {
        display: none;
    }
}

/* Hero editorial: informasi di kiri, poster cerita di kanan. */
.hero-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 8vw, 150px);
    min-height: 650px;
    padding: 120px 10% 80px;
    background: #111011;
}

.hero-featured .hero-art {
    inset: -35px;
    filter: blur(28px);
    opacity: .3;
    transform: scale(1.08);
}

.hero-featured .hero-art.hero-atlas {
    background-position: var(--art-x) var(--art-y);
}

.hero-featured::after {
    background:
        linear-gradient(0deg, var(--background), transparent 50%),
        linear-gradient(90deg, #0d0d0ff2, #1310139c 60%, #0c0b0de0);
}

.hero-featured .hero-content {
    width: auto;
    min-width: 0;
    margin: 0;
}

.hero-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-original .brand-symbol {
    width: 21px;
    height: 23px;
    border-radius: 6px;
    font-size: 13px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #e6e2e6;
}

.hero-featured .hero-badge {
    padding: 6px 8px;
    border-radius: 4px;
    background: var(--gradient);
    font-size: 9px;
    letter-spacing: .5px;
}

.hero-featured h1 {
    margin: 22px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(40px, 4.2vw, 70px);
    font-style: normal;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    text-shadow: none;
}

.hero-featured h1 span {
    margin-top: 2px;
    color: white;
}

.hero-featured .hero-meta {
    flex-wrap: wrap;
    margin: 26px 0;
    color: #c5bdc7;
    font-size: 12px;
}

.hero-featured .hero-description {
    max-width: 530px;
    color: #cbc5ce;
    font-size: 14px;
    line-height: 1.8;
}

.hero-featured .hero-actions {
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-featured .button {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 5px;
}

.hero-poster {
    touch-action: pan-y;
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 2 / 3;
    justify-self: start;
    align-self: center;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #ffffff29;
    border-radius: 13px;
    background-image: url("../images/drama-posters.png");
    background-size: 300% 300%;
    background-position: var(--art-x) var(--art-y);
    box-shadow: 0 25px 70px #0007;
    text-align: left;
    transition: transform .25s;
    isolation: isolate;
}

.hero-poster::before {
    position: absolute;
    z-index: -1;
    inset: 35% 0 0;
    background: linear-gradient(transparent, #0b050bc9 70%, #0a060af5);
    content: "";
}

.hero-poster:hover {
    transform: translateY(-5px);
}

.hero-poster-label {
    position: absolute;
    right: 15px;
    bottom: 128px;
    left: 15px;
    color: #ffc9dc;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}

.hero-poster-title {
    position: absolute;
    right: 15px;
    bottom: 55px;
    left: 15px;
    font-family: Georgia, serif;
    font-size: 35px;
    font-style: italic;
    line-height: 1;
    text-align: center;
    text-shadow: 0 2px 14px #000;
}

.hero-poster-link {
    position: absolute;
    bottom: 19px;
    left: 20px;
    font-size: 11px;
}

.hero-poster-link span {
    color: #ff6a9d;
}

.hero-featured .hero-controls {
    right: auto;
    bottom: 30px;
    left: 10%;
    gap: 15px;
}

/* Footer ringkas dengan empat kolom informasi. */
.footer-expanded {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 55px;
    padding: 45px 0 0;
    border: 0;
    background:
        radial-gradient(ellipse at 100% 60%, #670c2429, transparent 40%),
        #08090b;
    color: #adb0bb;
    font-size: 14px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1fr;
    align-items: start;
    gap: clamp(22px, 3vw, 55px);
    max-width: 1700px;
    margin: 0 auto;
    padding: 18px 6% 45px;
}

.footer-main > * {
    min-width: 0;
}

.footer-expanded .footer-brand {
    gap: 9px;
    color: white;
    font-size: clamp(22px, 2.1vw, 34px);
}

.footer-brand .brand-symbol {
    width: 42px;
    height: 46px;
    font-size: 29px;
}

.footer-tagline {
    margin: 7px 0 25px 51px;
    font-size: 14px;
    letter-spacing: .5px;
}

.footer-description {
    max-width: 355px;
    margin: 0 0 24px;
    line-height: 1.75;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.footer-socials button,
.footer-socials > a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #464852;
    border-radius: 50%;
    color: #c8c9d0;
    transition: border-color .2s, color .2s;
}

.footer-socials svg {
    width: 19px;
    height: 19px;
}

.footer-socials button:hover,
.footer-socials > a:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.footer-main h2 {
    margin: 9px 0 21px;
    color: #f2f1f6;
    font-size: 15px;
    line-height: 1.4;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-column h2 {
    margin-bottom: 4px;
}

.footer-column a,
.footer-column button {
    padding: 0;
    color: #adb0bb;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.footer-column .active,
.footer-column a:hover,
.footer-column button:hover {
    color: var(--pink);
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
    padding: 25px 6%;
    border-top: 1px solid #ffffff18;
    background: #05060880;
    font-size: 12px;
}

.footer-bottom small {
    font-size: inherit;
}

.footer-domain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 2px;
}

.footer-domain > span {
    width: 30px;
    height: 4px;
    border-radius: 4px;
    background: var(--gradient);
    box-shadow: 0 0 16px #ff12614d;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    line-height: 1.5;
}

.footer-bottom svg {
    width: 18px;
    height: 18px;
    color: var(--pink);
}

.information-body {
    padding-top: 42px;
}

.information-body h2 {
    margin-top: 20px;
    padding-right: 30px;
}

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1.8fr 1fr 1.3fr 1fr;
        gap: 30px;
    }

}

@media (max-width: 760px) {
    .dracinmax-header .menu-trigger {
        display: none;
    }

    .dracinmax-header .header-actions {
        flex: 1;
        min-width: 85px;
        max-width: 220px;
        gap: 0;
    }

    .dracinmax-header .header-actions .search-trigger {
        justify-content: flex-start;
        gap: 7px;
        width: 100%;
        height: 34px;
        padding: 8px 12px;
        border: 1px solid #ffffff08;
        border-radius: 24px;
        background: #353535;
        color: #ededed;
    }

    .dracinmax-header .header-actions .search-trigger svg {
        width: 16px;
        height: 16px;
    }

    .dracinmax-header .mobile-search-label {
        display: inline;
        font-size: 12px;
        font-weight: 400;
    }

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

    .bottom-nav a,
    .bottom-nav button {
        font-size: 10px;
    }

    .header-actions .register-button {
        display: none;
    }

    .site-footer {
        display: none;
    }

    .hero-featured {
        grid-template-columns: minmax(0, 1fr) 125px;
        gap: 22px 17px;
        min-height: auto;
        padding: 110px 5% 65px;
    }

    .hero-featured .hero-content {
        display: contents;
    }

    .hero-original {
        grid-column: 1 / -1;
        margin-bottom: 0;
        font-size: 9px;
    }

    .hero-eyebrow {
        grid-column: 1 / -1;
        gap: 8px;
        font-size: 11px;
    }

    .hero-featured h1 {
        grid-column: 1;
        margin: 0;
        font-size: clamp(29px, 6vw, 45px);
        line-height: 1.12;
        letter-spacing: -1px;
    }

    .hero-poster {
        grid-column: 2;
        grid-row: 3 / 5;
        width: 100%;
        padding: 10px;
        border-radius: 9px;
    }

    .hero-poster-title {
        right: 7px;
        bottom: 32px;
        left: 7px;
        font-size: 21px;
    }

    .hero-poster-label {
        right: 4px;
        bottom: 79px;
        left: 4px;
        font-size: 6px;
        letter-spacing: .7px;
    }

    .hero-poster-link {
        bottom: 12px;
        left: 10px;
        font-size: 9px;
    }

    .hero-featured .hero-meta {
        grid-column: 1;
        gap: 7px;
        align-self: start;
        margin: 0;
        font-size: 11px;
        line-height: 1.6;
    }

    .hero-featured .hero-description {
        grid-column: 1 / -1;
        max-width: none;
        margin: 0;
        font-size: 13px;
    }

    .hero-featured .hero-actions {
        grid-column: 1 / -1;
        gap: 10px;
        margin: 0;
    }

    .hero-featured .button {
        flex: 1;
        padding: 12px 10px;
        font-size: 12px;
    }

    .hero-featured .hero-controls {
        right: 0;
        bottom: 26px;
        left: 0;
    }

    .footer-expanded {
        margin-top: 30px;
        padding: 24px 0 0;
        font-size: 13px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
        padding: 15px 6% 32px;
    }

    .footer-about,

    .footer-expanded .footer-brand {
        font-size: 28px;
    }

    .footer-tagline {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .footer-description {
        max-width: 400px;
    }

    .footer-column {
        gap: 14px;
    }

    .footer-main h2 {
        margin-top: 0;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 22px;
        padding: 25px 6% 30px;
        font-size: 11px;
        text-align: center;
    }

    .footer-domain {
        grid-row: 1;
    }

    .footer-bottom p {
        justify-content: center;
    }
}

.vip-expiry-reminder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    margin: 0 0 20px;
    border: 1px solid #8b6540;
    border-radius: 14px;
    background: linear-gradient(120deg, #292017, #15131a);
    color: #fff;
}
.vip-expiry-reminder strong { font-size: 15px; }
.vip-expiry-reminder p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: #d4c8bd; }
.vip-expiry-reminder a {
    display: inline-flex;
    flex-shrink: 0;
    padding: 11px 16px;
    border-radius: 9px;
    background: #ff0060;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}
.vip-expiry-reminder a:hover { background: #dc0053; }
.vip-expiry-reminder.urgent { border-color: #bb2859; background: linear-gradient(120deg, #30121f, #17121b); }
.account-links .vip-expiry-reminder { flex-direction: column; align-items: stretch; margin-top: 12px; }
.account-links .vip-expiry-reminder a { justify-content: center; }
@media (max-width: 767px) {
    .vip-expiry-reminder { flex-direction: column; align-items: stretch; }
    .vip-expiry-reminder a { justify-content: center; }
}
