html { scroll-behavior: smooth; }

/* ====== RESET & BASE ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0d0c1d;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.breadcrumb {
    font-size: 0.97rem;
    color: #ffe156;
    margin-bottom: 1.3rem;
    margin-top: 0.5rem;
}
.breadcrumb a {
    color: #21aaff;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #7a1be2;
}
.breadcrumb span {
    color: #d2d8f7;
    margin: 0 3px;
}
/* ====== HEADER ====== */
.site-header {
    background-color: #15142a;
    padding: 15px 0;
    border-bottom: 1px solid #2a2842;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 55px;
    position: relative;
    padding: 0 18px;
    gap: 0;
}
.site-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}
.site-logo-link:hover { transform: scale(1.02); }
.site-logo-img { max-height: 50px; width: auto; border-radius: 4px; }
.site-logo-text { font-size: 1.2rem; font-weight: 600; color: #7a1be2; }
.main-nav {
    margin-left: auto;
    z-index: 1002;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-left: 16px;
}
.nav-toggle .bar {
    width: 26px;
    height: 1px;
    background: #ffe156;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}
.nav-menu li a {
    color: #ffe156;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.18s;
    padding: 7px 14px;
    border-radius: 4px;
}
.nav-menu li a:hover,
.nav-menu li a:focus {
    background: #211f3c;
    color: #fff;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        right: 18px;
        top: 58px;
        background: #15142a;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.25);
        padding: 18px 22px;
        min-width: 170px;
    }
    .main-nav.active {
        display: block;
        animation: fadeInNav 0.3s;
    }
    .nav-toggle {
        display: flex;
    }
    .header-container {
        flex-direction: row;
        align-items: center;
    }
    .nav-menu {
        flex-direction: column;
        gap: 14px;
    }
}

@keyframes fadeInNav {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}
/* Hamburger active state (change icon to X if mau, opsional) */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ====== SKIP LINK ====== */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    background: #ffe156;
    color: #15142a;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 4px;
    transition: left 0.2s;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    outline: 2px solid #7a1be2;
}

/* ======================= PROMOTIONS SECTION ======================= */
.promotions-section {
    background: linear-gradient(145deg, #1b1a32 80%, #191833 100%);
    border-radius: 15px;
    border: 1px solid #2a2842;
    box-shadow: 0 4px 24px rgba(40,40,60,0.08);
    margin-bottom: 2.5rem;
    padding: 2rem;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    flex-grow: 1;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff; /* Light title color */
}

.section-subtitle {
    font-size: 1.1rem;
    color: #ffffff; /* Slightly darker subtitle color */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promotion-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
    justify-content: center;
    align-items: stretch;
    flex-grow: 1;
}

.promo-card {
    background: linear-gradient(145deg, #1b1a32, #100f24); /* Darker card gradient */
    border-radius: 12px;
    border: 1px solid #2a2842; /* Adjusted card border */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-header {
    background-color: #2a2842;
    padding: 15px 20px;
    display: flex;
    justify-content: center; /* Pastikan tetap center */
    align-items: center; /* Pastikan item di tengah secara vertikal */
}

.brand-logo {
    max-height: 50px;
    /* margin-right: 0; Pastikan tidak ada margin kanan yang tersisa */
    flex-shrink: 0;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex; /* Jadikan flex container */
    flex-direction: column; /* Susun item secara vertikal */
    justify-content: space-between;
    align-items: center; /* Pusatkan item secara horizontal */
    text-align: center; /* Tetap pertahankan untuk fallback atau elemen inline */
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff; /* Light card title color */
    margin-bottom: 10px;
}

.promo-description {
    font-size: 0.95rem;
    color: #ffffff; /* Lighter card description color */
    line-height: 1.6;
    margin-bottom: 15px;
}

.countdown-timer {
    font-size: 1rem;
    font-weight: 600;
    color: #a0f0a0;
    background-color: #202c20;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 15px;
    text-shadow: 0 0 5px rgba(160, 240, 160, 0.5);
    /* text-align: center; Hapus ini karena kita memusatkan di parent */
    width: fit-content; /* Agar lebar timer sesuai kontennya saat dipusatkan */
    margin-left: auto; /* Tambahkan auto margin kiri dan kanan untuk pemusatan block-level jika perlu */
    margin-right: auto;
}

.card-footer {
    padding: 15px 20px;
    background-color: #100f24;
    border-top: 1px solid #1b1a32;
    display: flex;
    justify-content: center; /* Pastikan tetap center */
    align-items: center; /* Tambahkan align-items center untuk pemusatan vertikal jika ada elemen lain */
    margin-top: auto;
}

.cta-button {
    background-color: #7a1be2; /* Adjusted CTA color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #5a0ad0; /* Adjusted CTA hover color */
    transform: scale(1.03);
}

/* Hide promotion card */
.promo-card.hidden {
    display: none;
}

/* ======================= LOAD MORE BUTTON ======================= */
.load-more-button {
    background-color: #2a2842; /* Darker button background */
    color: #ffffff; /* Light font color */
    border: 1px solid #3a3852; /* Adjusted border */
    border-radius: 8px;
    padding: 15px 30px;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 40px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.load-more-button:hover {
    background-color: #3b3a5a; /* Adjusted hover color */
    transform: scale(1.05);
}

.load-more-button.hidden {
    display: none;
}

/* ====== MAIN CONTENT ====== */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    color: #fafaff;
}
.brand-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(145deg, #1b1a32, #100f24);
    border-radius: 15px;
    border: 1px solid #2a2842;
    color: #fff;
}
.brand-name {
    color: #21aaff;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-title {
    color: #ffe156;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}
.featured-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin: 2rem auto;
    display: block;
    transition: transform 0.3s ease;
}
.featured-image:hover { transform: scale(1.02); }
.content {
    font-size: 1.13rem;
    line-height: 1.8;
    margin: 2rem 0;
    color: #fff;
    border-radius: 12px;
}
.content p { margin-bottom: 1rem; }
.info-section {
    background: linear-gradient(145deg, #1b1a32 80%, #191833 100%);
    border-radius: 15px;
    border: 1px solid #2a2842;
    box-shadow: 0 4px 24px rgba(40,40,60,0.08);
    margin-bottom: 2.5rem;
    padding: 2rem;
    color: #fff;
}
.section-title {
    font-size: 1.4rem;
    color: #ffe156;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 6px rgba(30,20,0,0.20);
}
.subheading {
    font-size: 1.13rem;
    color: #ffe156;
    margin: 1.2rem 0 0.7rem 0;
    font-weight: 600;
}
.detail-heading {
    font-size: 1.05rem;
    color: #50fa7b;
    margin: 1rem 0 0.6rem 0;
    font-weight: 600;
}
ul, ol {
    margin-left: 1.8em;
    margin-bottom: 1rem;
    color: #fafcff;
}
ul li, ol li {
    margin-bottom: 0.35em;
    color: #fafaff;
    font-size: 1.04rem;
    line-height: 1.7;
}
a, a:visited {
    color: #21aaff;
    transition: color 0.2s;
    text-decoration: none;
}
a:hover {
    color: #ffe156;
    text-decoration: none;
}
p, h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin: 1.2rem 0 0.7rem 0;
}

/* ====== FAQ ====== */
.faq-section {
    margin: 3rem 0 0 0;
    background: linear-gradient(145deg, #18172b 80%, #100f24 100%);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    border: 1px solid #26244a;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffe156;
    text-align: center;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.faq-item {
    border-radius: 10px;
    overflow: hidden;
    background: #15142a;
    border: 1px solid #292749;
    transition: box-shadow 0.2s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
    box-shadow: 0 4px 24px rgba(122,27,226,0.12);
}
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.08rem;
    color: #fff;
    padding: 1rem 1.2rem;
    cursor: pointer;
    outline: none;
    position: relative;
    font-family: inherit;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.18s;
}
.faq-question:hover, .faq-question[aria-expanded="true"] {
    background: #211f3c;
    color: #ffe156;
}
.faq-arrow {
    font-size: 1.1rem;
    margin-left: 1rem;
    transition: transform 0.3s;
}
.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 1rem 1.2rem 1rem 1.2rem;
    font-size: 1rem;
    color: #ededf9;
    display: none;
    animation: fadeInFaq 0.33s;
}
.faq-question[aria-expanded="true"] + .faq-answer {
    display: block;
}
@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}

/* ====== ADVANCED FOOTER (Desktop) ====== */
.footer-advanced {
    background: #151a2e;
    color: #d2d8f7;
    padding: 50px 0 0 0;
    font-size: 1rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    padding: 0 32px;
}
.footer-about h4,
.footer-links h4,
.footer-legal h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-about p {
    color: #d2d8f7;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li,
.footer-legal li {
    margin-bottom: 0.75em;
}
.footer-links a,
.footer-legal a {
    color: #d2d8f7;
    text-decoration: none;
    transition: color 0.18s;
}
.footer-links a:hover,
.footer-legal a:hover {
    color: #ffe156;
}
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.footer-bottom {
    text-align: center;
    color: #93a1ce;
    font-size: 0.97rem;
    margin: 38px 0 0 0;
    border-top: 1px solid #1e2344;
    padding: 18px 0;
}
.footer-logo-link {
    display: inline-block;
    margin-bottom: 18px;
}
.footer-logo-img {
    height: 50px;
    width: auto;
    border-radius: 5px;
    display: block;
    padding: 2px;
    margin-bottom: 12px;
}
/* ====== PAYMENT PROVIDERS (above footer columns) ====== */
.payment-providers{
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #1e2344;
}
.payment-icons{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
}
.pay-item{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 46px;
    border-radius: 10px;
    background: #151a2e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

@media (max-width: 600px){
    .payment-icons{ padding: 0 12px; gap: 10px; }
    .pay-item{ width: 74px; height: 44px; }
}
/* Ensure consistent social icon sizing */
.social-icons svg{ display:block; width:40px; height:40px; }
.social-icons a{ line-height: 0; }
/* ====== RESPONSIVE ====== */
@media (max-width: 1020px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px;
        padding: 0 18px;
    }
}
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 12px;
    }
    .footer-about, .footer-links, .footer-legal, .footer-social {
        text-align: left;
    }
    .footer-logo-img {
        height: 32px;
        margin-bottom: 10px;
    }
}
/* Hide footer if on mobile and using fixed-footer */
@media (max-width: 768px) {
    .footer-advanced { display: none; }
}
/* ====== FIXED MOBILE FOOTER ====== */
.fixed-footer {
    display: none;
}
@media (max-width: 768px) {
    .fixed-footer {
        display: flex;
        position: fixed;
        bottom: 0; left: 0;
        width: 100%;
        height: 70px;
        background-color: #15142a;
        border-top: 1px solid #2a2842;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
        z-index: 1002;
        align-items: center;
        justify-content: space-around;
    }
    .footer { display: none; }
    .footer-nav {
        display: flex;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        padding: 0;
    }
    .footer-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #ffe156;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        transition: color 0.18s;
    }
    .footer-button svg {
        width: 24px;
        height: 24px;
        color: #ffe156;
        stroke: #ffe156;
        transition: color 0.18s, stroke 0.18s;
    }
    .footer-button:active,
    .footer-button:focus,
    .footer-button:hover {
        color: #fff;
    }
    .footer-button:hover svg {
        color: #fff;
        stroke: #fff;
    }
}
/* ====== ANIMASI, KEYFRAMES, ETC ====== */
@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes wiggle {
    0%,100% { transform: rotate(0deg);}
    25% { transform: rotate(-8deg);}
    75% { transform: rotate(8deg);}
}
.animated-icon {
    animation: wiggle 1.5s ease-in-out infinite;
}
.loading {
    display: inline-block;
    width: 20px; height: 20px;
    border: 2px solid rgba(224,224,240,0.3);
    border-radius: 50%;
    border-top-color: #7a1be2;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
    body { padding-bottom: 80px; }
}

.home-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #7a1be2;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #4e0f98;
}

/* ====== BLOG SECTION ====== */
.blog-list {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 20px;
}

.blog-post {
    background: linear-gradient(145deg, #1b1a32 80%, #191833 100%);
    border-radius: 15px;
    border: 1px solid #2a2842;
    box-shadow: 0 4px 24px rgba(40, 40, 60, 0.08);
    margin-bottom: 2.5rem;
    padding: 2rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffe156;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #7a1be2;
}

.post-summary {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #d2d8f7;
}

.read-more {
    display: inline-block;
    padding: 12px 20px;
    background-color: #7a1be2;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #ffe156;
}

/* ====== MOBILE RESPONSIVENESS ====== */
@media (max-width: 768px) {
    .blog-list {
        padding: 0 15px;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.3rem;
    }

    .post-summary {
        font-size: 1rem;
    }

    .read-more {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}

.promotion-cards-container {
    padding: 10px;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    margin-bottom: 40px;
}

.pagination-btn {
    background-color: #7a1be2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.18s;
}
.pagination-btn:disabled {
    background-color: #3c3564;
    color: #d2d8f7;
    cursor: not-allowed;
}
.pagination-btn:not(:disabled):hover {
    background-color: #4e0f98;
}
#pageInfo {
    color: #ffe156;
    font-weight: bold;
}

.home-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #7a1be2;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.home-button:hover {
    background-color: #ffe156;
}


/* ====== HEADER ACTIONS (Login + Language) ====== */
.header-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:12px;
}

.lang-switcher{ position:relative; }
.lang-btn{
    display:flex;
    align-items:center;
    gap:6px;
    padding:10px;
    background:#1b1a32;
    border:1px solid #2a2842;
    border-radius:8px;
    color:#ffe156;
    cursor:pointer;
}
.lang-btn .chev{ opacity:0.8; }
.lang-menu{
    position:absolute;
    right:0;
    top:110%;
    background:#15142a;
    border:1px solid #2a2842;
    border-radius:10px;
    box-shadow:0 8px 24px rgba(0,0,0,0.3);
    padding:6px;
    display:none;
    min-width:160px;
    z-index:1003;
}
.lang-menu.open{ display:block; animation: fadeInNav 0.2s ease; }
.lang-option{
    width:100%;
    background:none;
    border:none;
    color:#fff;
    padding:8px 10px;
    display:flex;
    align-items:center;
    gap:8px;
    text-align:left;
    cursor:pointer;
    border-radius:8px;
}
.lang-option:hover{ background:#211f3c; color:#ffe156; }
.flag{
    width:16px;height:12px; display:inline-block; border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,0.2) inset;
}
.flag-gb{
    background: linear-gradient(0deg, #00247d 0 100%);
    position: relative;
}
.flag-gb::before, .flag-gb::after{
    content:""; position:absolute; inset:0;
    background:
      linear-gradient(90deg, transparent 45%, #fff 45% 55%, transparent 55%),
      linear-gradient(0deg, transparent 45%, #fff 45% 55%, transparent 55%);
    mix-blend-mode: screen;
}
.flag-bd{ background:#006a4e; position:relative; }
.flag-bd::after{ content:""; position:absolute; width:7px;height:7px;border-radius:50%; background:#f42a41; left:5px; top:2.5px; }

/* ====== PLAY NOW BUTTON ====== */
.primary-cta{
    display:inline-block;
    margin-top:12px;
    padding:12px 22px;
    background:#ffe156;
    color:#15142a;
    font-weight:800;
    border-radius:10px;
    text-decoration:none;
    border:1px solid #f0c300;
    text-align: center;
}
.primary-cta:hover{ background:#ffd633; color:#0d0c1d; }

/* ====== SCROLL TO TOP ====== */
#scrollTopBtn{
    position:fixed;
    right:16px;
    bottom:80px;
    width:44px;height:44px;
    border-radius:50%;
    background:#7a1be2;
    color:#fff;
    border:none;
    font-size:20px;
    box-shadow:0 6px 18px rgba(0,0,0,0.35);
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition: opacity 0.2s, transform 0.2s;
    z-index:1003;
}
#scrollTopBtn.show{
    opacity:1;
    pointer-events:auto;
}
#scrollTopBtn:hover{ transform: translateY(-2px); }

/* ====== PAYMENT PROVIDERS HEADING ====== */
.payment-title{
    max-width:1200px;
    margin:0 auto 8px auto;
    padding:0 32px;
    color:#fff;
    font-size:1.1rem;
    font-weight:700;
}
.payment-icons img{
    width:72px; height:38px; object-fit:contain; display:block;
    filter: saturate(0.9) brightness(1);
}

/* ====== Desktop nav precise vertical centering ====== */
.header-container{ min-height: 64px; }
.main-nav{ display:flex; align-items:center; height:64px; }
.nav-menu{ align-items:center; }
.nav-menu li a{ display:flex; align-items:center;}


/* ====== Footer payment title center ====== */
.payment-title{ text-align: center; }

/* ====== Games Section ====== */
.games-section{
  background: linear-gradient(145deg, #1b1a32 80%, #191833 100%);
  border-radius: 15px;
  border: 1px solid #2a2842;
  box-shadow: 0 4px 24px rgba(40,40,60,0.08);
  margin-bottom: 2.5rem;
  padding: 2rem;
  color: #fff;

}
.games-toolbar{
  display:flex; gap:10px; flex-wrap: wrap; justify-content: center; margin: 10px 0 20px;
}
.games-tab{
  background:#2a2842; color:#fff; border:1px solid #3a3852; border-radius: 999px;
  padding: 8px 16px; font-weight: 600; cursor:pointer;
}
.games-tab.active, .games-tab:hover{
  background:#7a1be2; border-color:#7a1be2;
}
.games-grid{
  display:grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 10px 0 10px;
}
.game-card{
  background:#100f24; border:1px solid #2a2842; border-radius:12px; overflow:hidden; text-align:center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game-card img{ width:100%; height:100%; object-fit:cover; display:block; }
.game-card figcaption{ padding:10px; font-size:0.95rem; color:#fff; }
.game-card:hover{ transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }

/* visibility helpers */
.game-card.hidden{ display:none; }
.game-card.hidden-after{ display:none; }

@media (max-width: 1100px){
  .games-grid{ grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 900px){
  .games-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px){
  .games-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px){
  .games-grid{ grid-template-columns: repeat(2, 1fr); }
}


/* ====== Mobile Nav Overlay (appended) ====== */
@media (max-width: 768px) {
  .site-header { z-index: 1100; }
  .nav-toggle { display: flex; position: relative; z-index: 1300; }
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13,12,29,0.96);
    z-index: 1200;
    padding: 90px 24px 24px 24px; /* room for header */
    overflow-y: auto;
    border-radius: 0;
    box-shadow: none;
  }
  .main-nav.active { display: block; animation: fadeInNav 0.25s ease; }
  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    max-width: 520px; width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }
  .nav-menu li { border-bottom: 1px solid #2a2842; }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu li a {
    display: block;
    padding: 14px 16px;
    font-size: 1.05rem;
    line-height: 1.3;
    border-radius: 8px;
    margin: 6px 0;
    background: #15142a;
  }
  body.menu-open { overflow: hidden; }
}


/* Language switcher: remove list bullets/markers */
.lang-menu,
.lang-menu li { list-style: none; margin: 0; padding: 0; }
.lang-menu li::marker { content: ""; }
.lang-menu { padding: 6px 0; }
.lang-menu .lang-option { width: 100%; text-align: left; background: transparent; border: 0; color: inherit; padding: 8px 12px; cursor: pointer; }


/* Games grid: hidden states */
.game-card.hidden, .game-card.hidden-after { display: none; }


/* Language switcher list reset */
.lang-menu, .lang-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-menu {
  background: #15142a;
  border: 1px solid #2a2842;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  position: absolute;
  right: 0;
  top: 58px;
  min-width: 170px;
  padding: 8px 10px;
}
.lang-menu.open { display: block; }
.lang-menu:not(.open) { display: none; }
.lang-menu .lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
}
.lang-menu .lang-option:hover { background: #211f3c; }

.game-card.hidden { display: none !important; }
.game-card.hidden-after { opacity: 0; pointer-events: none; }
