* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: linear-gradient(180deg, #1A0C55 0%, #9666FF 65%);
    display: flex;
    flex-direction: column;    
    align-items: center;        
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
}

.wrapper {
    width: 100%;
    max-width: 800px;
}

header {
    background: transparent;
    padding: 30px 20px 0px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

.logo-container {
    text-align: center;
    padding: 25px 0 20px 0;
}

.logo-img {
    max-width: 80%;
    height: auto;
    display: inline-block;
}

.content-body {
    background: transparent;
    padding: 0 20px 0px 20px;
}


.chat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 463px;
    margin: 0 auto 15px auto;
}


.btn {
    position: relative; 
    overflow: hidden;   
    width: 100%;
    min-width: auto; 
    min-height: 38px;
    padding: 8px 14px;  
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
    font-size: 18px;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: 'Open Sans', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, transform 0.2s ease, filter 0.2s ease;
}


.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: buttonFlash 3.5s infinite linear;
}


@keyframes buttonFlash {
    0% {
        left: -150%;
    }
    30% {
        left: 150%;
    }
    100% {
        left: 150%; 
    }
}

.btn:active {
    transform: scale(0.98) translateY(0); 
}

.btn-tlg, .btn-ws {
    border-radius: 9px;
    margin: 2px;
    color: #fff;
}

.btn-tlg {
    background-color: #29b6f6;
    min-height: 49px;
}

.btn-ws {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}


.img-btn {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    transition: transform 0.1s ease, filter 0.2s ease;
    

    animation: playButtonPulse 2s infinite ease-in-out;
}


@keyframes playButtonPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03); 
        filter: brightness(1.12); 
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.img-btn:active {
    transform: scale(0.97) !important; 
    animation-play-state: paused;      
}

.img-btn:hover {
    filter: brightness(1.15);
}

.img-btn img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.btn-play-online {
    max-width: 463px;
    margin: 0 auto 20px auto; 
}


.custom-grid-vertical {
    display: flex;
    flex-direction: column; 
    gap: 15px;            
    margin-bottom: 20px;  
    width: 100%;
    max-width: 463px; 
    margin-left: auto;
    margin-right: auto;
}

.custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    min-width: 150px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    border: none; 
    border-radius: 20px;
    padding: 20px 30px;
    font-size: 16px;
    line-height: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.custom-btn:hover, .btn:hover {
    filter: brightness(1.08);
    transform: translateY(-4px); 
}

.custom-btn:active {
    transform: scale(0.98) translateY(0); 
}


.btn-android-css {
    background-color: #20BC29;
    box-shadow: -10px 10px 10px 0px rgba(0, 0, 0, 0.5) inset;
}


.btn-ios-css {
    background-color: #A9A5A5;
    box-shadow: -10px 10px 10px 0px rgba(0, 0, 0, 0.56) inset;
}


.btn-icon {
    font-size: 18px;
    margin-right: 8px;
}

.menu-drawer {
    position: fixed;
    top: 0;
    left: 0; 
    width: 300px;
    height: 100vh;
    background-color: #03BD11; 
    box-shadow: 4px 0 15px rgba(0,0,0,0.3);
    z-index: 999;
    transform: translateX(-100%); 
    transition: transform 0.3s cubic-bezier(0.1, 0.7, 0.1, 1);
    padding: 20px;
    overflow-y: auto;
}

.menu-drawer.open {
    transform: translateX(0); 
}

.menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.close-btn {
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.menu-list {
    list-style: none;
}

.menu-item {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-title-link {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 0;
    user-select: none;
    transition: padding-left 0.2s ease;
}

.menu-title-link:hover {
    padding-left: 8px;
    color: #e28704;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    display: none;
}

.menu-overlay.visible {
    display: block;
}

.full-width-section {
    width: 100%;
    padding: 20px 20px;
    background: transparent;
}

.inner-container {
    width: 100%;
    max-width: 1242px; 
    margin: 0 auto;
}

.content-card-white {
    background-color: #ffffff;  
    padding: 35px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    color: #2b2b2b;            
    text-align: left;
    line-height: 1.6;
}

.content-card-white h2 {
    font-size: 24px;
    margin-bottom: 14px;
    color: #1a0c55;            
    text-align: center;
}

.faq-section h3 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
}

.faq-item-unique {
    background-color: #ffffff;  
    margin-bottom: 16px;        
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 18px 24px;
    color: #1a0c55;            
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background-color: #f7f5ff; 
}

.faq-toggle {
    font-size: 20px;
    color: #9666FF;            
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: #faf9ff; 
}

.faq-answer p {
    padding: 18px 24px;
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid #f0edf9; 
}

.faq-item-unique.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    margin-top: 20px;
    text-align: center;
    color: #e0d8ff;
    font-size: 12px;
    line-height: 1.6;
    background:#0e1116;
}

.footer-links {
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

.footer-links a:hover {
    color: #00bfff;
}

.footer-disclaimer {
    margin-bottom: 25px;
    text-align: justify;
}

.footer-disclaimer strong {
    color: #ffffff;
}

.footer-copyright {
    color: #ffffff;
    font-weight: bold;
    margin-top: 15px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #0066cc; 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0052a3;
    transform: translateY(-3px);
}

.up-arrow {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-top: 3.5px solid #ffffff;
    border-left: 3.5px solid #ffffff;
    transform: rotate(45deg);
    margin-top: 6px; 
}

@media (max-width: 768px) {
    .chat-grid {
        grid-template-columns: 1fr 1fr; 
        gap: 12px;
        max-width: 84%;
    }
    
    .custom-grid-vertical {
        max-width: 84%;
    }
    
    .custom-btn, .btn {
        padding: 16px 20px;
    }

    .btn-play-online {
        max-width: 84% !important;
        margin: 0 auto 15px auto !important; 
    }
    
    .btn-play-online img {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .content-card-white {
        padding: 25px 20px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }

    .faq-answer p {
        padding: 15px 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .menu-drawer {
        left: 0 !important; 
        transform: translateX(-100%); 
        transition: transform 0.3s cubic-bezier(0.1, 0.7, 0.1, 1);
        width: 280px; 
    }

    .menu-drawer.open {
        transform: translateX(0);
    }
}

@media (max-width: 360px) {
    .chat-grid {
        gap: 8px;
        max-width: 100% !important;
    }
    .custom-grid-vertical {
        max-width: 100% !important;
    }
    .menu-drawer {
        width: 85vw;
    }
    .logo-container {
        padding: 0px 0 20px 0;
    }
}



.info-content p {
    margin-bottom: 15px;
}

.info-content p:last-child {
    margin-bottom: 0;
}


.info-list-cubic {
    margin-top: 15px;
    padding-left: 20px;
    list-style-type: square; 
}
.info-list-decimal {
    margin-top: 15px;
    padding-left: 20px;
}

.info-list-ordered {
    margin-top: 15px;
    padding-left: 20px;
}

.info-list-ordered li {
    margin-bottom: 8px;
}

.content-card-white h3 {
    font-size: 18px;
    color: #1a0c55;
    margin-top: 20px;
    margin-bottom: 10px;
}


.game-category-item {
    margin-top: 20px;
}

.game-category-item.bordered {
    border-top: 1px solid #f0edf9;
    padding-top: 20px;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 15px;
    margin-bottom: 20px;
}

.device-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.device-table th {
    background-color: #1a0c55;
    color: #ffffff;
    padding: 12px;
    border: 1px solid #f0edf9;
}

.device-table td {
    padding: 12px;
    border: 1px solid #f0edf9;
}

.device-table tr.striped-row {
    background-color: #faf9ff;
}

.status-supported {
    color: green;
    font-weight: bold;
}

.status-limited {
    color: orange;
    font-weight: bold;
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #1a0c55;
}


.help-buttons-container {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0 auto;
}

.custom-help-btn {

    width: 80%;
    max-width: 520px;
    padding: 10px;
    border: 0;
    color: #fff;
    font-weight: bold;
    font-size: 18px; 
    border-radius: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
    margin: 0 auto 14px auto;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-ios-help {
    background-color: #a9a5a5;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.3) inset;
}

.btn-android-help {
    background-color: #20BC29;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.3) inset;
}

.btn-tlg-help {
    background-color: #29b6f6;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.3) inset;
}

.custom-help-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.custom-help-btn i {
    margin-right: 6px;
}

@media (max-width: 768px) {
    .help-buttons-container {
        flex-direction: column;
        gap: 0;
        max-width: 84%;
    }
    .custom-help-btn {
        width: 100%;
        font-size: 20px;
    }
}