/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #050505;
    color: #ffffff;
    font-family: "Exo 2", Arial, sans-serif;
    line-height: 1.6;
}

body.popup-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 30px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    background: linear-gradient(
        180deg,
        #151515 0%,
        #080808 100%
    );
    border-bottom: 2px solid #e00000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.header-inner {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 180px;
    height: 70px;
    object-fit: contain;
}

.header-title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.header-title strong {
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
}

.header-title span {
    margin-top: 6px;
    color: #d90000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 15px 0;
    background: #000000;
}

.hero-image-link {
    display: block;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    border-radius: 5px;
    object-fit: cover;
}


/* =========================================================
   LOGIN / REGISTER
========================================================= */

.auth-area {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 0 15px;
}

.auth-button {
    min-width: 120px;
    padding: 8px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: #222222;
    border: 1px solid #777777;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.auth-button:hover {
    background: #e00000;
    border-color: #e00000;
    transform: translateY(-1px);
}

.auth-button.register {
    background: #d50000;
    border-color: #d50000;
}

.auth-button.register:hover {
    background: #ff0000;
    border-color: #ff0000;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navigation {
    position: relative;
    z-index: 1000;
    background: #111111;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.nav-wrapper {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-item,
.day-menu summary {
    min-height: 44px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    list-style: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-item:hover,
.day-menu summary:hover {
    color: #ffffff;
    background: #d00000;
}

.day-menu {
    position: relative;
}

.day-menu summary::-webkit-details-marker {
    display: none;
}

.arrow {
    margin-left: 7px;
    font-size: 10px;
}

.day-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 6px;
    background: #111111;
    border: 1px solid #444444;
    border-top: 2px solid #d00000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.day-dropdown a {
    display: block;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #292929;
    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

.day-dropdown a:last-child {
    border-bottom: 0;
}

.day-dropdown a:hover {
    padding-left: 20px;
    background: #d00000;
}


/* =========================================================
   MAIN
========================================================= */

main {
    padding: 20px 0 40px;
    background: #000000;
}

.main-content {
    width: 100%;
}

h1 {
    margin: 0 0 20px;
    padding: 13px 15px;
    color: #ffffff;
    background: linear-gradient(
        90deg,
        #d00000,
        #700000
    );
    border-left: 5px solid #ffffff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

h2 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
}


/* =========================================================
   CONTENT BANNER
========================================================= */

.content-banner {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #333333;
    background: #050505;
}

.content-banner a {
    display: block;
}

.content-banner img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   RESULT SECTION
========================================================= */

.result-section {
    margin-top: 20px;
    padding: 15px;
    background: #101010;
    border: 1px solid #292929;
    border-radius: 5px;
}

.result-section h2 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a3a3a;
    color: #ffffff;
}

.iframe-container {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 4px;
}

.iframe-container iframe {
    width: 100%;
    min-height: 700px;
    display: block;
    border: 0;
    background: #ffffff;
}


/* =========================================================
   ARTICLE
========================================================= */

.article-content {
    margin-top: 20px;
    padding: 20px;
    background: #0d0d0d;
    border: 1px solid #292929;
    border-radius: 5px;
}

.article-content h2 {
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333333;
    color: #ffffff;
}

.article-content p {
    margin-bottom: 15px;
    color: #d5d5d5;
    font-size: 15px;
    line-height: 1.8;
}




/* =========================================================
   POPUP OVERLAY
========================================================= */

.popup-overlay {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 18px;

    background: rgba(0, 0, 0, 0.78);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.popup-overlay.is-visible {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   POPUP BOX
========================================================= */

.popup-box {
    position: relative;

    width: min(480px, 100%);

    overflow: hidden;

    color: #ffffff;

    background: #080808;

    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 10px;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.8);

    transform:
        translateY(15px)
        scale(0.97);

    transition:
        transform 0.25s ease;
}

.popup-overlay.is-visible .popup-box {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   POPUP CLOSE BUTTON
========================================================= */

.popup-close {
    position: absolute;

    top: 8px;

    right: 8px;

    z-index: 5;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    color: #ffffff;

    background: rgba(0, 0, 0, 0.8);

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 50%;

    font-size: 24px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.popup-close:hover {
    background: #d00000;

    transform: rotate(90deg);
}


/* =========================================================
   POPUP IMAGE
========================================================= */

.popup-image {
    width: 100%;
    background: #000000;
}

.popup-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   POPUP BODY
========================================================= */

.popup-body {
    padding: 20px;
    text-align: center;
}

.popup-body h2 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
}

.popup-body p {
    margin-bottom: 18px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   POPUP BUTTON
========================================================= */

.popup-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 180px;

    padding: 11px 22px;

    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            #ed0000,
            #a00000
        );

    border: 1px solid #ff4444;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.5px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.popup-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 5px 20px rgba(220, 0, 0, 0.4);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 25px 0;

    background: #080808;

    border-top: 1px solid #292929;

    text-align: center;
}

.site-footer p {
    color: #888888;

    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .floating-banner {
        width: calc(50% - 12px);
        max-width: none;
    }


    /* FLOATING TOP */

    .floating-top {
        top: 8px;
    }

    .floating-top-1 {
        left: 6px;
    }

    .floating-top-2 {
        left: calc(50% + 6px);
    }


    /* FLOATING BOTTOM */

    .floating-bottom {
        bottom: 8px;
    }

    .floating-bottom-1 {
        left: 6px;
    }

    .floating-bottom-2 {
        left: calc(50% + 6px);
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: min(
            100% - 20px,
            1100px
        );
    }


    /* HEADER */

    .header-inner {
        min-height: 75px;
    }

    .logo img {
        width: 145px;
        height: auto;
    }

    .header-title strong {
        font-size: 19px;
    }

    .header-title span {
        font-size: 10px;
    }


    /* NAV */

    .nav-wrapper {
        justify-content: flex-start;

        overflow-x: auto;

        white-space: nowrap;

        scrollbar-width: none;
    }

    .nav-wrapper::-webkit-scrollbar {
        display: none;
    }

    .nav-item,
    .day-menu summary {
        padding: 0 14px;

        font-size: 12px;
    }


    /* TITLE */

    h1 {
        font-size: 21px;
    }


    /* IFRAME */

    .iframe-container iframe {
        min-height: 600px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 16px);
    }


    /* HEADER */

    .header-inner {
        min-height: 65px;

        gap: 10px;
    }

    .logo img {
        width: 120px;
    }

    .header-title strong {
        font-size: 14px;
    }

    .header-title span {
        font-size: 8px;

        letter-spacing: 0.5px;
    }


    /* HERO */

    .hero {
        padding: 8px 0;
    }


    /* LOGIN */

    .auth-area {
        padding-bottom: 8px;
    }

    .auth-button {
        min-width: 100px;

        padding: 7px 12px;

        font-size: 12px;
    }


    /* NAVIGATION */

    .nav-wrapper {
        min-height: 45px;
    }

    .nav-item,
    .day-menu summary {
        min-height: 40px;

        padding: 0 11px;

        font-size: 11px;
    }


    .day-dropdown {
        position: fixed;

        top: auto;

        left: 50%;

        width: 180px;

        transform: translateX(-50%);
    }


    /* MAIN */

    main {
        padding-top: 12px;
    }


    h1 {
        margin-bottom: 12px;

        padding: 10px;

        font-size: 18px;
    }


    /* CONTENT BANNER */

    .content-banner {
        margin-bottom: 10px;
    }


    /* RESULT */

    .result-section {
        padding: 10px;

        margin-top: 12px;
    }

    .result-section h2 {
        font-size: 18px;
    }

    .iframe-container iframe {
        min-height: 500px;
    }


    /* ARTICLE */

    .article-content {
        padding: 14px;
    }

    .article-content p {
        font-size: 14px;

        line-height: 1.7;
    }

/* =========================================================
   FLOATING BANNER FINAL
========================================================= */

.floating-banner {
    position: fixed !important;
    z-index: 99999 !important;
    width: 443px !important;
    max-width: calc(50vw - 10px) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
    border: 1px solid #555 !important;
    border-radius: 4px !important;
    transform: none !important;
}

.floating-banner img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* ATAS KIRI */
.floating-top:nth-last-of-type(4) {
    top: 10px !important;
    left: 10px !important;
}

/* ATAS KANAN */
.floating-top:nth-last-of-type(3) {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
}

/* BAWAH KIRI */
.floating-bottom:nth-last-of-type(2) {
    bottom: 10px !important;
    left: 10px !important;
}

/* BAWAH KANAN */
.floating-bottom:last-of-type {
    bottom: 10px !important;
    right: 10px !important;
    left: auto !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .floating-banner {
        width: calc(50vw - 6px) !important;
        max-width: none !important;
        border-radius: 3px !important;
    }

    .floating-top:nth-last-of-type(4) {
        top: 5px !important;
        left: 3px !important;
        right: auto !important;
    }

    .floating-top:nth-last-of-type(3) {
        top: 5px !important;
        left: auto !important;
        right: 3px !important;
    }

    .floating-bottom:nth-last-of-type(2) {
        bottom: 5px !important;
        left: 3px !important;
        right: auto !important;
    }

    .floating-bottom:last-of-type {
        bottom: 5px !important;
        left: auto !important;
        right: 3px !important;
    }
}