
/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --bg-body: #0f1219;
    --bg-surface: #1a202c;
    --bg-surface-hover: #232b3a;
    --bg-darker: #080a0e;
    
    --primary: #ff4500; /* Fiery Orange */
    --primary-hover: #ff6a00;
    --secondary: #00d2ff; /* Cyber Blue */
    --accent: #ffd700; /* Gold */
    --success: #28a745;
    
    --text-main: #f0f4f8;
    --text-muted: #8899a6;
    --text-dark: #121212;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #ff4500 0%, #ff8800 100%);
    --grad-gold: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    --grad-dark: linear-gradient(to bottom, #1a202c, #131720);

    /* Spacing & Sizes */
    --spacer: 1rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* 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, 69, 0, 0.4);

    /* Typography */
    --font-main: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* =========================================
   2. CUSTOM GRID SYSTEM (Bootstrap-like simulation)
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

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

[class^="col-"], .col {
    position: relative;
    width: 100%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

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

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.text-center { text-align: center; }

/* Desktop Grid overrides */
@media (min-width: 768px) {
    .col-md-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .text-md-left { text-align: left; }
    .text-md-right { text-align: right; }
    .d-md-block { display: block !important; }
    .pb-md-0 { padding-bottom: 0 !important; }
    .pt-md-0 { padding-top: 0 !important; }
}

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

/* Helpers */
.d-none { display: none !important; }
.d-inline-block { display: inline-block !important; }
.pt-5 { padding-top: 0.5rem; }
.pt-10 { padding-top: 1rem; }
.pt-15 { padding-top: 1.5rem; }
.pt-20 { padding-top: 2rem; }
.pb-10 { padding-bottom: 1rem; }
.pb-15 { padding-bottom: 1.5rem; }
.pb-20 { padding-bottom: 2rem; }
.pb-30 { padding-bottom: 3rem; }

/* =========================================
   3. HEADER & NAV
   ========================================= */
.heder {
    background: rgba(15, 18, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.logo {
    display: inline-block;
    width: 180px;
    height: 50px;
    background: url('path/to/logo.png') no-repeat center/contain; /* Fallback styles below */
    background-color: transparent;
    position: relative;
}
/* Logo Placeholder styling since image is missing */
.logo::before {
    content: "AZINO777";
    font-size: 2rem;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn:active {
    transform: translateY(0);
}

.btn-regist {
    background: var(--grad-primary);
    color: white;
}

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

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

.open-menu {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}
.open-menu::after {
    content: "☰";
    font-size: 1.5rem;
    color: var(--text-main);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Main Navigation */
.navigation {
    background: var(--bg-surface);
    border-bottom: 2px solid var(--primary);
    margin-bottom: 2rem;
}

.navigation-bg .item {
    text-align: center;
}

.navigation-bg .item a {
    display: block;
    padding: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.navigation-bg .item a:hover,
.navigation-bg .item a.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.navigation-bg .item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navigation-bg .item a:hover::after {
    transform: scaleX(1);
}

/* =========================================
   4. PROMO BANNERS & SLIDERS
   ========================================= */
.pre-header-dovnload {
    background: var(--grad-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .pre-header-dovnload {
        flex-direction: row;
        text-align: left;
    }
}

.pre-header-dovnload .text-box {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .pre-header-dovnload .text-box { margin-bottom: 0; margin-right: 1rem; }
}

.button_pp {
    background: var(--secondary);
    color: var(--bg-darker);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}
.button_pp::before { content: "Скачать"; } /* Placeholder text */
.pre-header-dovnload-v2 .button_pp::before { content: "Telegram"; }

.baner {
    margin-bottom: 2rem;
}
.owl-baner .item {
    background: var(--bg-surface);
    height: 300px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Placeholder for banner image */
    background: linear-gradient(45deg, #2b1055, #7597de); 
}
.owl-baner .item::after {
    content: "Banner Area";
    font-size: 2rem;
    opacity: 0.3;
    font-weight: 900;
}

/* =========================================
   5. WINNERS / JACKPOT
   ========================================= */
.main_menu_winners {
    background: radial-gradient(circle at center, #2a1a38 0%, #0f1219 100%);
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem;
}

.main_menu_winners-call {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: clamp(1.5rem, 4vw, 3rem);
}

.cifra {
    background: #000;
    border: 1px solid #333;
    padding: 0.1em 0.2em;
    margin: 0 0.05em;
    border-radius: 4px;
    min-width: 0.6em;
    text-align: center;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.1);
}
/* Simulate numbers for empty divs */
.cifra::before { content: "7"; } 

.brecpoint, .valuta {
    margin: 0 0.1em;
    color: var(--text-muted);
}
.rubeli::before { content: "₽"; }

/* =========================================
   6. GAMES GRID
   ========================================= */
.games_list {
    margin-bottom: 3rem;
}

.games_list .item {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    height: 100%;
}

.games_list .item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--primary);
    z-index: 2;
}

/* Image Placeholder for games */
.games_list .item::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background: #252e3d;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23344050' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.games_list .item .title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.games_list .item .btn {
    width: 100%;
    margin: 0.25rem 0;
    font-size: 0.8rem;
    padding: 0.5rem;
}

.plau-game {
    background: var(--success);
    color: white;
}
.plau-game:hover {
    background: #218838;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
}

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

.btn-game-color {
    background: var(--bg-surface-hover);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 200px;
}

/* =========================================
   7. MAIN CONTENT & TYPOGRAPHY
   ========================================= */
.main_content {
    color: var(--text-muted);
    padding-bottom: 3rem;
}

.main_content h1, 
.main_content h2, 
.main_content h3 {
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.main_content h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.main_content p {
    margin-bottom: 1.5rem;
}

.main_content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.main_content a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.main_content blockquote {
    background: rgba(255, 69, 0, 0.05);
    border-left: 4px solid var(--primary);
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-main);
}

.main_content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.main_content ul li {
    margin-bottom: 0.5rem;
}

/* Tables */
.main_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.main_content table td, 
.main_content table th {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: top;
}

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

.main_content table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.main_content table td:first-child {
    font-weight: 700;
    color: var(--text-main);
    width: 30%;
}

/* =========================================
   8. FORMS (Subscribe)
   ========================================= */
.content-form {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    border: 1px solid var(--primary);
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.content-form .h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.form-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

@media (min-width: 768px) {
    .form-box {
        flex-direction: row;
    }
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--bg-body);
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

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

.btn-submit, .btn-green {
    background: var(--success);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-green:hover {
    background: #218838;
}

/* =========================================
   9. FAQ SECTION
   ========================================= */
#faq {
    margin-top: 4rem;
}

#faq .item {
    background: var(--bg-surface);
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

#faq .question {
    display: block;
    padding: 1.2rem;
    cursor: pointer;
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    padding-right: 3rem;
    background: rgba(255,255,255,0.02);
    transition: background 0.3s;
}

#faq .question:hover {
    background: rgba(255,255,255,0.05);
}

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

#faq .answer {
    padding: 1.5rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: block; /* JS toggles class 'hide' */
}
#faq .answer.hide {
    display: none;
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    background: var(--bg-darker);
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

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

.footer .title a {
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    display: block;
    margin-bottom: 1rem;
}

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

.footer-content {
    font-size: 0.8rem;
    opacity: 0.6;
    line-height: 1.4;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}
