
:root {
    /* Colors */
    --color-bg-body: #0b0f19;
    --color-bg-card: #151a27;
    --color-bg-card-hover: #1c2333;
    --color-primary: #ff5f00;
    --color-primary-hover: #ff7b00;
    --color-secondary: #00d2ff;
    --color-accent-green: #2ecc71;
    --color-accent-gold: #ffd700;
    --color-text-main: #eef2f6;
    --color-text-muted: #8b9bb4;
    --color-border: #2a3449;

    /* Gradients */
    --gradient-fire: linear-gradient(135deg, #ff9900 0%, #ff5e00 100%);
    --gradient-dark: linear-gradient(to bottom, #151a27, #0b0f19);
    --gradient-gold: linear-gradient(45deg, #ffd700, #fdb931);
    
    /* Spacing & Sizing */
    --spacer: 1rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 15px rgba(255, 94, 0, 0.4);
}

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Utility Grid System (Mimicking Bootstrap classes found in HTML) */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    position: relative;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.d-none { display: none; }
.d-inline-block { display: inline-block; }
.pt-5 { padding-top: 0.3125rem; }
.pt-10 { padding-top: 0.625rem; }
.pt-20 { padding-top: 1.25rem; }
.pb-10 { padding-bottom: 0.625rem; }
.pb-20 { padding-bottom: 1.25rem; }
.pb-30 { padding-bottom: 1.875rem; }

/* Grid Responsive Logic */
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }

@media (min-width: 768px) {
    .d-md-block { display: block; }
    .col-md-4 { flex: 0 0 33.33333%; max-width: 33.33333%; }
    .col-md-auto { flex: 0 0 auto; width: auto; }
    .text-md-left { text-align: left; }
    .text-md-right { text-align: right; }
}

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

/* Header Styles */
.heder {
    background: rgba(21, 26, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header_navigation2 {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.header_navigation2 a {
    color: var(--color-text-muted);
    font-weight: 500;
    position: relative;
}

.header_navigation2 a:hover {
    color: var(--color-secondary);
}

.logo {
    display: block;
    width: 180px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60'%3E%3Ctext x='10' y='45' font-family='Arial, sans-serif' font-size='40' font-weight='bold' fill='%23ff5f00' stroke='%23fff' stroke-width='1'%3EAzino777%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    margin: 0.25rem;
    text-align: center;
}

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

.btn-defolt:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 94, 0, 0.6);
    filter: brightness(1.1);
}

.btn-regist {
    animation: pulse 2s infinite;
}

.btn-voiti {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

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

.open-menu {
    width: 40px;
    height: 40px;
    background: var(--color-bg-card);
    position: relative;
    border: 1px solid var(--color-border);
}

.open-menu::before {
    content: "☰";
    font-size: 1.5rem;
    color: var(--color-text-main);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Pre-header Downloads */
.pre-header-dovnload {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pre-header-dovnload .text-box {
    font-weight: 500;
    color: var(--color-secondary);
}

.button_pp {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--color-text-muted);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-6-6h4V4h4v6h4z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-6-6h4V4h4v6h4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 70%;
    transition: background-color 0.3s;
}

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

/* Navigation Bar */
.navigation {
    margin-bottom: 2rem;
}

.navigation-bg {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.navigation .item {
    padding: 0;
}

.navigation a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
}

.navigation a:hover,
.navigation .item.activ a {
    background: var(--color-bg-card-hover);
    color: var(--color-primary);
    box-shadow: inset 0 -2px 0 var(--color-primary);
}

/* Banner / Carousel Placeholder */
.baner {
    margin-bottom: 2rem;
}
.owl-carousel .item {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), 
                url('data:image/svg+xml,%3Csvg width="800" height="400" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="100%25" height="100%25" fill="%232a3449"/%3E%3Ctext x="50%25" y="50%25" dominant-baseline="middle" text-anchor="middle" font-family="sans-serif" font-size="24" fill="%23445566"%3EBANNER IMAGE%3C/text%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    height: 300px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Winners Ticker */
.main_menu_winners {
    background: var(--gradient-dark);
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: 2rem 0;
}

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

.cifra {
    background: #000;
    color: var(--color-accent-gold);
    padding: 0.2rem 0.4rem;
    margin: 0 1px;
    border-radius: 2px;
    border: 1px solid #333;
    min-width: 1.5rem;
    text-align: center;
}

.cifra::before {
    content: "7"; /* Placeholder number since JS is missing */
}

.valuta.rubeli::before {
    content: "₽";
}

/* Game Grid */
.games_list {
    padding: 2rem 0;
}

.games_list .item {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    padding-bottom: 1rem;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    border: 1px solid var(--color-border);
    height: 100%;
}

.games_list .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--color-primary);
}

.games_list .item::before {
    /* Placeholder for game image */
    content: "";
    display: block;
    padding-top: 60%; /* Aspect ratio */
    background: linear-gradient(135deg, #2a3449, #151a27);
    margin-bottom: 1rem;
}

.games_list .title {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.games_list .btn {
    width: calc(50% - 0.5rem);
    padding: 0.5em;
    font-size: 0.75rem;
}

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

.games_list .plau-demo:hover {
    background: var(--color-text-muted);
    color: var(--color-bg-body);
}

.btn-game-color {
    background: var(--color-bg-card);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 1rem 3rem;
}

/* Main Content Typography */
.main_content {
    background: var(--color-bg-card);
    padding: 3rem 0;
    margin-top: 3rem;
}

.main_content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    line-height: 1.2;
}

.main_content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    border-left: 4px solid var(--color-secondary);
    padding-left: 1rem;
}

.main_content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    color: var(--color-text-main);
}

.main_content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.main_content ul, .main_content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.main_content li {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    position: relative;
}

.main_content ul li::before {
    content: "•";
    color: var(--color-primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

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

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
    background: var(--color-bg-body);
    border-radius: var(--radius-md);
    overflow: hidden;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

table tr:first-child td {
    background: var(--color-bg-card-hover);
    font-weight: bold;
    color: var(--color-text-main);
}

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

table td:first-child {
    font-weight: 600;
    color: var(--color-text-main);
    width: 40%;
}

/* Forms */
.content-form {
    background: linear-gradient(135deg, #1c2333 0%, #0e121b 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

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

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

.btn-green {
    background: var(--color-accent-green);
    width: 100%;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

.btn-green:hover {
    background: #27ae60;
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.6);
}

/* FAQ Section */
#faq {
    margin-top: 3rem;
}

#faq .item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.question {
    display: block;
    cursor: pointer;
    padding: 1rem 0;
    color: var(--color-text-main);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.question:hover {
    color: var(--color-primary);
}

.answer {
    padding-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* Footer */
.footer {
    background: #000;
    color: var(--color-text-muted);
    padding: 3rem 0;
    font-size: 0.875rem;
    border-top: 2px solid var(--color-primary);
}

.footer a {
    color: var(--color-text-main);
}

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

.footer span {
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

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

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

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

/* Mobile Tweaks */
@media (max-width: 768px) {
    .header_navigation2 {
        display: none;
    }
    
    .heder {
        padding: 0.5rem 0;
    }
    
    .navigation-bg {
        flex-direction: column;
    }
    
    .games_list .item::before {
        padding-top: 80%;
    }
    
    .main_menu_winners-call {
        font-size: 1rem;
    }
    
    .cifra {
        min-width: 1rem;
        padding: 0.1rem 0.2rem;
        font-size: 0.8rem;
    }
    
    table td {
        display: block;
        width: 100%;
    }
    
    table td:first-child {
        background: var(--color-bg-card-hover);
        color: var(--color-primary);
    }
}
