/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(180deg, #6e0393 0%, #da00ff 100%);
    min-height: 100vh;
    color: #f8fafc;
}

html,
body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ===== LAYOUT WRAPPER ===== */
.page-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 16px 40px;
}

/* ===== TOP BAR / HEADER ===== */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 12px;
}

.lang-switcher {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lang-select {
    min-width: 62px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    outline: none;
}

.lang-select option {
    color: #111827;
}

/* Hamburger */
.hamburger {
    width: 26px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
}

.hamburger span {
    display: block;
    height: 3px;
    border-radius: 4px;
    background: #ffffff;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 900;
}

/* Sidebar panel */
.mega-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    max-width: 80%;
    height: 100vh;
    background: #6e0393;
    color: #ffffff;
    padding: 14px 12px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

/* Close button inside sidebar */
.sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 2px solid #38bdf8;
    background: transparent;
    color: #38bdf8;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

/* Menu items */
.sidebar-menu {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-link {
    width: 100%;
    border: none;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding: 10px 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-weight: 600;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: none;
}

.sidebar-link .chevron {
    font-size: 12px;
}

/* When sidebar is open */
body.sidebar-open .mega-sidebar {
    transform: translateX(0);
}

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}


/* ===== LOGO + MAIN CTA SECTION ===== */
.hero {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 26px;
}

.breadcrumb-wrap {
    max-width: 720px;
    margin: 0 auto 12px;
    padding: 0 6px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #f3f4f6;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #d1d5db;
    margin: 0 6px 0 0;
}

.breadcrumb-item a {
    color: #ffffff;
}

.hero-logo img {
    max-width: 520px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 72px;
    filter: drop-shadow(0 18px 34px rgba(2, 6, 23, 0.28));
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Base CTA box */
.cta-box {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    min-width: 260px;
    height: 70px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Left icon + text */
.cta-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-small-icon {
    width: 22px;
    height: 22px;
}

/* Character images (penguin + dragon) */
.cta-character {
    position: absolute;
    bottom: -2px;
    right: -65px;
    height: 110px;
    pointer-events: none;
}

/* Slight size tweaks per character */
.telegram-character {
    height: 115px;
}

.whatsapp-character {
    height: 115px;
}

/* Button gradients */
.telegram {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 52%, #168AC2 100%);
}

.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* Button hover */
.cta-box:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(2, 6, 23, 0.38);
}

/* Ensure Telegram + WhatsApp stay side-by-side on 768px and below */
@media (max-width: 768px) {
    .hero-ctas {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 14px;
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        /* smaller gap for mobile width */
    }

    .cta-left {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        text-align: left;
    }

    .cta-left .cta-small-icon {
        width: 18px;
        height: 18px;
    }


    .cta-box {
        min-width: 0;
        width: calc(50% - 7px);
        max-width: 190px;
        padding: 8px 10px;
        font-size: 11px;
        height: 52px;
        border-radius: 14px;
    }

    /* Character images repositioned and resized for mobile */
    .cta-character {
        display: block;
        height: 62px !important;
        right: -10px !important;
        bottom: -1px;
    }
}



/* ===== LAST UPDATE LINE ===== */
.update-line {
    text-align: center;
    font-size: 11px;
    margin: 12px 0 24px;
    color: #cbd5e1;
    opacity: 0.95;
}

.update-line span.label {
    font-weight: bold;
}

/* ===== CARD SECTIONS ===== */
.card {
    margin: 0 auto 16px;
    background: #ffffff;
    border-radius: 16px;
    color: #1f2937;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.24);
    overflow: hidden;
    font-size: 14px;
    border: 1px solid rgba(226, 232, 240, 0.88);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.download-card-square {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.download-card-square .card-body {
    margin-top: auto;
    padding: 10px 12px;
}

.download-card-square .card-header {
    padding: 10px 12px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.card-header-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.card-header-title {
    font-weight: bold;
    color: #0f172a;
}

.card-body {
    padding: 14px 18px;
    background: #ffffff;
}

/* Mega Test ID body */
.test-id-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
}


.test-id-body strong {
    font-weight: bold;
}

/* Download buttons inside cards */
.download-btn {
    display: block;
    width: 100%;
    border-radius: 12px;
    text-align: center;
    padding: 9px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    border: none;
    cursor: pointer;
    outline: none;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
    transition: filter 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.download-btn.android {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.download-btn.ios {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.download-btn.pc {
    background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
}

.download-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.download-extra-link {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
}

.download-extra-link a {
    color: #245cbf;
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 12px 20px 28px;
    }

    .hero-logo img {
        max-width: 340px;
    }

    .card-header,
    .card-body {
        padding: 12px 12px;
    }

    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .download-card-square {
        min-height: auto;
        aspect-ratio: auto;
    }

    .download-card-square .card-header {
        justify-content: center;
        text-align: center;
        padding: 10px 10px 8px;
    }

    .download-card-square .card-header-title {
        font-size: 13px;
    }

    .download-card-square .card-body {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 10px;
    }

    .download-card-square .download-btn {
        font-size: 12px;
        padding: 9px 8px;
    }

    .download-card-windows {
        display: none;
    }
}


.content-box {
    margin: 0 auto 26px;
    background: #ffffff;
    padding: 24px 28px;
    color: #333;
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.22);
    text-align: left;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.content-box h1 {
    text-align: left;
    font-size: 31px;
    line-height: 1.2;
    margin: 0 0 14px;
    font-weight: 800;
    color: #18212f;
    letter-spacing: -0.01em;
}

.content-box h2 {
    text-align: left;
    font-size: 24px;
    line-height: 1.3;
    margin: 30px 0 12px;
    font-weight: 800;
    color: #123057;
    letter-spacing: -0.01em;
    padding-left: 12px;
    border-left: 4px solid #0ea5e9;
}

.content-box h3 {
    text-align: left;
    font-size: 19px;
    line-height: 1.35;
    margin: 24px 0 10px;
    font-weight: 700;
    color: #223449;
}

.content-box h4 {
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
    margin: 20px 0 8px;
    font-weight: 700;
    color: #304760;
    text-transform: none;
}

.content-box ol {
    margin-left: 18px;
    margin-bottom: 18px;
}

.content-box ol>li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.content-box ul {
    margin-top: 4px;
    margin-left: 18px;
    list-style-type: disc;
}

.content-box ul li {
    margin-bottom: 4px;
    font-size: 14px;
}

.content-box a {
    color: #245cbf;
    text-decoration: underline;
}

.content-box p {
    font-size: 15px;
    line-height: 1.72;
    text-align: left;
    margin: 0 0 14px;
}

.content-meta {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 13px;
}

.related-articles {
    border-top: 1px solid #d8e0ef;
    padding-top: 12px;
}

.related-articles ul {
    margin: 0;
    padding-left: 18px;
}

.related-articles li {
    margin-bottom: 8px;
}

.content-box h1 + p,
.content-box h2 + p,
.content-box h3 + p,
.content-box h4 + p {
    margin-top: 0;
}

.content-box h2:first-child,
.content-box h3:first-child,
.content-box h4:first-child {
    margin-top: 0;
}

@media (max-width: 680px) {
    .content-box h1 {
        font-size: 27px;
    }

    .content-box h2 {
        font-size: 21px;
        margin-top: 24px;
    }

    .content-box h3 {
        font-size: 18px;
    }
}

.address-text {
    margin-top: 4px;
    margin-bottom: 18px;
}

.contact-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.contact-btn {
    flex: 1 1 160px;
    text-align: center;
    padding: 11px 12px;
    border-radius: 3px;
    background: #0084ff;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    background: #006fe0;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
}

.slot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 700px;
    /* so horizontal scroll appears on small screens */
}

.slot-table th,
.slot-table td {
    border: 1px solid #dcdcdc;
    padding: 8px 10px;
    text-align: center;
    vertical-align: middle;
}

.slot-table thead th {
    background: #0078ff;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

.slot-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.slot-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.slot-table .game-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.slot-table .game-cell img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.slot-table .game-cell a {
    color: #0054c9;
    text-decoration: underline;
    font-weight: 500;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.info-table td {
    border: 1px solid #dcdcdc;
    padding: 10px 14px;
    vertical-align: middle;
}

.info-table tr:nth-child(even) {
    background: #f9f9f9;
}

.info-table tr:nth-child(odd) {
    background: #ffffff;
}

.info-table td:first-child {
    font-weight: bold;
    width: 30%;
}

/* FAQ SECTION */
.faq-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 14px;
    font-size: 20px;
}

.faq-list {
    background: transparent;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 10px;
    overflow: hidden;
    /* keeps content inside the white card */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    text-align: left;
    border: none;
    background: #ffffff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    font-size: 15px;
    cursor: pointer;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    margin-right: 10px;
    font-weight: bold;
}

/* Smooth slide answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 14px 0 32px;
    /* no vertical padding while closed */
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid #f1f1f1;
    color: #333;
    /* answer text colour */
    transition:
        max-height 0.25s ease,
        padding-top 0.25s ease,
        padding-bottom 0.25s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    /* big enough to show the text */
    padding: 8px 14px 10px 32px;
    /* restore vertical padding when open */
}

.faq-item.open .faq-question {
    border-bottom: 1px solid #f1f1f1;
}



/* ===== FOOTER ===== */
.footer {
    background: #06101f;
    color: #ffffff;
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(56, 189, 248, 0.42);
    font-size: 14px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-bottom: 10px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: underline;
    font-size: 13px;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* always bottom-right */
    width: 42px;
    height: 42px;
    background: #0ea5e9;
    color: #ffffff;
    font-size: 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* ===== LOGIN ===== */

.login-demo-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fake-login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
}

.input-group input {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.input-group input:focus {
    outline: none;
    border-color: #28a745;
}

.login-btn {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(to right, #28a745, #1e7e34);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-btn:hover {
    opacity: 0.9;
}