:root {
    --bg-body: #000c24;
    --blue-nav: #0033cc;
    --blue-dark: #001845;
    --blue-light: #0056b3;
    --gold: #ffcc00;
    --text-white: #ffffff;
    --nav-height: 70px;
}

* { box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }

body {
    margin: 0; padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-body);
    background-image: radial-gradient(circle at 50% 30%, #002855 0%, #000c24 70%);
    color: var(--text-white);
    padding-bottom: calc(var(--nav-height) + 10px);
    overflow-x: hidden;
}

/* --- HEADER --- */
header {
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 50%, #b0b0b0 100%);
    height: 50px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 10px; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.menu-icon {
    background: #000; border: 2px solid #00aaff; border-radius: 4px;
    width: 32px; height: 32px; display: grid; place-items: center; color: #00aaff; font-size: 1.2rem;
}
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Auth Buttons */
.auth-buttons {
    display: flex; gap: 8px;
}
.btn-auth {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    display: inline-block;
}
.btn-login {
    background: transparent;
    border: 1px solid #000;
    color: #000;
}
.btn-register {
    background: #ffcc00; /* Gold */
    border: 1px solid #b38f00;
    color: #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(255, 204, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); } }

/* --- MARQUEE --- */
.marquee-container {
    background: #001233; border-bottom: 2px solid #0033cc;
    color: #ff3399; font-weight: 700; font-size: 0.85rem;
    white-space: nowrap; overflow: hidden; padding: 6px 0;
}
.marquee-text {
    display: inline-block; animation: scroll 20s linear infinite;
}
@keyframes scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* --- LAYOUT (3 COLUMNS) --- */
.main-container {
    display: grid; grid-template-columns: 1fr; gap: 10px; padding: 10px;
    max-width: 1600px; margin: 0 auto;
}

/* Desktop: 3 Cols like screenshot */
@media (min-width: 1024px) {
    .main-container {
        grid-template-columns: 280px 1fr 280px;
    }
}

/* --- LEFT COLUMN WIDGETS --- */
.sidebar-left, .sidebar-right { display: flex; flex-direction: column; gap: 10px; }

/* Only show sidebars on desktop to match complex layout, or stack on mobile */
@media (max-width: 1023px) {
    .sidebar-left, .sidebar-right { display: none; } 
    /* Note: In a real mobile view, you'd likely hide these or move them. 
       The screenshot implies a desktop view. */
}

.promo-banner {
    width: 100%; border-radius: 4px; border: 1px solid #0044cc;
    box-shadow: 0 0 10px rgba(0, 80, 255, 0.3);
    display: block;
}
a .promo-banner {
    text-decoration: none;
}

/* Jackpot Widget */
.jackpot-widget {
    background: linear-gradient(180deg, #002855 0%, #001133 100%);
    border: 2px solid #0066ff; border-radius: 6px; padding: 10px; text-align: center;
}
.jp-title {
    color: #89CFF0; font-weight: 800; font-size: 0.9rem; text-transform: uppercase;
    text-shadow: 0 0 5px #00aaff; margin-bottom: 8px; text-align: left;
}
.jp-digits { display: flex; justify-content: center; gap: 4px; }
.digit {
    background: linear-gradient(180deg, #fff 0%, #ccc 100%);
    color: #000; font-weight: 900; font-size: 1.2rem;
    width: 24px; height: 32px; display: grid; place-items: center; border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5); font-family: 'Arial', sans-serif;
}

/* Transaction Table */
.trans-widget {
    background: #001133; border: 1px solid #0044cc; border-radius: 6px; overflow: hidden;
}
.trans-header {
    background: linear-gradient(90deg, #003366, #001a33);
    padding: 8px; font-size: 0.8rem; font-weight: 700; color: #fff;
    display: flex; justify-content: space-between; align-items: center;
}
.live-dot { width: 8px; height: 8px; background: red; border-radius: 50%; animation: pulse 1s infinite; }
.trans-table { width: 100%; font-size: 0.7rem; border-collapse: collapse; }
.trans-table td { padding: 6px; border-bottom: 1px solid #002244; color: #fff; }
.trans-amt { color: #ffcc00; font-weight: bold; }
.trans-prov { color: #aaa; text-align: right; }

/* --- CENTER COLUMN (GAMES) --- */
.center-col { display: flex; flex-direction: column; gap: 10px; }

/* Categories */
.cat-nav {
    display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none;
}
.cat-item {
    min-width: 80px; background: linear-gradient(180deg, #003366 0%, #001133 100%);
    border: 1px solid #0056b3; border-radius: 4px; padding: 6px;
    display: flex; flex-direction: column; align-items: center; cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.cat-item:hover { border-color: #ffcc00; }
.cat-item img { width: 35px; height: 35px; margin-bottom: 4px; border-radius: 50%; }
.cat-item span { font-size: 0.65rem; font-weight: 700; color: #fff; text-transform: uppercase; }

/* Game Grid */
.games-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
/* Responsive Grid */
@media (max-width: 1200px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }

.game-card {
    background: #001845; border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column; border: 1px solid #003366;
    transition: 0.2s;
    text-decoration: none;
    color: inherit;
}
.game-card:hover { transform: scale(1.02); border-color: #ffcc00; z-index: 10; }
.g-img { 
    width: 100%; 
    aspect-ratio: 1/1; 
    object-fit: contain; 
    object-position: center;
    background: #001133;
    display: block;
    max-width: 100%;
    flex-shrink: 0;
}
.play-bar {
    background: linear-gradient(180deg, #0066ff 0%, #003399 100%);
    color: #fff; text-align: center; padding: 5px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}

/* --- SEO CONTENT BLOCK --- */
.seo-content {
    background: #001133;
    border: 1px solid #0044cc;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
    color: #b0c4de;
    font-size: 0.8rem;
    line-height: 1.5;
}
.seo-content h1 { font-size: 1.1rem; color: #fff; margin-top: 0; margin-bottom: 10px; }
.seo-content h2 { font-size: 0.95rem; color: #ffcc00; margin-top: 15px; margin-bottom: 8px; }
.seo-content p { margin-bottom: 10px; }

/* --- RIGHT COLUMN WIDGETS --- */
/* Reusing promo-banner styles */

/* --- BOTTOM NAV (EXACT MATCH) --- */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; height: var(--nav-height);
    background: linear-gradient(180deg, #0044cc 0%, #002266 100%);
    display: flex; justify-content: space-around; align-items: center;
    border-top: 3px solid #0066ff; z-index: 1000;
}
.nav-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; width: 20%;
}
.nav-icon-circle {
    background: #fff; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; color: #0033cc; font-size: 1.2rem;
    margin-bottom: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.5); position: relative;
}
.nav-btn span { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; text-shadow: 0 1px 2px #000; }

.badge {
    position: absolute; top: -3px; right: -3px; background: #ff9900;
    color: #000; font-size: 0.6rem; font-weight: bold; width: 16px; height: 16px;
    border-radius: 50%; display: grid; place-items: center; border: 1px solid #fff;
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

