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

:root {
    --color-bg-primary: #1a1d29;
    --color-bg-secondary: #252836;
    --color-bg-sidebar: #1f222e;
    --color-bg-card: #2a2d3a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #8b8d98;
    --color-accent-yellow: #f8c930;
    --color-accent-yellow-hover: #ffda44;
    --color-accent-red: #ff4757;
    --color-border: #353849;
    --color-gradient-hero: linear-gradient(135deg, #2d3250 0%, #3d4470 50%, #4a507a 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    display: flex;
    overflow-x: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background-color: var(--color-bg-sidebar);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
    z-index: 100;
}

.sidebar-logo {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
}

.logo-img {
    width: 32px;
    height: 32px;
    font-size: 32px;
}

.logo-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--color-accent-yellow);
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.nav-item:hover {
    background-color: rgba(248, 201, 48, 0.05);
    color: var(--color-text-primary);
}

.nav-item.active {
    background-color: rgba(248, 201, 48, 0.1);
    color: var(--color-accent-yellow);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--color-accent-yellow);
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-badge {
    margin-left: auto;
    background-color: var(--color-accent-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--color-border);
}

.chat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.chat-btn:hover {
    background-color: var(--color-bg-secondary);
    border-color: var(--color-accent-yellow);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.language-selector:hover {
    border-color: var(--color-accent-yellow);
}

.flag-icon {
    width: 20px;
    height: 15px;
}

.chevron {
    margin-left: auto;
    opacity: 0.6;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 260px;
    width: calc(100% - 260px);
    min-height: 100vh;
}

/* ===== TOP HEADER ===== */
.top-header {
    background-color: var(--color-bg-secondary);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    gap: 24px;
}

.jackpot-bar {
    display: flex;
    gap: 20px;
    flex: 1;
    align-items: center;
}

.jackpot-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.grand-trophy {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3a2f1f 0%, #5a4a2f 100%);
    border-radius: 8px;
    border: 1px solid rgba(248, 201, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.trophy-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent-yellow);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.trophy-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text-primary);
}

.trophy-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background-color: var(--color-accent-yellow);
    border-radius: 2px;
}

.jackpot-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.jackpot-info {
    display: flex;
    flex-direction: column;
}

.jackpot-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.jackpot-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background-color: var(--color-bg-primary);
    border-color: var(--color-accent-yellow);
    color: var(--color-text-primary);
}

.btn-login {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login:hover {
    background-color: var(--color-bg-card);
    border-color: var(--color-accent-yellow);
}

.btn-signup {
    padding: 10px 20px;
    background-color: var(--color-accent-yellow);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-signup:hover {
    background-color: var(--color-accent-yellow-hover);
    transform: translateY(-1px);
}

.btn-more-info {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-more-info:hover {
    background-color: var(--color-bg-card);
    border-color: var(--color-accent-yellow);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #2d3250;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-background {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    min-height: 500px;
}

/* Crown Container (Left) */
.crown-container {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
}

.crown-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(248, 201, 48, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.floating-coin {
    position: absolute;
    font-size: 24px;
    animation: floatCoin 3s ease-in-out infinite;
}

.coin-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.coin-2 {
    top: 60%;
    left: 5%;
    animation-delay: 1s;
}

.coin-3 {
    top: 40%;
    right: 10%;
    animation-delay: 0.5s;
}

@keyframes floatCoin {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Registration Form (Center) */
.registration-form {
    flex: 1;
    max-width: 420px;
    background-color: transparent;
    backdrop-filter: none;
    padding: 32px;
    border-radius: 16px;
    border: none;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
}

.bonus-header {
    text-align: center;
    margin-bottom: 24px;
}

.bonus-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.bonus-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.bonus-amount .highlight {
    color: var(--color-accent-yellow);
}

.bonus-spins {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-yellow);
    margin-bottom: 8px;
}

.unblock-text {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent-yellow);
    background-color: #1f222e;
}

.form-input::placeholder {
    color: var(--color-text-secondary);
}

.input-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-bg-card);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toggle-password:hover {
    color: var(--color-text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: var(--color-accent-yellow);
}

.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-accent-yellow);
}

.checkbox-label .link {
    color: var(--color-accent-yellow);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--color-accent-yellow);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.btn-submit:hover {
    background-color: var(--color-accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 201, 48, 0.4);
}

.login-link {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 16px;
}

.link-yellow {
    color: var(--color-accent-yellow);
    text-decoration: none;
    font-weight: 600;
}

.link-yellow:hover {
    text-decoration: underline;
}

/* Queen Container (Right) */
.queen-container {
    flex: 1;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.queen-image {
    width: 350px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* ===== STATS SECTION ===== */
.stats-section {
    background-color: var(--color-bg-primary);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    background-color: var(--color-bg-secondary);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--color-accent-yellow);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    background-color: rgba(248, 201, 48, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-accent-yellow);
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* ===== GAMES SECTION ===== */
.games-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-primary);
}

.view-all {
    color: var(--color-accent-yellow);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.view-all:hover {
    text-decoration: underline;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.game-card {
    background-color: var(--color-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.game-card:hover {
    border-color: var(--color-accent-yellow);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.game-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #3d4470 0%, #4a507a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.btn-play {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-accent-yellow);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-play:hover {
    background-color: var(--color-accent-yellow-hover);
    transform: scale(1.05);
    color: #000;
}

.game-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    padding: 16px 16px 8px;
}

.game-provider {
    font-size: 13px;
    color: var(--color-text-secondary);
    padding: 0 16px 16px;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content {
    background-color: var(--color-bg-primary);
    padding: 80px 20px;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.main-content-text {
    background-color: var(--color-bg-secondary);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    line-height: 1.8;
}

.main-content-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent-yellow);
    margin-bottom: 30px;
    line-height: 1.3;
}

.main-content-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.main-content-text p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.main-content-text a {
    color: var(--color-accent-yellow);
    text-decoration: underline;
    transition: all 0.2s;
}

.main-content-text a:hover {
    color: var(--color-accent-yellow-hover);
}

.main-content-text strong {
    color: var(--color-text-primary);
    font-weight: 700;
}

.disclaimer-box {
    background-color: rgba(248, 201, 48, 0.1);
    border-left: 4px solid var(--color-accent-yellow);
    padding: 20px 25px;
    margin-top: 40px;
    border-radius: 8px;
}

.disclaimer-box p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.disclaimer-box strong {
    color: var(--color-accent-yellow);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-banner {
        max-width: 100%;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .top-header {
        flex-direction: column;
        gap: 16px;
    }

    .jackpot-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .hero-banner {
        max-width: 100%;
    }

    .seo-content {
        padding: 40px 15px;
    }

    .main-content-text {
        padding: 30px 20px;
    }

    .main-content-text h2 {
        font-size: 24px;
    }

    .main-content-text h3 {
        font-size: 20px;
        margin-top: 30px;
    }

    .main-content-text p {
        font-size: 15px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
}
