
/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --color-bg-body: #121212;
    --color-bg-card: #1e1e1e;
    --color-bg-header: #0f0f0f;
    --color-bg-footer: #0a0a0a;
    
    --color-primary: #ff4500; /* Orange Red */
    --color-primary-dark: #cc3700;
    --color-accent: #ffd700; /* Gold */
    --color-secondary: #2a2a2a;
    
    --color-text-main: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-text-light: #ffffff;
    
    --gradient-main: linear-gradient(135deg, #ff4500 0%, #ff8c00 100%);
    --gradient-hover: linear-gradient(135deg, #ff8c00 0%, #ff4500 100%);
    --gradient-gold: linear-gradient(to bottom, #fbf5b7 0%, #bf953f 50%, #b38728 51%, #fbf5b7 100%);

    /* Typography */
    --font-main: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing & Sizes */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --container-width: 1200px;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 15px rgba(255, 69, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   2. UTILITIES & GRID (Bootstrap-ish)
   ========================================= */
.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;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

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

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

.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%; }

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

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

/* Utility Spacers */
.pt-5 { padding-top: 1.5rem !important; }
.pt-10 { padding-top: 0.625rem !important; }
.pb-10 { padding-bottom: 0.625rem !important; }
.pt-15 { padding-top: 1rem !important; }
.pb-15 { padding-bottom: 1rem !important; }
.pt-20 { padding-top: 1.25rem !important; }
.pb-20 { padding-bottom: 1.25rem !important; }
.pb-30 { padding-bottom: 2rem !important; }

.text-center { text-align: center !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.d-none { display: none !important; }
.d-inline-block { display: inline-block !important; }

/* =========================================
   3. BUTTONS & UI ELEMENTS
   ========================================= */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-defolt {
    background: var(--color-secondary);
    color: var(--color-text-light);
    border: 1px solid #444;
}

.btn-defolt:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-regist {
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow);
}

.btn-regist:hover {
    background: var(--gradient-hover);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
}

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

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

.btn-game-color {
    background: var(--color-primary);
    color: white;
    width: 200px;
}

/* =========================================
   4. HEADER
   ========================================= */
.heder {
    background-color: var(--color-bg-header);
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.logo {
    display: inline-block;
    width: 150px;
    height: 50px;
    background: url('https://dummyimage.com/150x50/ff4500/fff&text=AZINO777') no-repeat center;
    background-size: contain;
}

/* Mobile Menu Toggle */
.open-menu {
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    margin-left: 10px;
    position: relative;
    vertical-align: middle;
}

.open-menu::before {
    content: "☰";
    color: white;
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* =========================================
   5. BANNERS & PROMO
   ========================================= */
.pre-header-dovnload {
    background: linear-gradient(90deg, #232323 0%, #303030 100%);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #333;
}

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

.button_pp {
    display: block;
    width: 120px;
    height: 40px;
    background: var(--color-primary);
    border-radius: var(--border-radius-sm);
    position: relative;
}
.button_pp::after {
    content: "Скачать";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Navigation Bar */
.navigation {
    background: var(--color-bg-card);
    margin-top: 1rem;
}

.navigation-bg {
    background: #252525;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    padding: 0.5rem 0;
}

.navigation .item a {
    display: block;
    padding: 1rem;
    text-align: center;
    color: var(--color-text-main);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-right: 1px solid #333;
}

.navigation .item:last-child a {
    border-right: none;
}

.navigation .item a:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   6. JACKPOT SECTION
   ========================================= */
.main_menu_winners {
    margin-top: 2rem;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMWExYTFhIi8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiMyMzIzMjMiLz4KPC9zdmc+') repeat;
    padding: 2rem 0;
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    position: relative;
}

.main_menu_winners-call {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.cifra {
    background: linear-gradient(to bottom, #333 0%, #000 100%);
    color: var(--color-accent);
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    padding: 0.5rem 0.2rem;
    border-radius: 4px;
    width: 40px;
    text-align: center;
    border: 1px solid #444;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.brecpoint {
    color: var(--color-accent);
    font-size: 2rem;
    line-height: 2rem;
    padding: 0.5rem 0;
}

/* =========================================
   7. GAMES GRID
   ========================================= */
.games_list {
    margin-top: 2rem;
}

.games_list .item {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.games_list .item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255,69,0,0.1) 0%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: var(--transition-fast);
}

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

.games_list .item:hover::before {
    opacity: 1;
}

/* Placeholder for missing game images */
.games_list .item .title {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-light);
    z-index: 2;
    position: relative;
    min-height: 80px; /* Space for image */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #252525;
    border-radius: var(--border-radius-md);
}

.games_list .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem;
    z-index: 2;
    position: relative;
}

.plau-game {
    background: var(--color-primary);
    color: white;
    border: none;
}
.plau-game:hover {
    background: var(--color-primary-dark);
}

.plau-demo {
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
}
.plau-demo:hover {
    border-color: var(--color-text-light);
    color: var(--color-text-light);
}

/* =========================================
   8. MAIN CONTENT & TYPOGRAPHY
   ========================================= */
.main_content {
    padding: 2rem 0;
    color: var(--color-text-main);
}

h1, h2, h3 {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    background: -webkit-linear-gradient(#fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.8rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.7;
}

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

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

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

table tr:first-child td {
    background: #2c2c2c;
    font-weight: bold;
    color: var(--color-primary);
}

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

table tr:hover td {
    background: #252525;
}

/* Subscribe Form */
.content-form {
    background: var(--gradient-main);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.content-form .h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

#faq .item {
    background: var(--color-bg-card);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid #333;
}

#faq .question {
    display: block;
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-light);
    background: #252525;
    transition: background 0.3s;
    position: relative;
}

#faq .question:hover {
    background: #303030;
    color: var(--color-primary);
}

#faq .answer {
    padding: 1.5rem;
    color: var(--color-text-main);
    border-top: 1px solid #333;
    background: #1e1e1e;
}

#faq .question.hide + .answer {
    display: none;
}
/* Simulate hide toggle visually if JS fails */
#faq .answer.hide {
    display: none;
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    background-color: var(--color-bg-footer);
    color: var(--color-text-muted);
    padding-top: 3rem;
    border-top: 1px solid #222;
    font-size: 0.9rem;
}

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

.footer a {
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer .title {
    color: var(--color-text-light);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-content {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* =========================================
   11. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 991px) {
    .navigation .item {
        margin-bottom: 0.5rem;
    }
    .navigation .item a {
        border-right: none;
        background: #2a2a2a;
        border-radius: var(--border-radius-sm);
    }
    .cifra {
        font-size: 1.2rem;
        width: 25px;
    }
    .brecpoint {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .pre-header-dovnload {
        flex-direction: column;
        text-align: center;
    }
    .pre-header-dovnload .text-box {
        margin-bottom: 1rem;
    }
    .main_menu_winners-call {
        flex-wrap: wrap;
    }
    .games_list .item {
        min-height: auto;
    }
    h1 {
        font-size: 1.8rem;
    }
    table {
        display: block;
        overflow-x: auto;
    }
    .logo {
        width: 120px;
    }
}
