/* =========================================================
   GLOBAL / BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'sans-serif';
    background-color: #d3dce5;
    color: #333;
    display: flex;
    justify-content: center;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: 900px;
    min-height: 100vh;
    background-color: #fff;
}

.page-container {
    background: #fff;
}


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary: #2b2d42;
    --secondary: #3a3d5c;
    --menu-btn: #4f5480;

    --heading: #0d3c61;

    --orange: #ff6600;
    --orange-dark: #c62b00;

    --red: #cd0808;

    --yellow: #ffc107;

    --text: #333;
    --muted: #555;

    --white: #fff;
}


/* =========================================================
   HEADER
========================================================= */

header {
    background: #cd0808;
    color: white;
    padding: .75rem;
    position: relative;
    transition: background 0.8s ease;
}

header.night {
    background: #212121;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 50px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.site-text h1 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.2;
}

.MENU-toggle {
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    color: white;
    white-space: nowrap;
}


/* =========================================================
   MENU
========================================================= */

.dropdown-MENU {
    display: none;
    background-color: #3a3d5c;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 0;
    animation: slideDown 0.3s ease forwards;
}

.subMENU-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 10px;
}

.subMENU-row a {
    flex: 1 1 40%;
    margin: 5px;
    background: #4f5480;
    color: white;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: bold;
}

.subMENU-row a:hover {
    background: #6c72a5;
    transform: translateY(-2px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   LINK ROW
========================================================= */

.link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    margin: 15px auto;
    gap: 5px;
}

.link-row a {
    flex: 1;
    text-align: center;
    color: #000;
    font-weight: bold;
    font-size: 20px;
}

.link-row a:hover {
    color: #ff6600;
    transform: translateY(-2px);
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    max-width: 900px;
    padding: 0 15px;
    margin: 20px auto;
}

.divider span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 50px;
    background: linear-gradient(90deg,
            transparent,
            #555,
            #fff,
            #555,
            transparent);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}


/* =========================================================
   APP HERO
========================================================= */

.app-hero {
    text-align: center;
    padding: 30px 20px 25px;
    background: #fff;
}

.app-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.app-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.app-hero h1 {
    margin: -15px 0;
    color: #0d3c61;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 800;
}

.app-hero p {
    margin: 10px auto;
    max-width: 750px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   BUTTON
========================================================= */

:root {
    --btn-bg: #ff6600;
    --btn-hover: #ffffff;
    --btn-text: #ffffff;
    --btn-hover-text: #ff6600;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 5px;
    background: var(--btn-bg);
    color: var(--btn-text);
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    transform: scale(1.03);
    box-shadow: 0 6px 0 #c62b00;
    cursor: pointer;
}

.btn:hover {
    background: var(--btn-hover);
    color: var(--btn-hover-text);
    transform: scale(1.03);
    box-shadow: 0 6px 0 #c62b00;
}

.download-btn {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 40px;
    margin-bottom: 30px;
    background: #ff6600;
    color: white;
    border-radius: 15px;
    font-weight: 800;
    font-size: 22px;
    text-align: center;
    box-shadow: 0 6px 0 #c62b00;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
}

.download-btn:hover {
    background: white;
    color: #ff6600;
    box-shadow: 0 6px 0 #c62b00;
    transform: scale(1.03);
}


/* =========================================================
   SECTION
========================================================= */

section {
    padding: 10px 10px 0 10px;
    background: #fff;
    margin-top: 0;
}

section h2 {
    color: #0d3c61;
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 800;
}

section h3 {
    margin-bottom: 1rem;
    color: #0d3c61;
}

section p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    padding-left: 10px;
    padding-right: 10px;
}

section ul,
section ol {
    padding-left: 1.8rem;
}

section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}


/* =========================================================
   CONTENT TEXT
========================================================= */

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    padding: 0 5px;
    text-align: justify;
}


/* =========================================================
   NOTICE
========================================================= */

.notice {
    width: calc(100% - 30px);
    margin: 10px auto 15px;
    padding: 12px 15px;
    background: #fff3cd;
    border-left: 5px solid #ff9800;
    border-radius: 6px;
    color: #664d03;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   SHARE TITLE
========================================================= */

.share-title {
    text-align: center;
    color: #0d3c61;
    font-size: 20px;
    margin: 0;
    font-weight: 800;
}


/* =========================================================
   SHARE BUTTONS
========================================================= */

.share-buttons-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 13px;
    min-width: 90px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp {
    background-color: #25D366;
}

.facebook {
    background-color: #3b5998;
}

.telegram {
    background-color: #0088cc;
}

#copy-text {
    width: 1px;
    height: 1px;
    border: 0;
    color: transparent;
    position: absolute;
    top: 0;
    z-index: -100;
}


/* =========================================================
   GAME TABLE
========================================================= */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.game-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Arial, sans-serif;
}

.game-table th,
.game-table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
}

.game-table th {
    background: #0d3c61;
    color: #fff;
    text-align: center;
    font-weight: 700;
}

.game-table td:nth-child(1),
.game-table td:nth-child(3) {
    width: 10%;
    text-align: center;
    font-weight: bold;
}

.game-table td:nth-child(2),
.game-table td:nth-child(4) {
    width: 40%;
    text-align: center;
}

.game-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.game-table tbody tr:hover {
    background: #eef5fa;
}


/* =========================================================
   APP GRID
========================================================= */

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem 1rem 1rem;
    background: white;
}

.app-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.app-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 0.2rem;
    border-radius: 10px;
}

.app-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #222;
}

.app-card p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}


/* =========================================================
   RATING
========================================================= */

.rating {
    color: #FFC107;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown {
    font-size: 1.2rem;
    color: #610d0d;
    margin-top: 2rem;
    font-weight: bold;
}


/* =========================================================
   ALSO HEADING
========================================================= */

.also-heading {
    color: #0d3c61;
    font-size: 1.5rem;
    text-align: center;
    background-color: white;
    padding: .4rem;
    margin: 0 auto;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    padding: 1rem 0;
}

.search-box input {
    display: block;
    width: 60%;
    margin: 0 auto;
    padding: 12px 15px 12px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: 0.3s ease;
}

.search-box input:focus {
    border-color: #ff6600;
    box-shadow: 0 0 8px rgba(255, 102, 0, 0.25);
}


/* =========================================================
   FAQ
========================================================= */

.faq-item {
    margin: 0;
    background: white;
}

.faq-item h3 {
    font-size: 1.17em;
    margin: 0 0 .25rem 1rem;
    color: #0d3c61;
}

.faq-item .answer {
    margin: -.90rem 1rem 1rem;
    line-height: 1.7;
    color: #333;
}

.faq-item ul,
.faq-item ol {
    padding-left: 1.5rem;
    margin-left: 1rem;
}

.faq-item li {
    margin-bottom: 0.7rem;
}

.faq-question,
.faq-answer {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-left: 0;
}

.faq-question {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.17em;
    color: #0d3c61;
}

.faq-answer {
    margin-bottom: 18px;
    font-size: 1em;
}

.faq-answer:last-child {
    margin-bottom: 0;
}

.faq-title {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    color: #cd0808;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    background: white;
}

.faq-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #ff9800;
    margin: 10px auto 0;
    border-radius: 5px;
}


/* =========================================================
   DISCLAIMER MARQUEE
========================================================= */

.disclaimer-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background: #fff;
    padding: 8px 0;
}

.disclaimer-marquee strong {
    color: #d35400;
}

.disclaimer-text {
    display: inline-block;
    padding-left: 100%;
    animation: disclaimerScroll 40s linear infinite;
}

@keyframes disclaimerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* =========================================================
   BOTTOM BANNER
========================================================= */

.bottom-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    z-index: 9999;
    background: #ffc107;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    box-sizing: border-box;
    transition: bottom .45s ease;
}

.bottom-banner.show {
    bottom: 0;
}

.download-btn-ads {
    background: var(--btn-bg);
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    padding: 10px 30px;
    border-radius: 15px;
    box-shadow: 0 6px 0 #c62b00;
    white-space: nowrap;
    position: absolute;
    right: 10px;
}

.download-btn-ads:hover {
    background: var(--btn-hover);
    color: var(--btn-bg);
    transform: scale(1.03);
    box-shadow: 0 6px 0 #c62b00;
}

.banner-link {
    max-width: 900px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
}

.banner-logo img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    border: 2px solid #fff;
    object-fit: cover;
}

.banner-text h2 {
    margin: 0;
    color: #333;
    font-size: 25px;
    font-weight: 800;
}

.bonus {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bonus span {
    font-size: 25px;
    font-weight: 800;
    color: #333;
}

.bonus strong {
    font-size: 40px;
    color: #ff0000;
    line-height: 1;
}

.banner-close {
    position: absolute;
    right: 0;
    top: -30px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: #ff0000;
    font-size: 18px;
    font-weight: bold;
    justify-content: center;
}


/* =========================================================
   NOTICE CONTAINER
========================================================= */

.notice-container {
    width: 100%;
    background-color: #FFE082;
    overflow: hidden;
    height: 40px;
    position: relative;
    border-radius: 5px;
}

.notice-wrapper {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

.notice-text {
    font-size: 18px;
    color: #000;
    display: inline-block;
    padding: 10px 0;
    font-family: 'Segoe UI', sans-serif;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* =========================================================
   ADVERTISEMENT
========================================================= */

.ad-container {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    background: white;
}

/* Google AdSense */
.ad-container ins.adsbygoogle {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* HTML Banner Images */
.ad-container img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* HTML Banner / Custom Script */
.ad-container iframe,
.ad-container video {
    max-width: 100%;
}

/* Mobile */
@media (max-width: 500px) {

    .ad-container {
        width: 100%;
        margin: 10px auto;
        padding: 0;
    }

    .ad-container img {
        max-width: 100%;
        height: auto;
    }
}

/* =========================================================
   FRONT PAGE BANNER
========================================================= */

.banner-box {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
}

.banner-box a {
    display: block;
    width: 100%;
}

.banner-box img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 8px;
}


/* =========================================================
   FRONT PAGE BANNER - MOBILE
========================================================= */

@media (max-width: 500px) {

    .banner-box {
        width: 100%;
        margin: 8px 0;
        padding: 0 5px;
    }

    .banner-box img {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }
}


/* =========================================================
   TABS
========================================================= */

.tab-button {
    padding: 10px 20px;
    border: none;
    background-color: #eee;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.tab-button.active {
    background-color: #007bff;
    color: white;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    text-align: center;
    padding: .75rem;
    background: #cd0808;
    color: white;
    font-weight: bold;
    transition: background 0.8s ease;
}

footer.night {
    background: #151515;
}

footer p {
    margin: 0;
}

footer strong {
    color: #fff;
}

.block-text {
    width: 100%;
    min-height: 100px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
}

.block-text:focus {
    border-color: #ff6600;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (min-width: 501px) and (max-width: 899px) {

    .app-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .link-row {
        width: 90%;
        gap: 8px;
    }

    .link-row a {
        font-size: 18px;
    }

    .search-box input {
        width: 60%;
    }

    .download-btn-ads {
        font-size: 25px;
    }

    .banner-logo img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        border: 2px solid #fff;
        object-fit: cover;
    }

    .banner-text h2 {
        font-size: 22px;
    }

    .bonus span {
        font-size: 22px;
    }

    .bonus strong {
        font-size: 30px;
    }

    .app-hero h1 {
        font-size: 25px;
    }

    .app-logo img {
        width: 110px;
        height: 110px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 500px) {

    body {
        background: #fff;
    }

    .container {
        width: 100%;
        max-width: 100%;
        box-shadow: none;
    }

    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        width: 50px;
    }

    .site-text h1 {
        font-size: 1.25rem;
    }

    .MENU-toggle {
        font-size: 1.25rem;
    }

    .link-row {
        width: 95%;
        gap: 5px;
    }

    .link-row a {
        font-size: 14px;
    }

    .search-box {
        padding: 10px;
    }

    .search-box input {
        width: 100%;
        font-size: 15px;
        padding: 12px 15px 12px 10px;
    }

    .faq-title {
        font-size: 1.25em;
    }

    .app-hero {
        padding: 25px 12px 20px;
    }

    .app-logo img {
        width: 100px;
        height: 100px;
    }

    .app-hero h1 {
        font-size: 22px;
        line-height: 1.4;
    }

    .app-hero p {
        font-size: 15px;
    }

    .download-btn {
        font-size: 18px;
        padding: 10px 22px;
    }

    section {
        padding: 8px 12px 18px;
    }

    section h2 {
        font-size: 20px;
    }

    .content-text {
        font-size: 15px;
        text-align: left;
    }

    .notice {
        width: calc(100% - 20px);
        font-size: 14px;
        padding: 10px 12px;
    }

    .share-btn {
        min-width: 85px;
        padding: 6px 10px;
        font-size: 13px;
    }

    .game-table {
        min-width: 500px;
    }

    .table-responsive {
        overflow-x: auto;
    }
}


/* =========================================================
   RESPONSIVE - BOTTOM BANNER
========================================================= */

@media (max-width: 600px) {

    .download-btn-ads {
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        padding: 5px 10px;
        border-radius: 20px;
        box-shadow: 0 6px 0 #c62b00;
        white-space: nowrap;
        position: absolute;
        right: 0;
    }

    .banner-link {
        gap: 10px;
    }

    .banner-logo img {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .banner-text h2 {
        font-size: 12px;
    }

    .bonus {
        gap: 10px;
    }

    .bonus span {
        font-size: 12px;
    }

    .bonus strong {
        font-size: 18px;
    }

    .banner-close {
        right: 0;
        top: -20px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        font-size: 12px;
    }
}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .app-grid {
        gap: .75rem;
        padding: 1rem .75rem;
    }

    .app-card {
        padding: .75rem;
    }

    .app-card img {
        width: 80px;
        height: 80px;
    }

    .app-hero h1 {
        font-size: 20px;
    }

    .app-logo img {
        width: 85px;
        height: 85px;
    }

    section h2 {
        font-size: 18px;
    }

    .share-buttons {
        gap: 5px;
    }

    .share-btn {
        min-width: 75px;
        font-size: 12px;
    }
}