:root {
    --primary-green: #9ACD32;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --sidebar-bg: #2a2a2a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-dark-gray: #666666;
    --accent-yellow: #FFD700;
    --hover-green: #8BB83A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--darker-bg);
    z-index: 1000;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    background: var(--primary-green);
    border-radius: 8px;
    padding: 5px;
}

.brand-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    background: var(--sidebar-bg);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-register, .btn-login {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-register {
    background: var(--accent-yellow);
    color: #000;
}

.btn-login {
    background: var(--primary-green);
    color: var(--text-white);
}

.btn-register:hover {
    background: #FFE55C;
}

.btn-login:hover {
    background: var(--hover-green);
}

.sidebar {
    position: fixed;
    left: 0;
    top: 60px;
    width: 200px;
    height: calc(100vh - 60px);
    background: var(--sidebar-bg);
    z-index: 999;
    padding: 20px 0;
    overflow-y: auto;
}

.user-profile {
    padding: 0 20px 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.profile-icon {
    margin-bottom: 10px;
}

.login-btn {
    background: var(--primary-green);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.sidebar-nav {
    padding: 0 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-item:hover {
    background: rgba(154, 205, 50, 0.1);
}

.nav-item.active {
    background: var(--primary-green);
    color: var(--text-white);
}

.nav-item.active .nav-icon svg {
    fill: var(--text-white);
    stroke: var(--text-white);
}

.nav-icon {
    flex-shrink: 0;
}

.sidebar-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--text-dark-gray);
    font-size: 14px;
}

.main-content {
    margin-left: 200px;
    margin-top: 60px;
    padding: 20px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #7CB342 100%);
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 250px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 40px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    background: var(--accent-yellow);
    color: #000;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    background: #FFE55C;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary-green);
}

.games-section, .new-games-section {
    margin-bottom: 40px;
}

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

.section-title {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

.section-nav {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    background: var(--sidebar-bg);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-arrow:hover {
    background: var(--primary-green);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    overflow-x: auto;
}

.game-card {
    background: var(--sidebar-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(154, 205, 50, 0.3);
}

.game-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.game-title {
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: var(--text-white);
}

.content-section {
    background: var(--sidebar-bg);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
}

.content-article h1 {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.content-article h2 {
    font-size: 24px;
    color: var(--accent-yellow);
    margin: 30px 0 20px;
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
}

.content-article h3 {
    font-size: 20px;
    color: var(--text-white);
    margin: 25px 0 15px;
    font-weight: 600;
}

.content-article p {
    line-height: 1.7;
    margin-bottom: 18px;
    color: var(--text-gray);
    text-align: justify;
}

.content-article strong {
    color: var(--primary-green);
    font-weight: bold;
}

.bonus-table, .payments-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
}

.bonus-table th, .payments-table th {
    background: var(--primary-green);
    color: var(--text-white);
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

.bonus-table td, .payments-table td {
    padding: 12px;
    border-bottom: 1px solid #333;
    color: var(--text-gray);
}

.bonus-table tr:hover, .payments-table tr:hover {
    background: rgba(154, 205, 50, 0.1);
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .navbar {
        padding: 0 15px;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hero {
        height: 200px;
        margin: 15px;
    }
    
    .hero-content {
        padding: 0 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .content-section {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .content-article h1 {
        font-size: 24px;
    }
    
    .content-article h2 {
        font-size: 20px;
    }
    
    .content-article h3 {
        font-size: 18px;
    }
    
    .bonus-table, .payments-table {
        font-size: 12px;
    }
    
    .bonus-table th, .payments-table th,
    .bonus-table td, .payments-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-article h1 {
        font-size: 20px;
    }
    
    .bonus-table, .payments-table {
        font-size: 10px;
    }
    
    .bonus-table th, .payments-table th,
    .bonus-table td, .payments-table td {
        padding: 6px 4px;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .sidebar {
        z-index: 999;
    }
}