/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    color: #fff;
}

.mega888 {
    background: linear-gradient(180deg, #000000 0%, #333333 50%, #777777 100%);
}

.pussy888 {
    background: linear-gradient(180deg, #a56bff 0%, #7e3bff 50%, #4b0aff 100%);
}

.kiss918 {
    background: linear-gradient(180deg, #ffb7d5 0%, #ff88c2 50%, #ff5fa8 100%);
}

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;
}

/* 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: #a12ad6;
    /* strong purple like screenshot */
    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 #ffb347;
    background: transparent;
    color: #ffb347;
    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: 12px;
}

.sidebar-link {
    width: 100%;
    border: none;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 4px;
    cursor: pointer;
}

.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;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 28px;
}

.hero-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.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: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    min-width: 260px;
    height: 70px;
    overflow: visible;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* 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: -35px;
    height: 110px;
    pointer-events: none;
}

/* Slight size tweaks per character */
.telegram-character {
    height: 115px;
}

.whatsapp-character {
    height: 115px;
}

/* Button gradients */
.telegram {
    background: linear-gradient(to right, #1d8fff, #0a56d8);
}

.whatsapp {
    background: linear-gradient(to right, #24c05b, #128c3a);
}

/* Button hover */
.cta-box:hover {
    filter: brightness(1.1);
}

/* Ensure Telegram + WhatsApp stay side-by-side on 768px and below */
@media (max-width: 768px) {
    .hero-ctas {
        gap: 30px;
        /* smaller gap for mobile width */
    }

    /* .cta-left {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
    } */

    .cta-left .cta-small-icon {
        width: 26px;
        height: 26px;
    }


    .cta-box {
        min-width: 180px;
        /* smaller but still looks good */
        padding: 8px 16px;
        font-size: 12px;
        height: 60px;
    }

    /* Character images repositioned and resized for mobile */
    .cta-character {
        height: 85px !important;
        right: -40px !important;
    }

    .telegram-character {
        right: -15px !important;
        height: 90px !important;
    }

    .whatsapp-character {
        right: -35px !important;
        height: 90px !important;
    }
}

/* ===== CARD SECTIONS ===== */
.card {
    margin: 0 auto 16px;
    background: #ffffff;
    border-radius: 2px;
    color: #333333;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    font-size: 14px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #ffffff;
}

.card-header-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.card-header-title {
    font-weight: bold;
}

.card-body {
    padding: 14px 18px;
    background: #ffffff;
}

/* Mega Test ID body */
.test-id-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* optional spacing between items */
    text-align: center;
}


.test-id-body strong {
    font-weight: bold;
}

/* Download buttons inside cards */
.download-btn {
    display: block;
    width: 100%;
    border-radius: 0;
    text-align: center;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    border: none;
    cursor: pointer;
    outline: none;
}

.download-btn.android {
    background: #34a835;
}

.download-btn.ios {
    background: #ff7a1a;
}

.download-btn.pc {
    background: #2c74e6;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 12px 20px 28px;
    }


    .card-header,
    .card-body {
        padding: 12px 12px;
    }
}


.content-box {
    margin: 0 auto 26px;
    background: #ffffff;
    padding: 18px 28px;
    color: #333;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 2px 10px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.content-box h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: bold;
    color: #7512ff;
}

.content-box h3 {
    text-align: center;
    font-size: 17px;
    margin: 18px 0 10px;
    font-weight: bold;
    color: #333;
}

.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.6;
    text-align: justify;
}

.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 WRAPPER */
.faq-section {
    margin: 0 auto 26px;
    /* purple strip behind, same theme */
}

/* Title */
.faq-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 20px;
    letter-spacing: 0.3px;
}

/* List layout */
.faq-list {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Each FAQ card */
.faq-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ece8ff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Question row */
.faq-question {
    width: 100%;
    text-align: left;
    border: none;
    background: #ffffff;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Icon circle */
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    border-radius: 50%;
    background: #f3f0ff;
    color: #0078ff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* Question text */
.faq-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
}

/* Smooth slide answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px 0 48px;
    /* indent under text, not under icon */
    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;
}

/* When open */
.faq-item.open .faq-question {
    background: #faf8ff;
}

.faq-item.open .faq-icon {
    background: #0078ff;
    color: #ffffff;
}

.faq-item.open .faq-answer {
    padding: 8px 16px 32px 48px;
}

/* Small screens */
@media (max-width: 600px) {
    .faq-section {
        padding: 18px 10px 20px;
    }

    .faq-section h2 {
        font-size: 18px;
    }

    .faq-question {
        padding: 10px 12px;
    }

    .faq-answer {
        font-size: 14px;
    }
}



/* ===== HAMURGER AND SIDEBAR ===== */
.mgs-hamburger-wrapper {
    position: fixed;
    top: 22px;
    left: 22px;
    z-index: 9999;
}

.mgs-hamburger-button {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.mgs-hamburger-button:hover {
    background: transparent;
}

.mgs-hamburger-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    position: relative;
    transition: all 0.25s ease;
}

.mgs-hamburger-button span::before,
.mgs-hamburger-button span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.mgs-hamburger-button span::before {
    top: -6px;
}

.mgs-hamburger-button span::after {
    top: 6px;
}

/* Active (turns into X) */
.mgs-hamburger-button.mgs-open span {
    background: transparent;
}

.mgs-hamburger-button.mgs-open span::before {
    top: 0;
    transform: rotate(45deg);
}

.mgs-hamburger-button.mgs-open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* OVERLAY (right side darkness) */
.mgs-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9998;
}

/* SIDEBAR (left game list) */
.mgs-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    max-width: 80%;
    height: 100vh;
    background: #140015;
    /* deep purple almost black */
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

/* Header like screenshot */
.mgs-sidebar-header {
    background: #4b0a5a;
    /* bright purple bar */
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px 0 16px;
    box-sizing: border-box;
}

.mgs-sidebar-close {
    color: #ff4b4b;
    /* red X */
    font-size: 22px;
    font-weight: 700;
    margin-right: 8px;
    cursor: pointer;
    line-height: 1;
}

.mgs-sidebar-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

/* Game list area */
.mgs-game-list {
    padding-top: 8px;
    padding-bottom: 12px;
    overflow-y: auto;
    flex: 1;
    background: #0b000e;
    /* slightly darker than header */
}

.mgs-game-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 6px 12px 6px 10px;
    text-decoration: none;
    color: #e5e5f5;
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
}

/* Blue selection strip on the left */
.mgs-game-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: background 0.2s ease;
}

.mgs-game-item.mgs-active::before {
    background: #287bff;
    /* blue strip like screenshot */
}

.mgs-game-item img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 8px;
    flex-shrink: 0;
}

.mgs-game-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mgs-game-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Open state */
.mgs-menu-open .mgs-mobile-menu {
    transform: translateX(0);
}

.mgs-menu-open .mgs-menu-overlay {
    opacity: 1;
    visibility: visible;
}



/* ===== FOOTER ===== */
.footer {
    background: #200404;
    padding: 25px 20px;
    text-align: center;
    color: #f6f5f5;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.footer-address {
    margin-bottom: 18px;
}

.footer-label {
    font-size: 15px;
    margin-bottom: 4px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-copy {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.75;
}


/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* always bottom-right */
    width: 42px;
    height: 42px;
    background: #0d6efd;
    /* blue button */
    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;
}