* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #222;
}


/* =========================================
   HEADER ATAS
   ========================================= */

.top-header {
    height: 28px;
    background: #ff4b3e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    color: white;
    font-size: 11px;
}

.top-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-menu a {
    color: white;
    text-decoration: none;
}

.top-menu a:hover {
    color: #ffff00;
}

/* LOGIN & DAFTAR — BIRU DONGKER */
.top-header .auth {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.top-header .auth span {
    display: none !important;
}

.top-header .auth a {
    display: inline-block !important;
    min-width: 58px !important;
    height: 24px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    background: #07164d !important;
    background-color: #07164d !important;
    color: #ffffff !important;
    border: 1px solid #f5a900 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    text-align: center !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
}

.top-header .auth a:hover {
    background: #10266d !important;
    background-color: #10266d !important;
    color: #ffffff !important;
}


/* =========================================
   DROPDOWN GAME ONLINE
   ========================================= */

.menu-dropdown {
    position: relative;
}

.menu-link {
    cursor: pointer;
}

.dropdown-menu {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    width: 180px;

    background: #00003A;

    border: 1px solid #f5a900;

    z-index: 1000;
}

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

.dropdown-menu a {
    display: block;

    padding: 10px;

    color: white;

    text-decoration: none;

    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.dropdown-menu a:hover {
    background: #f5a900;
    color: #00003A;
}


/* =========================================
   HEADER UTAMA
   ========================================= */

.main-header {
    height: 65px;

    background: #00003A;

    display: flex;
    align-items: center;

    padding: 0 25px;

    gap: 35px;
}

.logo {
    width: 180px;
    min-width: 180px;
}

.logo img {
    width: 160px;
    height: auto;
    display: block;
}

.search {
    display: flex;
    width: 400px;
}

.search input {
    width: 100%;
    height: 32px;

    border: none;

    padding: 0 10px;

    outline: none;
}

.search button {
    width: 40px;

    border: none;

    background: #263238;

    color: white;

    cursor: pointer;
}


/* =========================================
   BANNER + SIDEBAR
   ========================================= */

.content-area {
    display: flex;

    align-items: stretch;

    gap: 14px;

    padding: 10px 16px;
}

.banner {
    width: 640px;
    min-width: 640px;
}

.banner img {
    width: 640px;
    height: 640px;

    display: block;

    object-fit: cover;
}


/* =========================================
   SIDEBAR
   ========================================= */

.info-sidebar {
    width: 300px;
    min-width: 300px;

    height: 640px;

    background: #00003A;

    padding: 10px;

    border-radius: 8px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    gap: 10px;
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


/* INTRO */

.sidebar-intro {
    text-align: center;

    padding: 13px 10px 14px;

    background: linear-gradient(
        145deg,
        #05054a,
        #00003A
    );

    border: 1px solid #f5a900;

    border-radius: 8px;
}

.intro-title {
    color: #ffd000;

    font-size: 23px;
    font-weight: 900;

    margin-bottom: 4px;
}

.intro-heading {
    color: white;

    font-size: 15px;
    font-weight: bold;

    line-height: 1.25;
}

.intro-description {
    color: #d9d9d9;

    font-size: 10px;

    margin-top: 6px;
}

.intro-button {
    display: inline-block;

    margin-top: 9px;

    padding: 7px 14px;

    background: linear-gradient(
        180deg,
        #ffd000,
        #e99b00
    );

    color: #00003A;

    font-size: 10px;
    font-weight: bold;

    text-decoration: none;

    border-radius: 5px;

    transition: 0.2s;
}

.intro-button:hover {
    background: #ffe45c;

    transform: translateY(-1px);
}


/* =========================================
   INFO CARD
   ========================================= */

.info-card {
    background: #08084a;

    border: 1px solid #f5a900;

    border-radius: 7px;

    padding: 8px 10px;

    min-height: 65px;

    display: flex;

    align-items: center;

    gap: 10px;

    transition: 0.2s;
}

.info-card:hover {
    border-color: #ffd000;

    box-shadow:
        0 0 10px rgba(255, 208, 0, 0.3);
}

.info-icon {
    width: 38px;
    height: 38px;

    min-width: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #00003A;

    border: 1px solid #f5a900;

    border-radius: 7px;

    font-size: 19px;
}

.info-text {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.info-title {
    color: white;

    font-size: 10px;
    font-weight: bold;
}

.info-value {
    color: #ffd000;

    font-size: 18px;
    font-weight: bold;
}


/* =========================================
   DOWNLOAD APP
   ========================================= */

.app-download {
    padding: 10px;

    background: #05054a;

    border: 1px solid #f5a900;

    border-radius: 8px;

    text-align: center;
}

.app-title {
    color: #ffd000;

    font-size: 12px;
    font-weight: bold;

    margin-bottom: 4px;
}

.app-description {
    color: #d9d9d9;

    font-size: 9px;

    line-height: 1.3;

    margin-bottom: 8px;
}

.store-buttons {
    display: flex;

    gap: 6px;
}

.store-button {
    flex: 1;

    min-height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 5px;

    background: #111111;

    border: 1px solid #777;

    border-radius: 5px;

    color: white;

    text-decoration: none;

    transition: 0.2s;
}

.store-button:hover {
    border-color: #ffd000;

    transform: translateY(-1px);
}

.store-icon {
    font-size: 17px;
}

.store-icon.apple {
    font-size: 21px;
}

.store-button span:last-child {
    display: flex;

    flex-direction: column;

    text-align: left;
}

.store-button small {
    font-size: 6px;

    color: #cccccc;
}

.store-button strong {
    font-size: 9px;

    color: white;
}


/* =========================================
   SECTION UMUM
   ========================================= */

.section-container {
    width: 100%;

    max-width: 1050px;

    margin: 0 auto;

    padding: 0 20px;

    text-align: center;
}

.section-label {
    color: #e9a900;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-container h1,
.section-container h2 {
    margin-top: 0;
}

.section-container h1 {
    color: white;

    font-size: 30px;
}

.section-container h2 {
    color: white;

    font-size: 27px;
}

.section-intro {
    max-width: 800px;

    margin: 8px auto;

    color: #d7d7e5;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   TENTANG MPO1221
   ========================================= */

.about-section {
    padding: 50px 0;

    background:
        linear-gradient(
            135deg,
            #00003A,
            #05054a
        );

    border-top: 2px solid #f5a900;
}


/* =========================================
   PILIHAN GAME
   ========================================= */

.game-section {
    padding: 50px 0;

    background: #f5f5f5;
}

.game-section .section-label {
    color: #c58d00;
}

.game-section h2 {
    color: #111;
}

.game-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 28px;
}

.game-box {
    padding: 25px 15px;

    background: white;

    border: 1px solid #ddd;

    border-radius: 8px;

    text-decoration: none;

    transition: 0.2s;
}

.game-box:hover {
    transform: translateY(-4px);

    border-color: #e5a900;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.1);
}

.game-icon {
    font-size: 32px;

    margin-bottom: 10px;
}

.game-box h3 {
    margin: 0 0 8px;

    color: #111;

    font-size: 17px;
}

.game-box p {
    margin: 0;

    color: #666;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================
   PROVIDER
   ========================================= */

.provider-section {
    padding: 50px 0;

    background: #00003A;
}

.provider-grid {
    display: grid;

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

    gap: 10px;

    margin-top: 28px;
}

.provider-grid a {
    padding: 15px 8px;

    background: #08084a;

    border: 1px solid #6e5c19;

    border-radius: 6px;

    color: white;

    font-size: 11px;

    font-weight: bold;

    text-decoration: none;

    transition: 0.2s;
}

.provider-grid a:hover {
    background: #f5a900;

    color: #00003A;

    border-color: #ffd000;
}


/* =========================================
   FITUR
   ========================================= */

.feature-section {
    padding: 50px 0;

    background: #f5f5f5;
}

.feature-section .section-label {
    color: #c58d00;
}

.feature-section h2 {
    color: #111;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 28px;
}

.feature-box {
    background: white;

    padding: 25px 15px;

    border-radius: 8px;

    border: 1px solid #ddd;
}

.feature-icon {
    font-size: 30px;

    margin-bottom: 10px;
}

.feature-box h3 {
    margin: 0 0 8px;

    color: #111;

    font-size: 16px;
}

.feature-box p {
    margin: 0;

    color: #666;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================
   FAQ
   ========================================= */

.faq-section {
    padding: 50px 0;

    background: #00003A;
}

.faq-list {
    max-width: 800px;

    margin: 25px auto 0;

    text-align: left;
}

.faq-list details {
    margin-bottom: 8px;

    background: #08084a;

    border: 1px solid #6e5c19;

    border-radius: 6px;

    overflow: hidden;
}

.faq-list summary {
    padding: 16px;

    color: white;

    font-weight: bold;

    font-size: 13px;

    cursor: pointer;
}

.faq-list summary:hover {
    color: #ffd000;
}

.faq-list details p {
    margin: 0;

    padding: 0 16px 16px;

    color: #ccc;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================
   CTA
   ========================================= */

.cta-section {
    padding: 55px 0;

    background:
        linear-gradient(
            135deg,
            #111,
            #00003A
        );

    text-align: center;
}

.cta-section h2 {
    margin: 0 0 10px;

    color: #ffd000;

    font-size: 28px;
}

.cta-section p {
    margin: 0 auto 20px;

    color: white;

    font-size: 13px;
}

.cta-button {
    display: inline-block;

    padding: 12px 25px;

    background: linear-gradient(
        180deg,
        #ffd000,
        #e59b00
    );

    color: #00003A;

    font-size: 12px;

    font-weight: bold;

    text-decoration: none;

    border-radius: 5px;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #050505;

    padding: 30px 20px;
}

.footer-content {
    max-width: 1050px;

    margin: auto;

    text-align: center;
}

.footer-logo {
    color: #ffd000;

    font-size: 22px;

    font-weight: bold;

    margin-bottom: 15px;
}

.footer-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;

    font-size: 11px;

    text-decoration: none;
}

.footer-links a:hover {
    color: #ffd000;
}

.footer-copy {
    color: #777;

    font-size: 10px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    /* HEADER ATAS */

    .top-header {
        min-height: 38px;

        height: auto;

        padding: 7px 10px;

        font-size: 10px;

        flex-wrap: wrap;

        gap: 5px;
    }

    .top-menu {
        width: 100%;

        justify-content: center;

        gap: 6px;

        flex-wrap: wrap;
    }

    .auth {
        width: 100%;

        justify-content: center;

        gap: 6px;
    }


    /* HEADER UTAMA */

    .main-header {
        height: auto;

        min-height: 70px;

        padding: 10px;

        display: flex;

        flex-direction: column;

        gap: 9px;
    }

    .logo {
        width: 100%;

        min-width: 0;

        display: flex;

        justify-content: center;
    }

    .logo img {
        width: 125px;
    }

    .search {
        width: 100%;

        max-width: 500px;
    }

    .search input {
        height: 38px;

        font-size: 13px;
    }

    .search button {
        width: 45px;
    }


    /* CONTENT */

    .content-area {
        width: 100%;

        padding: 10px;

        display: flex;

        flex-direction: column;

        gap: 12px;
    }


    /* BANNER */

    .banner {
        width: 100%;

        min-width: 0;
    }

    .banner img {
        width: 100%;

        height: auto;

        aspect-ratio: 1 / 1;

        object-fit: cover;

        border-radius: 8px;
    }


    /* SIDEBAR */

    .info-sidebar {
        width: 100%;

        min-width: 0;

        height: auto;

        padding: 10px;

        border-radius: 8px;

        gap: 10px;
    }

    .sidebar-top {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }


    /* INTRO FULL WIDTH */

    .sidebar-intro {
        grid-column: 1 / -1;

        padding: 17px 10px;
    }

    .intro-title {
        font-size: 24px;
    }

    .intro-heading {
        font-size: 14px;
    }

    .intro-description {
        font-size: 10px;
    }

    .intro-button {
        font-size: 10px;

        padding: 9px 16px;
    }


    /* INFO CARD */

    .info-card {
        min-height: 70px;

        padding: 9px;

        gap: 8px;
    }

    .info-icon {
        width: 36px;

        min-width: 36px;

        height: 36px;

        font-size: 17px;
    }

    .info-title {
        font-size: 9px;
    }

    .info-value {
        font-size: 16px;
    }


    /* DOWNLOAD APP */

    .app-download {
        width: 100%;

        padding: 12px 10px;
    }

    .app-title {
        font-size: 11px;
    }

    .app-description {
        font-size: 9px;
    }

    .store-buttons {
        display: flex;

        flex-direction: row;

        gap: 7px;
    }

    .store-button {
        min-height: 46px;
    }


    /* SECTION */

    .section-container {
        width: 100%;

        padding: 0 15px;
    }

    .about-section,
    .game-section,
    .provider-section,
    .feature-section,
    .faq-section {
        padding: 40px 0;
    }


    /* JUDUL */

    .section-container h1 {
        font-size: 25px;

        line-height: 1.2;
    }

    .section-container h2 {
        font-size: 23px;

        line-height: 1.2;
    }

    .section-intro {
        font-size: 13px;

        line-height: 1.7;
    }


    /* GAME */

    .game-grid {
        grid-template-columns: 1fr 1fr;

        gap: 9px;

        margin-top: 20px;
    }

    .game-box {
        padding: 18px 10px;

        min-height: 150px;
    }

    .game-icon {
        font-size: 27px;
    }

    .game-box h3 {
        font-size: 14px;
    }

    .game-box p {
        font-size: 10px;
    }


    /* PROVIDER */

    .provider-grid {
        grid-template-columns: 1fr 1fr;

        gap: 8px;

        margin-top: 20px;
    }

    .provider-grid a {
        min-height: 48px;

        display: flex;

        align-items: center;

        justify-content: center;

        text-align: center;

        padding: 8px 5px;

        font-size: 9px;
    }


    /* FITUR */

    .feature-grid {
        grid-template-columns: 1fr 1fr;

        gap: 9px;

        margin-top: 20px;
    }

    .feature-box {
        padding: 18px 10px;

        min-height: 155px;
    }

    .feature-icon {
        font-size: 27px;
    }

    .feature-box h3 {
        font-size: 14px;
    }

    .feature-box p {
        font-size: 10px;
    }


    /* FAQ */

    .faq-list {
        margin-top: 20px;
    }

    .faq-list summary {
        padding: 14px;

        font-size: 12px;

        line-height: 1.4;
    }

    .faq-list details p {
        padding: 0 14px 14px;

        font-size: 11px;

        line-height: 1.6;
    }


    /* CTA */

    .cta-section {
        padding: 45px 15px;
    }

    .cta-section h2 {
        font-size: 25px;
    }

    .cta-section p {
        font-size: 12px;

        line-height: 1.6;
    }

    .cta-button {
        padding: 12px 22px;

        font-size: 11px;
    }


    /* FOOTER */

    footer {
        padding: 28px 15px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 10px;
    }

}


/* =========================================
   HP SANGAT KECIL
   ========================================= */

@media (max-width: 480px) {

    .top-menu {
        font-size: 9px;

        gap: 5px;
    }

    .auth {
        font-size: 10px;
    }


    .main-header {
        padding: 9px;
    }


    .logo img {
        width: 115px;
    }


    .content-area {
        padding: 8px;
    }


    /* SIDEBAR 1 KOLOM */

    .sidebar-top {
        grid-template-columns: 1fr;
    }

    .sidebar-intro {
        grid-column: auto;
    }


    /* GAME 2 KOLOM */

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


    /* PROVIDER 2 KOLOM */

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


    /* FITUR 2 KOLOM */

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


    .section-container {
        padding: 0 12px;
    }

}