:root {
    --primary-color: #4CAF50;
    --secondary-color: #45A049;
    --dark-bg: #2C2C54;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F0F0F0;
    --gray-medium: #999999;
    --gray-dark: #333333;
    --text-primary: #212121;
    --text-secondary: #757575;
    --border-color: #E0E0E0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    background: var(--white);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-secondary);
}

.header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn-login {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-join {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-join:hover {
    background: var(--secondary-color);
}

.hero {
    background: linear-gradient(135deg, #F0F0F0 0%, #E0E0E0 100%);
    padding: 40px 0;
    margin-bottom: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hero-terms {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.hero-image {
    flex-shrink: 0;
}

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

.sticky-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 85px;
    z-index: 99;
    transition: all 0.3s ease;
}

.sticky-nav.stuck {
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-items {
    display: flex;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: var(--text-primary);
    border-bottom-color: var(--primary-color);
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--gray-light);
}

.search-section {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.search-section .container {
    display: flex;
    gap: 20px;
}

.search-bar {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--gray-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
}

.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gray-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters:hover {
    background: var(--border-color);
}

.trending-section {
    background: var(--white);
    padding: 30px 0;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.section-header span {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-right: auto;
}

.see-all {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

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

.game-info {
    padding: 15px;
}

.game-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 5px;
}

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

.main-content {
    background: var(--white);
    padding: 40px 0;
    margin-bottom: 20px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h1 {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.content-wrapper h2 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.content-wrapper h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 30px 0 15px 0;
    line-height: 1.3;
}

.content-wrapper p {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.7;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-wrapper table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.content-wrapper table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.content-wrapper table tr:last-child td {
    border-bottom: none;
}

.content-wrapper table tr:nth-child(even) {
    background: #FAFAFA;
}

.content-wrapper ol {
    margin: 20px 0;
    padding-left: 20px;
}

.content-wrapper ol li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-primary);
}

.content-wrapper ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-wrapper ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-primary);
}

.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px 0 20px 0;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
}

.footer-icon {
    font-size: 24px;
    cursor: pointer;
}

.footer-licence {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-licence p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
}

.footer-payments {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.payment-icons img {
    height: 30px;
    border-radius: 4px;
}

.footer-responsible {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.responsible-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.responsible-icons img {
    height: 30px;
    border-radius: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .nav-items {
        justify-content: center;
    }
    
    .nav-item {
        padding: 12px 15px;
    }
    
    .search-section .container {
        flex-direction: column;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .content-wrapper h1 {
        font-size: 28px;
    }
    
    .content-wrapper h2 {
        font-size: 22px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-buttons {
        gap: 10px;
    }
    
    .btn-login, .btn-join {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .games-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-wrapper h1 {
        font-size: 24px;
    }
    
    .content-wrapper h2 {
        font-size: 20px;
    }
    
    .content-wrapper h3 {
        font-size: 18px;
    }
} 

/* ========================================= */
/* СТИЛИ ДЛЯ БАННЕРА */
/* ========================================= */

/* 1. Базовый стиль для ПК */
.responsive-banner {
    width: 250px !important; 
    height: auto !important; 
    display: block !important;          
    margin: 0 auto !important;          
}

/* 2. Стиль ТОЛЬКО для мобильных (ширина экрана 768px и меньше) */
@media (max-width: 768px) {
    .responsive-banner {
        width: 100% !important; 
        max-width: 300px !important; 
        display: block !important; 
        margin: 0 auto !important; 
    }
}