
/* =========================================
   1. Reset & Variables
   ========================================= */
:root {
    /* Colors */
    --bg-body: #0f0c15;
    --bg-secondary: #161221;
    --bg-card: #231e33;
    --bg-input: #1a1626;
    
    --text-main: #ffffff;
    --text-secondary: #aeb4c6;
    --text-muted: #6c7080;
    
    --accent-primary: #ff3d00;
    --accent-secondary: #ff9100;
    --gradient-fire: linear-gradient(135deg, #ff3d00 0%, #ff9100 100%);
    --gradient-purple: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
    --gradient-dark: linear-gradient(to bottom, #231e33, #161221);

    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Spacing & Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    
    /* Typography */
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-size-base: 1rem;
}

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

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

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

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

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

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

/* =========================================
   2. Grid System (Bootstrap-like emulation)
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

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

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

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

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

/* Utilities */
.d-none { display: none !important; }
.d-inline-block { display: inline-block !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; }
.pt-10 { padding-top: 0.625rem; }
.pb-10 { padding-bottom: 0.625rem; }
.pt-20 { padding-top: 1.25rem; }
.pb-20 { padding-bottom: 1.25rem; }
.pt-5 { padding-top: 3rem; }
.mt-15 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

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

.logo {
    display: inline-block;
    width: 150px;
    height: 50px;
    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' font-weight='bold' font-size='40' fill='%23ff3d00'%3EAZINO%3C/text%3E%3Ctext x='135' y='45' font-family='Arial' font-weight='bold' font-size='40' fill='%23fff'%3E777%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0.25rem;
}

.btn-defolt {
    background: var(--gradient-fire);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 61, 0, 0.3);
}

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

.btn-regist {
    background: var(--gradient-fire);
    animation: pulse 2s infinite;
}

.btn-voiti {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.btn-voiti:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 61, 0, 0.1);
    color: var(--accent-primary);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 61, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0); }
}

/* =========================================
   4. Navigation
   ========================================= */
.navigation {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.navigation-bg {
    display: flex;
    justify-content: center;
}

.navigation .item a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    position: relative;
}

.navigation .item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navigation .item a:hover {
    color: var(--text-main);
}

.navigation .item a:hover::after {
    width: 100%;
}

/* =========================================
   5. Banner (Owl Carousel Mockup)
   ========================================= */
.baner {
    background: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%231f1b2d" fill-rule="evenodd"%3E%3Cpath d="M0 40L40 0H20L0 20M40 40V20L20 40"/%3E%3C/g%3E%3C/svg%3E');
    padding: 2rem 0;
    overflow: hidden;
}

.owl-baner .item {
    background: var(--gradient-dark);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

/* Overriding inline styles for better responsiveness */
.black {
    display: flex;
    flex-direction: column;
    z-index: 2;
    margin-bottom: 1rem;
}

.black span {
    display: block;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    font-weight: 800;
}

.black span[style*="font-size: 60px"] { font-size: clamp(2rem, 5vw, 3.75rem) !important; color: #fff; }
.black span[style*="font-size: 84px"] { font-size: clamp(2.5rem, 6vw, 5.25rem) !important; background: var(--gradient-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.black span[style*="777"] b { color: var(--accent-secondary); text-shadow: 0 0 20px rgba(255, 145, 0, 0.6); }

.owl-baner .btn {
    margin-top: 1.5rem;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    z-index: 10;
}

/* =========================================
   6. Winners Section & Games Menu
   ========================================= */
.main_menu_winners {
    background: #110e19;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.menu_winners-title {
    margin-bottom: 1rem;
}

/* Digital Numbers Styling */
.main_menu_winners-call {
    display: flex;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--accent-secondary);
    text-shadow: 0 0 10px rgba(255, 145, 0, 0.4);
    background: #000;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #333;
}

.cifra, .valuta {
    padding: 0 2px;
}

/* Games Menu Links */
.games_menu {
    background: var(--bg-card);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.games_menu .item {
    margin: 0.5rem 0;
}

.games_menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 500;
    transition: 0.3s;
}

.games_menu a:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 61, 0, 0.3);
}

/* =========================================
   7. Game Grid
   ========================================= */
.games_list {
    margin-top: 2rem;
}

.games_list .item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px; /* Placeholder height if no image */
}

.games_list .item:before {
    content: '🎰'; /* Fallback icon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.1;
}

.games_list .item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--accent-primary);
}

/* Image styling handling */
.games_list .item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.games_list .item:hover img {
    transform: scale(1.1);
}

.games_list .title {
    padding: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-main);
    z-index: 2;
    background: var(--bg-card);
    margin-top: auto; /* Push to bottom */
}

/* Game Buttons overlay */
.games_list .item .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    opacity: 0;
    transition: all 0.3s ease;
    width: 80%;
    z-index: 5;
}

.games_list .item:hover .btn.plau-game {
    opacity: 1;
    transform: translate(-50%, -80%);
}

.games_list .item:hover .btn.plau-demo {
    opacity: 1;
    transform: translate(-50%, 40%);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid white;
}

/* =========================================
   8. Main Content & Typography (SEO Text)
   ========================================= */
.main_content h1, .main_content h2, .main_content h3 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    line-height: 1.2;
}

.main_content h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); background: var(--gradient-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.main_content h2 { font-size: 1.8rem; border-left: 4px solid var(--accent-primary); padding-left: 1rem; }
.main_content p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.05rem; }

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

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

table tr:first-child td {
    background: #2a253a;
    font-weight: bold;
    color: var(--text-main);
    text-transform: uppercase;
}

/* TOC */
.toc_container {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin: 2rem 0;
}

.toc_title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

.toc_list li {
    margin-bottom: 0.5rem;
}

.toc_list li span {
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--text-muted);
    cursor: pointer;
}

.toc_list li span:hover {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

/* =========================================
   9. Form Styling
   ========================================= */
.content-form {
    background: var(--gradient-purple);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.content-form .h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.form-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-control {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    width: 300px;
    max-width: 100%;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.4);
    border-color: white;
}

.btn-green {
    background: #00e676;
    color: #000;
    border-radius: 50px;
    padding: 1rem 2.5rem;
}

.btn-green:hover {
    background: #00c853;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
    transform: scale(1.05);
}

/* =========================================
   10. FAQ Accordion
   ========================================= */
.accord-group {
    margin-top: 2rem;
}

.accord-block {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.accord-block:hover {
    border-color: var(--accent-primary);
}

.accord-block-header {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accord-block-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.accord-block-content {
    padding: 1.5rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* =========================================
   11. Footer
   ========================================= */
.footer {
    background: #0a080e;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    font-size: 0.9rem;
}

.row-menu-footer a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.row-menu-footer a:hover {
    color: var(--accent-secondary);
    padding-left: 5px;
}

.footer-content {
    color: #6c7080 !important;
    font-size: 0.85rem;
    margin-top: 2rem;
}

.dmca-wrapper {
    margin-top: 2rem;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.dmca-wrapper:hover {
    opacity: 1;
}

/* =========================================
   12. Mobile Adaptations
   ========================================= */
@media (max-width: 768px) {
    .heder {
        padding: 0.5rem 0;
    }
    
    .logo {
        width: 120px;
    }

    .btn-regist, .btn-voiti {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .navigation-bg {
        flex-direction: column;
    }
    
    .navigation .item a {
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .owl-baner .item {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .games_list .item .btn {
        opacity: 1;
        position: relative;
        transform: none !important;
        margin: 0.5rem auto;
        display: flex;
        width: 90%;
    }
    
    .games_list .title {
        background: transparent;
        margin-top: 0;
    }

    .form-box {
        flex-direction: column;
    }
    
    .form-control {
        width: 100%;
    }
}
