
:root {
    /* Основная цветовая палитра */
    --color-bg-body: #0f1115;
    --color-bg-card: #1a1d24;
    --color-bg-header: #14161b;
    --color-bg-footer: #0a0b0e;
    
    --color-primary: #ffc107; /* Золотой акцент */
    --color-primary-hover: #ffdb4d;
    --color-secondary: #e53935; /* Красный акцент для кнопок */
    --color-secondary-hover: #ff5252;
    --color-accent-green: #43a047;
    --color-accent-purple: #7e57c2;

    --color-text-main: #e0e0e0;
    --color-text-muted: #9e9e9e;
    --color-text-dark: #121212;

    /* Размеры и отступы */
    --container-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Тени и Эффекты */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --gradient-gold: linear-gradient(135deg, #ffd700, #fdb931);
    --gradient-fire: linear-gradient(135deg, #ff5f6d, #ffc371);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Arial', sans-serif;
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 3vw, 2rem); margin-top: 2rem; color: var(--color-primary); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Buttons --- */
button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-reg, .btn-green {
    background: var(--color-accent-green);
    color: white;
    box-shadow: 0 4px 0 #2e7d32;
}
.btn-reg:hover, .btn-green:hover { background: #4caf50; transform: translateY(-2px); box-shadow: 0 6px 0 #2e7d32; }
.btn-reg:active, .btn-green:active { transform: translateY(2px); box-shadow: 0 2px 0 #2e7d32; }

.btn-enter {
    background: #37474f;
    color: white;
    box-shadow: 0 4px 0 #263238;
}
.btn-enter:hover { background: #455a64; }

.btn-yellow, .banner-btn {
    background: var(--gradient-gold);
    color: var(--color-text-dark);
    font-weight: 800;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}
.btn-yellow:hover, .banner-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    transform: scale(1.05);
}

.cta-btn--violet {
    background: var(--color-accent-purple);
    color: white;
}
.cta-btn--violet:hover { background: #9575cd; }

/* --- Header --- */
.header {
    background-color: var(--color-bg-header);
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

/* Top Menu */
.header-top__menu {
    background: #000;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-top__menu a { color: var(--color-text-muted); }
.header-top__menu a:hover { color: var(--color-primary); }

/* Header Top Main */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.site-logo img {
    max-height: 60px;
    filter: drop-shadow(0 0 10px rgba(255,0,0,0.5));
}

.user-bar {
    display: flex;
    gap: 1rem;
}

/* Mobile Nav Toggle */
.mob-nav-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.mob-nav-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}
.mob-navigation { display: none; } /* Hidden by default, JS would toggle */

/* Main Navigation */
.main-navigation {
    background: linear-gradient(to bottom, #2c3e50, #1a252f);
    border-top: 1px solid #34495e;
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.05);
}

.main-navigation a:hover {
    background: var(--color-secondary);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.3);
}

.icon {
    font-size: 1.2rem;
    color: var(--color-primary);
}

/* --- Banners --- */
.header-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.banner-item {
    position: relative;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.05);
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.4;
    transition: transform 0.5s ease;
    z-index: 0;
}
.banner-item:hover .banner-img { transform: scale(1.1); opacity: 0.6; }

.banner-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
}
.banner-text.text-left { font-size: 1.2rem; color: #fff; }
.banner-text.text-right { font-size: 1.5rem; color: var(--color-primary); }

.banner-item .banner-btn {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin-top: auto;
}

/* --- Counters (Jackpot/Winners) --- */
.header-counters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.winners, .jp-container {
    background: #000;
    border: 1px solid #333;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.counter-container {
    display: flex;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--color-primary);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.count {
    background: #222;
    padding: 0 4px;
    margin: 0 1px;
    border-radius: 2px;
    border: 1px solid #444;
}

/* --- Main Content Area --- */
.main {
    padding: 2rem 0;
}

/* Slot Grid */
.slots-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.slot-item {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
}

.slot-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(255,255,255,0.1);
}

.slot-logo {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.slot-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slot-item:hover .slot-logo img {
    transform: scale(1.1);
    filter: blur(2px);
}

.btns-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.slot-item:hover .btns-wrap { opacity: 1; }

.btn-play {
    background: var(--color-secondary);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}
.btn-play:hover { background: var(--color-secondary-hover); }

.slot-name {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-main);
    background: #232730;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Content Text & Typography --- */
.content-text {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.content-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255,255,255,0.02);
}

.content-text td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.content-text tr:hover td { background: rgba(255,255,255,0.05); }

blockquote {
    border-left: 4px solid var(--color-primary);
    background: rgba(255, 193, 7, 0.1);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
}

/* --- Forms (Subscribe) --- */
.content-form {
    background: linear-gradient(to right, #2c3e50, #4ca1af);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    margin: 2rem 0;
    text-align: center;
}

.form-box {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 600px;
    margin: 1rem auto 0;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius-sm);
    background: #fff;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* --- Info Blocks --- */
.info-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-block__item {
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform var(--transition-fast);
}

.info-block__item:hover { transform: translateY(-3px); background: rgba(255,255,255,0.05); }

.info-block__img {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}
.info-block__img img { width: 100%; height: 100%; }

.info-block__title h3 {
    color: var(--color-primary);
    margin-top: 0;
    font-size: 1.1rem;
}

/* --- Top 4 Bonus Block --- */
.top4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.top4__item {
    background: #252830;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    text-align: center;
}

.top4__logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top4__logo img { width: 60%; }

.top4__content .h3 {
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* --- Call to Action (CTA) --- */
.cta {
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}
.cta--v1 { background: var(--gradient-fire); color: #fff; }
.cta--v2 { background: var(--gradient-gold); color: #121212; }

.cta__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.cta__text { font-size: 1.1rem; margin-bottom: 1.5rem; }

/* --- Two Columns Layout --- */
.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0;
}
.two-columns__item { flex: 1 1 300px; }

/* --- FAQ Accordion --- */
.accord-block {
    background: rgba(255,255,255,0.03);
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.accord-block-header {
    padding: 1rem;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    transition: background var(--transition-fast);
}

.accord-block-header:hover { background: rgba(255,255,255,0.1); }
.accord-block-header h3 { margin: 0; font-size: 1rem; color: #fff; }

.accord-block-content {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-bg-footer);
    padding-top: 3rem;
    border-top: 3px solid var(--color-primary);
    margin-top: 4rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #222;
}

.payments__item img {
    height: 30px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.payments__item:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.1); }

.footer__icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer__text {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.footer__text a { color: var(--color-primary); }

/* --- Side Block (Sticky) --- */
.side_block {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 90;
    display: none; /* Hide on mobile by default */
}

@media (min-width: 1400px) {
    .side_block { display: flex; }
}

.side_block_item {
    position: relative;
    width: 80px;
    height: 60px;
    padding: 0;
    border: 2px solid #333;
    overflow: hidden;
    transition: width var(--transition-fast);
}
.side_block_item img { width: 100%; height: 100%; object-fit: cover; }

.side_block_item:hover { width: 120px; border-color: var(--color-primary); }

.side_block_item_hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    color: var(--color-primary);
    font-weight: bold;
}
.side_block_item:hover .side_block_item_hover { opacity: 1; }

/* --- Table of Contents --- */
.toc_container {
    background: #1e2229;
    border: 1px solid #333;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.toc_title {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
}
.toc_list { padding-left: 1.5rem; margin-top: 1rem; }
.toc_list li { margin-bottom: 0.5rem; }
.toc_list span { border-bottom: 1px dashed #666; cursor: pointer; }
.toc_list span:hover { color: var(--color-primary); border-bottom-style: solid; }

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    :root { --container-width: 100%; }
    .header-banners { grid-template-columns: 1fr; }
    .banner-img { opacity: 0.2; }
}

@media (max-width: 768px) {
    .header-top { padding: 1rem; }
    .header-top__menu { display: none; }
    
    .mob-nav-btn { display: flex; }
    
    .main-navigation ul {
        flex-direction: column;
        display: none; /* In real scenario, toggled via JS */
    }
    .main-navigation.active ul { display: flex; }

    .slots-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .form-box { flex-direction: column; }
    
    .user-bar .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .header-counters {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .winners, .jp-container {
        width: 100%;
        min-width: auto;
    }
    
    .two-columns { flex-direction: column; }
}

@media (max-width: 480px) {
    .slots-list { grid-template-columns: 1fr; }
    .site-logo img { max-height: 40px; }
    h1 { font-size: 1.5rem; }
}
