/* --- 1. VARIABILE & FUNDAȚIE --- */
:root {
    --cwlc-orange: #ff6a00;
    --cwlc-orange-glow: rgba(255, 106, 0, 0.5);
    --cwlc-green: #00ff88;
    --cwlc-green-glow: rgba(0, 255, 136, 0.5);
    --cwlc-dark-card: #1a1d21;
    --cwlc-light-card: #ffffff;
    --cwlc-radius: 16px;
    --cwlc-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cwlc-f-container, .cwlc-b-container {
    width: 100% !important;
    margin: 40px 0 !important;
    box-sizing: border-box;
}

/* --- 2. GRID SYSTEM (FORȚAT) --- */
.cwlc-f-grid-inner, .cwlc-b-grid-inner {
    display: grid !important;
    gap: 25px !important;
    width: 100% !important;
}

@media (min-width: 1025px) {
    [class*="cols-1"] .cwlc-f-grid-inner, [class*="cols-1"] .cwlc-b-grid-inner { grid-template-columns: 1fr !important; }
    [class*="cols-2"] .cwlc-f-grid-inner, [class*="cols-2"] .cwlc-b-grid-inner { grid-template-columns: repeat(2, 1fr) !important; }
    [class*="cols-3"] .cwlc-f-grid-inner, [class*="cols-3"] .cwlc-b-grid-inner { grid-template-columns: repeat(3, 1fr) !important; }
    [class*="cols-4"] .cwlc-f-grid-inner, [class*="cols-4"] .cwlc-b-grid-inner { grid-template-columns: repeat(4, 1fr) !important; }
    [class*="cols-5"] .cwlc-f-grid-inner, [class*="cols-5"] .cwlc-b-grid-inner { grid-template-columns: repeat(5, 1fr) !important; }
}
@media (max-width: 1024px) { .cwlc-f-grid-inner, .cwlc-b-grid-inner { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .cwlc-f-grid-inner, .cwlc-b-grid-inner { grid-template-columns: 1fr !important; } }

/* --- 3. JOCURI (EFECTE PREMIUM) --- */
.cwlc-f-card {
    position: relative;
    background: var(--cwlc-light-card);
    border-radius: var(--cwlc-radius);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--cwlc-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Bordura Orange la Hover la Jocuri */
.cwlc-f-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 15px var(--cwlc-orange-glow);
    border-color: var(--cwlc-orange);
    z-index: 5;
}

.cwlc-f-media {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--cwlc-transition);
}

.cwlc-f-card:hover .cwlc-f-media { transform: scale(1.1); }

/* --- 4. BONUSURI (NEON GLOW) --- */
.cwlc-b-card {
    position: relative;
    border-radius: var(--cwlc-radius);
    transition: var(--cwlc-transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
}

/* Efect Neon Verde la Hover la Bonusuri */
.cwlc-b-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,255,136,0.2), 0 0 20px var(--cwlc-green-glow);
    border-color: var(--cwlc-green);
}

/* Skin Highlight - "The Dark Jewel" */
.cwlc-skin-highlight {
    background: linear-gradient(145deg, #0f1215 0%, #232a31 100%) !important;
    border: 2px solid var(--cwlc-green) !important;
}
.cwlc-skin-highlight .cwlc-b-title { color: #fff !important; font-size: 1.4rem; text-shadow: 0 0 10px var(--cwlc-green-glow); }

/* --- 5. SKIN OVERLAY (PENTRU AMBELE) --- */
.cwlc-skin-overlay {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    border: none;
}
.cwlc-skin-overlay::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.cwlc-f-overlay-content, .cwlc-b-overlay-content {
    position: relative; z-index: 2; height: 100%; display: flex;
    flex-direction: column; justify-content: flex-end; padding: 25px;
}

/* --- 6. BUTOANE STILIZATE --- */
.cwlc-f-btn, .cwlc-b-btn {
    text-decoration: none !important; padding: 14px 24px; border-radius: 12px; font-weight: 900;
    text-transform: uppercase; font-size: 13px; transition: var(--cwlc-transition);
    display: block; text-align: center; border: none; cursor: pointer; letter-spacing: 0.5px;
}
.cwlc-f-btn { background: var(--cwlc-orange); color: #fff !important; box-shadow: 0 4px 15px var(--cwlc-orange-glow); }
.cwlc-b-btn { background: var(--cwlc-green); color: #000 !important; box-shadow: 0 4px 15px var(--cwlc-green-glow); }

.cwlc-f-btn:hover, .cwlc-b-btn:hover { filter: brightness(1.2); transform: scale(1.05); }

/* --- 7. TEMA DARK VS LIGHT (CONTRAST) --- */
.cwlc-theme-dark .cwlc-f-card, .cwlc-theme-dark .cwlc-b-card { background: var(--cwlc-dark-card); border-color: rgba(255,255,255,0.1); }
.cwlc-theme-dark .cwlc-b-title, .cwlc-theme-dark .cwlc-f-title { color: #fff !important; }
.cwlc-theme-dark .cwlc-b-description { color: #8a949d !important; }

.cwlc-theme-light .cwlc-b-title, .cwlc-theme-light .cwlc-f-title { color: #1a1d21 !important; }
.cwlc-theme-light .cwlc-b-description { color: #555 !important; }

/* --- 8. SLIDERS & ARROWS (ULTRA-VISIBLE) --- */
.cwlc-layout-slider { padding: 0 50px !important; position: relative; }
.swiper-button-next, .swiper-button-prev {
    background: #ffffff !important; width: 46px !important; height: 46px !important;
    border-radius: 50% !important; box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
    color: var(--cwlc-orange) !important; top: 50% !important; transform: translateY(-50%) !important;
}
.cwlc-b-container .swiper-button-next, .cwlc-b-container .swiper-button-prev { color: var(--cwlc-green) !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 18px !important; font-weight: 900; }

/* --- 9. BADGES & DETALII --- */
.cwlc-f-rtp {
    position: absolute; top: 12px; left: 12px; z-index: 10;
    background: rgba(0,0,0,0.85); color: var(--cwlc-green); padding: 5px 12px;
    border-radius: 8px; font-size: 12px; font-weight: 900; border: 1px solid var(--cwlc-green);
}
.cwlc-b-badge {
    position: absolute; top: 15px; right: -5px; background: #ff0055;
    color: #fff; padding: 6px 15px; border-radius: 4px; font-size: 10px; font-weight: 900;
    box-shadow: 0 4px 10px rgba(255, 0, 85, 0.4); z-index: 5;
}

/*!* --- COMPONENTĂ TABEL ZEN (RESCRIERE) --- *!*/
/*.cwlc-table-w {*/
/*    margin: 35px 0;*/
/*    border-radius: 14px;*/
/*    overflow: hidden; !* Taie colțurile pătrate ale tabelului interior *!*/
/*    border: 1px solid rgba(0,0,0,0.08);*/
/*    transition: all 0.3s ease;*/
/*}*/

/*!* Logică pentru Scroll *!*/
/*.cwlc-t-scroll {*/
/*    overflow-x: auto;*/
/*    -webkit-overflow-scrolling: touch;*/
/*}*/
/*.cwlc-t-scroll .cwlc-dynamic-table {*/
/*    min-width: 650px; !* Forțează scroll-ul pe mobil să nu înghesuie datele *!*/
/*}*/

/*.cwlc-dynamic-table {*/
/*    width: 100%;*/
/*    border-collapse: collapse;*/
/*    font-size: 15px;*/
/*    background: transparent;*/
/*}*/

/*!* --- TEMA LIGHT --- *!*/
/*.cwlc-t-light {*/
/*    background: #ffffff;*/
/*    box-shadow: 0 10px 30px rgba(0,0,0,0.05);*/
/*}*/
/*.cwlc-t-light th {*/
/*    background: #f1f5f9;*/
/*    color: #475569;*/
/*    font-weight: 800;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 0.5px;*/
/*    border-bottom: 2px solid #e2e8f0;*/
/*}*/
/*.cwlc-t-light td {*/
/*    color: #334155;*/
/*    border-bottom: 1px solid #f1f5f9;*/
/*}*/
/*.cwlc-t-light tbody tr:nth-child(even) { background-color: #f8fafc; } !* Zebra Striping *!*/
/*.cwlc-t-light tbody tr:hover { background-color: #f1f5f9 !important; } !* Hover Effect *!*/

/*!* --- TEMA DARK --- *!*/
/*.cwlc-t-dark {*/
/*    background: #1a1d21;*/
/*    border-color: #2d3238;*/
/*    box-shadow: 0 10px 40px rgba(0,0,0,0.3);*/
/*}*/
/*.cwlc-t-dark th {*/
/*    background: #0f1113;*/
/*    color: #00ff88; !* Verde neon pentru contrast pe negru *!*/
/*    font-weight: 800;*/
/*    border-bottom: 2px solid #2d3238;*/
/*}*/
/*.cwlc-t-dark td {*/
/*    color: #cbd5e1;*/
/*    border-bottom: 1px solid #2d3238;*/
/*}*/
/*.cwlc-t-dark tbody tr:nth-child(even) { background-color: #22262c; }*/
/*.cwlc-t-dark tbody tr:hover { background-color: #2d3238 !important; }*/
/*.cwlc-t-dark td strong { color: #ffffff; }*/

/*!* Celulele comune *!*/
/*.cwlc-dynamic-table th,*/
/*.cwlc-dynamic-table td {*/
/*    padding: 18px 20px;*/
/*    text-align: left;*/
/*}*/

/*!* Fix pentru ecrane foarte mici când scroll este OFF *!*/
/*@media (max-width: 600px) {*/
/*    .cwlc-table-w:not(.cwlc-t-scroll) .cwlc-dynamic-table {*/
/*        font-size: 11px;*/
/*    }*/
/*    .cwlc-table-w:not(.cwlc-t-scroll) th,*/
/*    .cwlc-table-w:not(.cwlc-t-scroll) td {*/
/*        padding: 10px 5px;*/
/*    }*/
/*}*/

/*THE AB OVE STYLES ARE MODERN AND VERY GOOD, BUT I COMMENTED THEM,
JUST TO APPLY SOME OLD UGGLY STYLES
 BECAUSE OF THE REFFERENCE EXAMPLE WHICH NEEDS TO BE REPRODUCED 100%*/
.cwlc-table-w {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.cwlc-table-w table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    color: rgb(22, 22, 22);

    table-layout: fixed;
}

/* ================= HEAD ================= */

.cwlc-table-w thead {
    vertical-align: bottom;
}

.cwlc-table-w th {
    font-weight: 600;
    text-align: left;
}

/* ================= CELLS ================= */

.cwlc-table-w th,
.cwlc-table-w td {
    padding: 14px 14px 14px 24px;
    word-break: break-word;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

/* left border */
.cwlc-table-w tr th:first-child,
.cwlc-table-w tr td:first-child {
    border-left: 1px solid #dee2e6;
}

/* top border */
.cwlc-table-w thead tr:first-child th {
    border-top: 1px solid #dee2e6;
}

/* rounded corners */
.cwlc-table-w thead tr:first-child th:first-child {
    /*border-top-left-radius: 8px;*/
}

.cwlc-table-w thead tr:first-child th:last-child {
    /*border-top-right-radius: 8px;*/
}

/*!* optional zebra *!*/
/*.cwlc-table-w tbody tr:nth-child(even) {*/
/*    background: rgba(0, 0, 0, 0.02);*/
/*}*/

/*!* optional hover *!*/
/*.cwlc-table-w tbody tr:hover {*/
/*    background: rgba(47, 157, 243, 0.05);*/
/*}*/

/* normal borders */
.cwlc-table-w th,
.cwlc-table-w td {
    border-color: #161616;
}

/* outer borders */
.cwlc-table-w tr th:first-child,
.cwlc-table-w tr td:first-child {
    border-left: 1px solid #161616;
}

.cwlc-table-w thead tr:first-child th {
    border-top: 1px solid #161616;
}

/* thick separator under header */
/*.cwlc-table-w thead {*/
/*    border-bottom: 3px solid #161616 !important;*/
/*}*/

.cwlc-table-w th {
    border-bottom: 3px solid #161616 !important;
}

/*END OF TEMPORRARY UGGLY STYLES*/

/*casinos cards start*/
/* ==========================================================================
   FRONTEND - CARD OPERATOR (ITEM TOP)
   ========================================================================== */
:root {
    --bs-primary: #2f9df3; /* Ajustează cu culoarea ta de brand */
    --bs-secondary: #ccd0d4;
    --theme-rounded: 12px;
    --theme-rounded-button: 8px;
    --button_text_color: #ffffff;
    --button_background_color: #332def; /* Verdele de "Bet Now" */
}

/* Wrapper-ul principal (Grid-ul) */
.cards .item {
    position: relative;
    display: grid;
    grid-template-columns: 210px 230px 1fr 230px;
    grid-gap: 20px;
    align-items: center;
    border-top: 1px solid #3a435b;
    padding: 20px;
}

.cards .item .logo {
    width: 180px;
    height: 90px;
    padding: 20px;
    border-radius: var(--theme-rounded);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards .item .logo img {
    max-height: 50px;
}

/* Steaua apare DOAR pe item.top */
.cards .item.top .logo svg {
    display: block;
    color: var(--bs-primary);
}

.cards .item .logo svg {
    display: none;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -1px;
    left: 200px; /* Sau unde ai tu nevoie sa stea pe logo */
}

.cards .item .bonus {
    position: relative;
    padding-left: 48px;
    line-height: normal;
    text-align: center;
}

.cards .item .bonus .gift {
    position: absolute;
    left: 0;
    width: 36px;
    height: 36px;
    color: var(--bs-primary);
}

.cards .item .bonus .bonus_value {
    font-weight: 700;
    color: var(--bs-primary);
}

.cards .item .bonus_description {
    font-size: .85rem;
    line-height: normal;
    text-align: center;
}

.cards .item .buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cards .item .buttons .btn {
    display: inline-flex; /* Schimbat din block în inline-flex */
    align-items: center;  /* Centrează vertical textul și săgeata */
    justify-content: center;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .15s ease-in-out;
    border-radius: 50px !important;
    padding: .5rem 1rem !important;
}

.cards .item .buttons .btn-primary {
    color: var(--button_text_color) !important;
    background: var(--button_background_color) !important;
}

/* Săgeata din buton */
.cards .item .buttons .btn svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cards .item .buttons .btn:hover svg {
    transform: translateX(3px); /* Mic efect la hover */
}

@media (max-width: 768px){
    .cards .item {
        grid-template-columns: none;
    }

    .cards .item .logo {
        width: 100%;
    }

    .cards .svg svg {
        left: 0 !important;
    }

    .cards .bonus {
        padding-left: 0 !important;
    }

    .cards .item .bonus .gift {
        position: relative;
        display: block;
        margin: 0 auto 20px;
    }
}