
:root {
    /* Цветовая палитра */
    --primary-color: #ff3d00;
    --primary-hover: #ff6e40;
    --secondary-color: #2a2a2a;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-gold: #ffd700;
    --accent-green: #00e676;
    --gradient-fire: linear-gradient(135deg, #ff3d00 0%, #ff9100 100%);
    --gradient-dark: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    
    /* Размеры и отступы */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    --border-radius-sm: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Тени */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px rgba(255, 61, 0, 0.4);

    /* Типографика */
    --font-main: 'Roboto', system-ui, -apple-system, sans-serif;
}

/* Сброс и базовые стили */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Утилитарные классы и сетка */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing-md) * -1);
}

[class*="col-"] {
    padding: 0 var(--spacing-md);
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
.heder {
    background: var(--secondary-color);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 100;
}

.header_navigation2 {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.header_navigation2 a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header_navigation2 a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 61, 0, 0.3);
}

.logo {
    display: block;
    width: 180px;
    height: 60px;
    background: url('../img/logo.png') no-repeat center/contain; /* Предполагаемый путь */
    background-color: var(--secondary-color); /* Fallback */
    border-radius: var(--border-radius-sm);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: transform 0.2s, box-shadow 0.3s;
    text-align: center;
}

.btn:active {
    transform: scale(0.95);
}

.btn-defolt {
    background: var(--gradient-fire);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-defolt:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff6e40 0%, #ffab40 100%);
}

.btn-regist {
    margin-right: var(--spacing-sm);
}

.btn-game-color {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-top: var(--spacing-lg);
}

.btn-game-color:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Баннеры и уведомления */
.pre-header-dovnload {
    background: linear-gradient(90deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.pre-header-dovnload .text-box {
    font-size: 0.9rem;
    color: var(--text-main);
}

.button_pp {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button_pp::after {
    content: '→';
    color: white;
    font-weight: bold;
}

/* Навигация контента */
.navigation-bg {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    display: flex;
    margin-bottom: var(--spacing-lg);
}

.navigation .item {
    text-align: center;
    padding: var(--spacing-sm);
}

.navigation a {
    color: var(--text-main);
    font-weight: 600;
    padding: 0.5em 1em;
    display: block;
    border-radius: var(--border-radius-sm);
}

.navigation .item.activ a, 
.navigation a:hover {
    background: rgba(255, 61, 0, 0.1);
    color: var(--primary-color);
}

/* Слайдер и баннеры */
.owl-baner .item {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    height: 300px; /* Placeholder height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Табло победителей */
.main_menu_winners {
    background: var(--gradient-dark);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: var(--spacing-xl);
}

.main_menu_winners-call {
    display: flex;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.cifra {
    padding: 0 2px;
}

/* Сетка игр */
.games_list {
    margin-bottom: var(--spacing-xl);
}

.games_list .item {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    justify-content: flex-end;
}

/* Имитация обложки игры */
.games_list .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.games_list .item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.games_list .title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.plau-game, .plau-demo {
    position: relative;
    z-index: 2;
    margin: 5px;
    font-size: 0.75rem;
    padding: 0.5em 1em;
}

.plau-demo {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.plau-demo:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
    transform: none;
}

/* Контентная часть */
.main_content {
    background: var(--bg-card);
    padding: var(--spacing-xl) 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.main_content h1, 
.main_content h2, 
.main_content h3 {
    color: #fff;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.main_content h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    background: -webkit-linear-gradient(var(--accent-gold), #ff9100);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main_content h2 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-sm);
}

.main_content p, 
.main_content ul, 
.main_content li {
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.main_content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.main_content a:hover {
    color: var(--accent-gold);
}

blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-gold);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* FAQ */
#faq {
    margin-top: var(--spacing-xl);
}

#faq .item {
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

#faq .question {
    display: block;
    padding: var(--spacing-md);
    background: var(--secondary-color);
    cursor: pointer;
    position: relative;
    padding-right: 3rem;
    transition: background 0.3s;
}

#faq .question:hover {
    background: #333;
}

#faq .question::after {
    content: '+';
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

#faq .answer {
    padding: var(--spacing-md);
    border-top: 1px solid #333;
    display: block; /* По умолчанию показываем, JS скроет */
}

#faq .question.hide + .answer, 
#faq .answer.hide {
    display: none;
}

/* Footer */
.footer {
    background: #000;
    padding: var(--spacing-xl) 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

.footer span {
    color: var(--primary-color);
    font-weight: 700;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Адаптивность и сетка колонок */
.col-12 { width: 100%; }
.col-6 { width: 50%; }

@media (min-width: 768px) {
    .d-none { display: none !important; }
    .d-md-block { display: block !important; }
    .col-md-4 { width: 33.333%; }
    .text-md-left { text-align: left; }
    .text-md-right { text-align: right; }
    
    .row {
        align-items: center;
    }
    
    .pre-header-dovnload-mobail {
        display: none;
    }
}

@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-none { display: none !important; }
    .col-lg-3 { width: 25%; }
    .col-lg-auto { width: auto; }
}

@media (max-width: 767px) {
    .heder .row {
        flex-direction: column;
        text-align: center;
    }
    
    .header_navigation2 {
        display: none; /* Скрываем верхнее меню на моб */
    }
    
    .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
        display: block;
    }
    
    .navigation-bg {
        flex-direction: column;
    }
    
    .col-6 { width: 100%; } /* Игры в 1 колонку на совсем маленьких, можно оставить 50% */
    
    .pre-header-dovnload-pk {
        display: none;
    }
    
    .main_menu_winners-call {
        font-size: 1rem;
    }
}

/* Forms (стилизация элементов форм, если они будут добавлены динамически) */
input[type="text"], 
input[type="email"], 
input[type="password"] {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: var(--border-radius-sm);
    color: #fff;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.games_list .item {
    animation: fadeIn 0.5s ease-out forwards;
}
