/*
Theme Name: Casino 999
Theme URI:  http://example.com/casino-999
Author:      Your Name
Author URI:  http://example.com
Description: WordPress theme replicating the Casino 999 download page design.
Version:     1.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casino-999
Tags:        custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

header {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

header .logo img {
    max-height: 60px;
}

.login-buttons a{
    margin-right: 20px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}


.logo a img{
    max-height: 70px;
}

nav {
    flex: 1;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

nav li {
    display: inline-block;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.nav-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
}

/* Mobile / responsive navigation (right-side drawer) */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
}

/* Right-side drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    max-width: 360px;
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 24px rgba(0,0,0,0.12);
    z-index: 1200;
    padding: 18px 12px 24px 12px;
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1);
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .mobile-close {
    background: transparent;
    border: none;
    font-size: 26px;
    color: #222;
    float: right;
    cursor: pointer;
    padding: 6px;
}
.mobile-nav ul { list-style: none; margin: 40px 0 0 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid #eee; }
.mobile-nav a { display: block; padding: 16px 14px; color: #222; text-decoration: none; font-size: 18px; }
.mobile-nav a:hover { background: rgba(0,0,0,0.03); }

.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transition: opacity 260ms ease; z-index: 1100; }
.nav-overlay.open { opacity: 1; visibility: visible; }

/* Header and layout responsiveness */
header .container { flex-wrap: nowrap; position: relative; }

.faq-section img{
    max-width: 960px;
    margin: 10px auto;
}


.privacy-section img{
    max-width: 960px;
    margin: 10px auto;
}

.disclaimer-section img{
    max-width: 960px;
    margin: 10px auto;
}

.main-content {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.header-banner {
    text-align: center;
    margin-bottom: 30px;
}

.download-buttons .btn {
    display: block;
    text-align: center;
    color: #fff;
    padding: 15px;
    margin: 5px 0;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
}

.btn-red { background: #e74c3c; }
.btn-orange { background: #f39c12; }
.btn-green { background: #27ae60; }

.app-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.app-table th,
.app-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.steps ol {
    margin-left: 20px;
}

.images-row {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.images-row img {
    width: 32%;
    border-radius: 5px;
}

.features-list {
    margin: 20px 0;
}

.faq-section,
.privacy-section,
.data-safety-section,
.disclaimer-section,
.terms-section {
    margin: 40px 0;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.logo a{
    text-decoration: none;
    color: #000;
}

.main_title h2{
    text-align: center;
}

@media (max-width: 768px) {
    .faq-section img{
    width: 100%;
   
    }
    .login-buttons{
        display: none;
    }
    .privacy-section img{
        width: 100%;
    }

    .disclaimer-section img{
        width: 100%;
    }
    .images-row{
        display:block;
    }
    .images-row img {
        width: 100%;
        border-radius: 5px;
    }
}

@media (max-width: 980px) {
    header .container { flex-wrap: wrap; align-items: center; gap: 8px; }
    nav.main-nav { display: none !important; }
    .mobile-toggle { display: inline-block; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
    .nav-button { display: none; }
}

/* Account for WP admin bar pushing content down */
/* body.admin-bar .mobile-nav { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width:782px){
    body.admin-bar .mobile-nav { top: 46px; height: calc(100% - 46px); }
} */