/* --- 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;
}