/*
Theme Name: Casino White Label
Theme URI: https://your-site.com
Author: Your Name
Description: Tema dedicată 100% unui singur cazinou. Configurabilă din admin, cu light/dark mode, structured data pentru SEO/AEO, tracking integrat.
Version: 1.1
License: GPL v2+
Text Domain: casino-wl
*/

/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== VARIABILE ========== */
:root {
    --primary: #2f9df3;
    --primary-dark: #332def;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-secondary: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    /*font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;*/
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 0 20px;*/
    padding: 0 .75rem;
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /*background: var(--secondary);*/
    background: #00314d;
    color: white;
    /*padding: 0.8rem 0;*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Desktop layout */
.desktop-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    max-height: 45px;
    width: auto;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* Mobile layout - ascuns pe desktop */
.mobile-layout {
    display: none;
    width: 100%;
}

/* Butoane comune */
.btn-login, .btn-register {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: inline-block;
}

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

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

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

.btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.dark-toggle {
    background: rgba(255,255,255,0.15);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    transition: background 0.2s;
}

.dark-toggle:hover {
    background: rgba(255,255,255,0.3);
}

/* FIX LOGICĂ DESKTOP */
@media (min-width: 769px) {
    #mobile-nav {
        display: none;
    }
    /* Ascundem bara de acțiuni mobile pe desktop ca să nu consume resurse */
    #mobile-actions, .mobile-actions {
        display: none !important;
    }
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .desktop-layout {
        display: none;
    }

    .mobile-layout {
        display: block;
    }

    .mobile-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    /* CORECCȚIE MOBILE ACTIONS (ANTIFLICKER) */
    #mobile-actions {
        position: fixed;
        left: 0;
        width: 100%;
        z-index: 9999;
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 10px 0;
        background: var(--secondary);
        transform: translateY(0);
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    #mobile-actions.hide {
        transform: translateY(100%);
        opacity: 0;
        bottom: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .menu-toggle {
        background: #00314D;
        border: none;
        color: #2f9df3;
        font-size: 35px;
        padding: 6px 12px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .menu-text {
        font-size: 0.7rem;
        display:none;
    }

    /* Meniu slide-in */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        z-index: 8999999;
        display: flex;
        flex-direction: column;
        transition: right 0.3s;
        padding: 0 1rem;
    }

    .mobile-nav.active {
        right: 0;
        border-radius: 15px 0 0 15px;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 1rem;
        /**/
        position: relative;
        padding: 4px 10px;
        min-height: 73px;
        border-bottom: 1px solid #e9ecef;
    }

    .close-mobile {
        background: none;
        border: none;
        color: #2f9df3;
        font-size: 35px;
        line-height: 35px;
        cursor: pointer;
        padding: 0 !important;
    }

    .mobile-nav-header button:hover {
        background: none !important;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
    }

    .mobile-nav li {
        /*margin: 1rem 0;*/
    }

    .mobile-nav a {
        color: #2f9df3;
        text-decoration: none;
        display: block;
        padding: 8px;
        margin-right: 45px;
    }

    .mobile-nav-actions {
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.2);
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,.5);
        z-index: 1000;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.bonus-main {
    font-size: 1.8rem;
    font-weight: bold;
    background: rgba(255,255,255,0.15);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin: 1rem 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin: 1rem 0;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rating {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.rating span {
    color: #f5b042;
}

/* ========== GRID SECȚIUNI ========== */
.sections-grid {
    padding: 3rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.sections-grid h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-item {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.grid-item h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-size: 1.5rem;
}

.grid-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
}

.grid-item a:hover {
    gap: 12px;
}

/* ========== PAGINI ARTICOLE ========== */
.page-content, .entry-content {
    padding: 2rem 0;
}

.page-content h1, .single h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.page-content h3 {
    font-size: 1.25rem;
    margin: 1rem 0;
}

/* AI Summary */
.ai-summary, .ai-summary-page {
    background: #f0f9ff;
    border-left: 4px solid var(--primary);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--radius-sm);
}

/* Bonus box */
.bonus-box, .bonus-shortcode {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    text-align: center;
}

.bonus-cta-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 2rem 0;
}

/* ========== FAQ ========== */
.faq-section {
    margin: 2rem 0;
}

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

.faq-item h3 {
    color: var(--secondary);
    cursor: pointer;
    margin-bottom: 0.5rem;
}

/* ========== TABEL COMPARAȚIE ========== */
.casino-comparison-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.casino-comparison-table th,
.comparison-table th {
    background: var(--secondary);
    color: white;
    padding: 12px;
    text-align: left;
}

.casino-comparison-table td,
.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.casino-comparison-table tr:hover,
.comparison-table tr:hover {
    background: var(--bg-secondary);
}

/* ========== POST META ========== */
.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========== PAGINATION ========== */
.pagination {
    margin: 2rem 0;
    text-align: center;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
}

.pagination .current {
    background: var(--primary);
    color: white;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--secondary);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    /*background: linear-gradient(90deg, var(--primary), transparent);*/
}

.site-footer a {
    color: #9ca3af;
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
}

/* ========== DARK MODE ========== */
body.dark {
    --text: #f3f4f6;
    --text-light: #9ca3af;
    --bg: #111827;
    --bg-secondary: #1f2937;
    --border: #374151;
}

body.dark .grid-item {
    background: var(--bg-secondary);
}

body.dark .ai-summary,
body.dark .ai-summary-page {
    background: #1e293b;
}

/* ========== RESPONSIVE GENERAL ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .bonus-main {
        font-size: 1.2rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .casino-comparison-table,
    .comparison-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
    }
}

/* ========== BUTOANE GENERALE ========== */
.button, button, input[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
}

.button:hover, button:hover, input[type="submit"]:hover {
    background: var(--primary-dark);
}

/* ========== FORMULARE ========== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

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

/* ========== LOADING SHIMMER ========== */
img {
    /*background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border) 50%, var(--bg-secondary) 75%);*/
    /*background-size: 200% 100%;*/
    /*animation: shimmer 1.5s infinite;*/
    background: transparent !important;
}

/*@keyframes shimmer {*/
/*    0% { background-position: 200% 0; }*/
/*    100% { background-position: -200% 0; }*/
/*}*/

/*img.loaded {*/
/*    animation: none;*/
/*    background: none;*/
/*}*/

/*casino table & pros & cons*/

/* --- PROS & CONS ZEN --- */
.cwlc-pc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 35px 0;
}

.cwlc-pc-box {
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
}

.cwlc-pc-pro { background: #f4fff9; border-left: 5px solid #2ecc71; }
.cwlc-pc-con { background: #fff5f5; border-left: 5px solid #e74c3c; }

.cwlc-pc-box h5 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cwlc-pc-pro h5 { color: #1e8449; }
.cwlc-pc-con h5 { color: #943126; }

.cwlc-pc-box ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.cwlc-pc-box li {
    padding: 8px 0;
    font-weight: 500;
    color: #555;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

@media (max-width: 768px) { .cwlc-pc-container { grid-template-columns: 1fr; } }
/*end table pros and cons*/

/*styil shortcod buton afilait*/
.cwlc-aff-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #22c55e; /* Culoarea ta primară */
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.cwlc-aff-button:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
}

.cwlc-aff-link {
    font-weight: bold;
    color: #22c55e;
    text-decoration: underline;
}

/*TOC styles*/
/* ========== TOC STYLES (FINAL ZEN VERSION) ========== */

/* 1. Containerul Principal */
.toc-wrapper {
    width: 100%;
    /*height: 48px;*/
    min-height:0;
    max-height:48px;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
}
.cw-toc {
    width: 100%;
    background: #fff;
    z-index: 9998;
    transition: all 0.3s ease;
    position: relative; /* Necesar pentru bara de progres globală */
    /*border-bottom: 2px solid #f0f0f0; !* Fundalul gri peste care trece linia verde *!*/
    /*height: 48px;*/
    max-width:1200px;
}

.cw-toc.is-sticky {
    position: sticky;
    top: 0;
}

/* Mod Dark */
.cw-toc.theme-dark {
    background: #00314d;
    color: #fff;
    /*border-bottom: 2px solid #333;*/
}

/* 2. Bara de progres GLOBALĂ (Linia verde care parcurge tot ecranul) */
.cw-toc::after {
    content: '';
    position: absolute;
    bottom: 1px; /* O așezăm exact peste border-ul de jos */
    left: 0;
    width: var(--global-progress, 0%);
    height: 1px;
    background: #2f9df2;
    z-index: 10;
    transition: width 0.1s linear;
    max-width: 1200px;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
}

/* 3. Layout interior */
.toc-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 48px;
    overflow: hidden;
}

.toc-title {
    position: relative;
    z-index: 20; /* Stă deasupra linkurilor care fac scroll */
    background: inherit; /* Ia culoarea albă sau dark a barei */
    padding-right: 15px; /* Spațiu forțat între "CUPRINS" și linkuri */
    font-weight: 800;
    font-size: 12px;
    /*color: #22c55e;*/
    color: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 4. Navigația linkurilor */
.toc-nav {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    flex-grow: 1;
    scrollbar-width: none;
    padding-right: 40px; /* Spațiu să nu intre sub butonul X */
}
.toc-nav::-webkit-scrollbar { display: none; }

.toc-link {
    /*display: inline-block; !* Ne asigurăm că lățimea e calculată corect *!*/
    /*flex-shrink: 0; !* Împiedică browserul să "strivească" textul lung *!*/
    /*text-decoration: none;*/
    /*color: inherit;*/
    /*font-size: 13px;*/
    /*font-weight: 600;*/
    /*opacity: 0.6;*/
    /*transition: 0.3s;*/
    /*padding: 5px 0;*/
    /*    */
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 3px 10px;
    line-height: normal;
    white-space: nowrap;
    color: inherit;
    border: 1px solid #e7e7e7;
    border-radius: 50px;
}
}

/* Highlight pe textul activ (Zen mode) */
.toc-link.active {
    opacity: 1 !important;
    color: #22c55e !important;
}

/* 5. Butonul Toggle */
.toc-toggle {
    flex-shrink: 0;
    background: #f4f4f4;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 12px;
    border-radius: 4px;
    /**/
    display: none;
}

.theme-dark .toc-toggle {
    background: #00341d;
    color: #fff;
}

/* 6. Starea Collapsed */
.cw-toc.is-collapsed .toc-nav,
.cw-toc.is-collapsed .toc-title {
    display: none;
}
.cw-toc.is-collapsed {
    width: auto;
    display: inline-flex;
    border-radius: 0 0 10px 0;
}

/*footer things*/
.site-footer {
    background-color: #00314d; /* Sau culoarea ta închisă */
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.site-footer .container {
    padding: 0 .75rem;
}

/* Rândul 1 */
.footer-top {
    display: flex;
    align-items: center; /* Aliniere verticală pe mijloc */
    justify-content: flex-start;
    /*border-bottom: 1px solid rgba(255,255,255,0.1);*/
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    flex: 0 0 auto; /* Nu se întinde, rămâne la dimensiunea logoului */
    text-align: left;
}

.footer-logo img {
    max-width: 89px; /* Sau dimensiunea ta preferată */
    height: 32px;
    display: block;
}

.footer-nav {
    flex: 1; /* Ocupă tot spațiul rămas între logo și marginea din dreapta */
    display: flex;
    justify-content: center; /* Centrează meniul în spațiul rămas */
}

.footer-logo img {
    max-width: 89px;
    height: 32px;
}

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


ul.footer-menu-list li {
    display: inline-block;
    padding: 5px 10px;
    margin: 0;
}

ul.footer-menu-list li a {
    color: #fff;
    /*opacity: .8;*/
    text-decoration: none;
    font-size: 14px;
    position: relative;
    display: block;
}

/*.footer-menu-list a:hover {*/
/*    opacity: 1;*/
/*}*/

/* Rândul 2 - Logo-urile Police */
.footer-police-logos {
    display: flex;
    justify-content: space-around;
    gap: 32px;
    flex-wrap: wrap;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 24px 0;
    margin-bottom: 24px;
    opacity: .5;
}

.footer-police-logos img {
    max-height: 36px;
    width: auto;
    /*filter: grayscale(100%) brightness(200%); !* Le face albe dacă nu sunt deja *!*/
}

/* Rândul 3 - Copyright */
.footer-bottom {
    line-height: 1.6;
    font-size: .8rem;
    text-align: center;
    opacity: .5;
}

.footer-disclaimer {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-menu-list {
        justify-content: center;
    }

    .footer-menu-list ul li {
        display: block;
    }

    .footer-police-logos {
        gap: 15px;
        justify-content: center;
    }
}

/*some bs general content and elements style*/
h1,
h2,
h3 {
    position: relative;
    display: block;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-top: 0;
    margin-bottom: 16px;
    padding-top: 4px;
    line-height: 1.2;
    unicode-bidi: isolate;
}
/* H1 */
h1 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 10px;
    font-weight: 700;
}
/* H2 + H3 */
h2,
h3 {
    font-weight: 600;
}
/* default browser-like sizing */
h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.17em;
}
/* decorative line */
h1::before,
h2::before,
h3::before {
    content: "";
    display: block;
    position: absolute;
    top: -4px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2f9df3;
}

/* responsive typography */
@media (min-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

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

.section {
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(270deg, #c2dfee 0%, #e3e8f3 100%);
    border-radius: 30px;
}

p {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.6;
    unicode-bidi: isolate;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    vertical-align: middle;
}

/* modern responsive image optimization (safe override for auto-sizes behavior) */
img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: 3000px 1500px;
}

/* optional SVG alignment consistency */
svg {
    vertical-align: middle;
}

.main-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.main-content ul li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* check icon bullet */
.main-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url(https://online-betting-sites.it.com/wp-content/uploads/2025/08/check-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

:root {
    --faq-text: rgb(22, 22, 22);
}

/* ================= FAQ WRAPPER ================= */
.faq-section .item {
    border-bottom: 1px solid #3a435b;
    padding: 16px 0;
}

/* ================= QUESTION ================= */
.faq-section .item .question {
    position: relative;
    font-weight: 600;
    padding-right: 40px;
    color: var(--faq-text);
}

/* optional h3 inside FAQ */
.faq-section h3 {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    color: var(--faq-text);
}

/* ================= TOGGLE BUTTON ================= */
.faq-section .item .question button {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    background-image: url(https://online-betting-sites.it.com/wp-content/uploads/2025/08/plus-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

/* ================= ANSWER ================= */
.faq-section .item .answer {
    display: none;
    margin-top: 15px;
    padding-right: 100px;
    color: var(--faq-text);
    line-height: 1.6;
}

/* ================= BUTTON BASE CLEANUP (safe minimal override) ================= */
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/*end of bs styles*/

/*header menu rework start*/
/* Containerul principal de navigare */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*align-items: center;*/
}

.main-nav .menu-item {
    position: relative; /* Esențial pentru poziționarea sub-meniului */
    padding: 5px 10px;
}

.main-nav .menu-item a {
    display: block;
    /*padding: 15px 20px;*/
    text-decoration: none;
    /*color: #333; !* Ajustează culoarea *!*/
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-nav .menu-item > a {
    position: relative;
    display: block;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
}

/* --- LOGICA PENTRU SUB-MENIU --- */

.main-nav .sub-menu {
    position: absolute;
    top: 100%; /* Apare exact sub părinte */
    left: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none; /* Îl ascundem default */
    z-index: 1000;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #fff;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 8px;
}

.main-nav .menu > .menu-item:hover > a,
.main-nav .menu > .menu-item.current-menu-item a {
    color: #2f9df3 !important;
 }

/* Afișare la Hover */
.main-nav .menu-item:hover > .sub-menu {
    display: block;
    z-index: 999999999;
}

/* Stil pentru itemii din sub-meniu */
.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu li a {
    display: block;
    width: 100%;
    padding: .25rem 1rem;
    clear: both;
    font-weight: 400;
    font-size: 0.85rem;
    color: #000;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.main-nav .sub-menu li a:hover {
    background-color: #e9ecef;
    color: #000; /* Sau culoarea ta de brand */
}

/* --- SĂGEȚICA (CARET) --- */

/* Adăugăm un spațiu pentru săgeată la itemii care au copii */
.main-nav .menu-item-has-children > a {
    padding-right: .5rem; /* Spațiu pentru săgeată */
    position: relative;
}

/* Generăm săgeata folosind pseudo-elementul ::after */
.main-nav .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 5px;
    background-color: currentColor;
    /* Creăm un triunghi mic din clip-path sau border */
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    transition: transform 0.3s ease;
}

/* Rotim săgeata când meniul este deschis (la hover) */
.main-nav .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/*refix pt mobil*/
/* FIX: Meniul mobil să stea fix și să aibă scroll propriu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Îl ascundem în dreapta complet */
    width: 280px;  /* Lățime fixă */
    height: 100vh;
    /*background: #1a1a1a; !* Ajustează culoarea *!*/
    z-index: 999999;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    overflow-y: auto; /* Permite scroll în interiorul meniului */
}

.mobile-nav.active {
    right: 0; /* Apare pe ecran */
}

/* Fix pentru overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999998;
}

.nav-overlay.active {
    display: block;
}

/* Ajustare stiluri link-uri pe Mobil (dezactivăm logica de desktop) */
.mobile-nav .sub-menu {
    position: static; /* Nu mai e absolut */
    display: none;    /* Ascuns default */
    /*background: #2a2a2a;*/
    box-shadow: none;
    border: none;
    padding-left: 15px; /* Indentare pentru sub-pagini */
    width: 100%;
}

.mobile-nav .menu-item-has-children.open > .sub-menu {
    display: block; /* Se deschide când adăugăm clasa 'open' */
}

.mobile-nav .menu-item a {
    /*color: #fff;*/
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* --- CARET PENTRU MOBIL --- */
.mobile-nav .menu-item-has-children {
    position: relative;
}

.mobile-nav .menu-item-has-children > a {
    padding-right: 50px !important; /* Facem loc pentru săgeată */
}

/* Creăm zona de click pentru săgeată */
.mobile-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;    /* Zonă mare pentru deget */
    height: 45px;   /* Înălțimea aproximativă a link-ului */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #fff;    /* Ajustează în funcție de fundal */
}

/* Desenăm săgeata folosind un pseudoelement (ca pe desktop) */
.mobile-toggle::after {
    content: "";
    width: 8px;
    height: 5px;
    background-color: rgb(23,23,23);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    transition: transform 0.3s ease;
}

/* Rotim săgeata când e deschis */
.menu-item-has-children.open > .mobile-toggle::after {
    transform: rotate(180deg);
}

/* Asigurăm vizibilitatea sub-meniului pe mobil */
.mobile-nav .menu-item-has-children.open > .sub-menu {
    display: block !important;
}
/*header menu rework end*/

/*uggly contact form*/
.wpcf7 input[type="submit"] {
    appearance: auto;
    user-select: none;
    text-align: center;
    cursor: default;
    box-sizing: border-box;
    background-color: buttonface;
    color: buttontext;
    white-space: pre;
    padding-block: 1px;
    padding-inline: 6px;
    border-width: 1px;
    border-style: outset;
    border-color: buttonborder;
    border-image: initial;
    padding: 5px 10px;
    border-radius: unset;
    cursor: pointer;
    transition: background 0.2s;
}
.wpcf7 input[type="submit"]:hover {
    background: #fefefe;
}

.wpcf7 input,
.wpcf7 textarea {
    border-radius: 0;
}

.wpcf7 p {
    margin-bottom: 1rem !important;
}

/*breadcrumbs from example*/
/* Containerul Breadcrumb */
nav.breadcrumbs {
    margin-top: 3rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 1rem;
    list-style: none;
    font-size: .9rem;
}

/* Itemul individual */
.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: inherit;
    text-decoration: underline;
}

/* Stil pentru itemul curent (activ) */
.breadcrumb-item.active {
    color: #6c757d;
    text-decoration: none;
}

/* Logica separatorului */
.breadcrumb-item + .breadcrumb-item {
    padding-left: .5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: .5rem;
    color: #6c757d;
    /* Folosim variabila sau default la "/" */
    content: var(--bs-breadcrumb-divider, "/");
}

/*autors start*/
.post-meta-block {
    font-size: 14px;
    color: #000;
    line-height: 1.3;
    /*margin-bottom: 20px;*/
}

.meta-updated {
    margin-bottom: 6px;
    color: #666;
}

.meta-authors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 20px;
    row-gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.meta-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 8px;
    background: #eee;
}

.meta-link strong {
    font-weight: 700;
}

.meta-link:hover strong {
    text-decoration: underline;
}
/*autors end*/

/* Container FAQ */
.faq-section {
    padding: 30px;
}

.faq-section .item {
    border-bottom: 1px solid #3a435b;
    padding: 16px 0;
}

.faq-section .item .question {
    position: relative;
    cursor: pointer; /* Face toată întrebarea click-abilă */
}

.faq-section .item .question h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding-right: 40px !important;
    font-weight: 600 !important;
    color: inherit;
}

/* Butonul Toggler */
.faq-section .item .question button.toggler {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(0) rotate(0deg);
    transition: transform 0.3s ease !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: none !important;
    font-size: 26px !important;
    /*line-height: 24px !important;*/
    background: #1079d7 !important; /* Culoarea albastră din exemplul tău */
    border-radius: 100%;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Starea deschisă (Show) */
.faq-section .item.show .question button.toggler {
    transform: translateY(-50%) rotate(45deg) !important;
}

.faq-section .item .answer {
    display: none; /* Ascuns default */
    margin-top: 15px;
    padding-right: 40px;
    font-size: 15px;
    line-height: 1.5;
    color: #4a5568;
}

.faq-section .item.show .answer {
    display: block; /* Afișat când părintele are .show */
}

/* Forțăm afișarea răspunsului indiferent de tag-urile <p> intermediare */
.faq-section .item.show .answer {
    display: block !important;
}

/* Ajustăm butonul să ignore faptul că e posibil să fie închis într-un <p> */
.faq-section .item .question button.toggler {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    /* Restul stilurilor tale rămân la fel */
}

/* Rotirea */
.faq-section .item.show .question button.toggler {
    transform: rotate(45deg) !important;
}

/*diverse fixuri*/
/*start*/
body.home .post-meta-block {
    margin-top: 20px;
}
/*end*/