/* KONFIGURACJA SIATKI GŁÓWNEJ */
.v2-main-container {
    display: flex;
    gap: 24px;
    width: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.v2-content-area {
    flex: 1; /* Kontroluje lewą stronę (ok. 76% automatycznie) */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v2-sidebar-area {
    width: 290px; /* Stała, elegancka szerokość prawego panelu */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* KINOWY DESIGN SLIDERA */
.v2-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #0d0d0d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.v2-slider-wrapper input[type="radio"] { display: none; }
.v2-slides-container { display: flex; width: 600%; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.v2-slide-item { width: 16.6666%; min-height: 420px; background-size: cover; background-position: center; position: relative; }
.v2-slide-overlay {
    background: linear-gradient(90deg, rgba(10,10,10,0.98) 25%, rgba(10,10,10,0.7) 60%, rgba(0,0,0,0) 100%);
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; padding: 40px;
    box-sizing: border-box;
}
.v2-slide-content { max-width: 520px; color: #fff; }
.v2-badge { display: inline-block; padding: 5px 12px; font-size: 11px; font-weight: bold; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.badge-hit { background: #e74c3c; }
.badge-new { background: #2ecc71; }
.badge-classic { background: #9b59b6; }
.badge-popular { background: #3498db; }
.badge-premium { background: #f1c40f; color: #000; }

.v2-slide-content h2 { font-size: 32px; font-weight: 800; margin: 0 0 12px 0; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.v2-slide-content p { font-size: 14px; color: #b3b3b3; line-height: 1.6; margin: 0 0 24px 0; }
.v2-btn-watch { display: inline-flex; align-items: center; gap: 8px; background: #e74c3c; color: #fff !important; font-weight: bold; padding: 12px 28px; border-radius: 6px; text-decoration: none !important; box-shadow: 0 4px 15px rgba(231,76,60,0.4); transition: all 0.3s; }
.v2-btn-watch:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(231,76,60,0.6); }

.v2-slider-dots { position: absolute; bottom: 20px; left: 40px; display: flex; gap: 8px; z-index: 10; }
.v2-slider-dots label { width: 30px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; cursor: pointer; transition: background 0.3s; }

/* OSTRZEŻENIE O ADBLOCKU */
.v2-adblock-alert { display: flex; gap: 15px; align-items: center; background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); border-radius: 8px; padding: 16px; box-sizing: border-box; }
.v2-alert-icon { font-size: 22px; color: #e74c3c; }
.v2-alert-text { font-size: 13px; color: #dfb2ae; line-height: 1.4; }

/* PROJEKT KAFELKÓW VOD */
.v2-katalog-wrapper { display: flex; flex-direction: column; gap: 30px; }
.v2-section-header h3 { margin: 0 0 15px 0; font-size: 20px; color: #fff; font-weight: 700; border-left: 4px solid #e74c3c; padding-left: 12px; }
.v2-letter-divider { display: flex; align-items: center; margin: 15px 0 10px 0; }
.v2-letter-divider span { background: #222; color: #e74c3c; font-weight: bold; font-size: 13px; padding: 4px 14px; border-radius: 20px; border: 1px solid #333; }
.v2-vod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }

.v2-vod-card { position: relative; background: #141414; border: 1px solid #222; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none !important; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.v2-vod-card:hover { transform: translateY(-6px); border-color: #e74c3c; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.v2-poster-box { width: 100%; height: 215px; overflow: hidden; background: #0a0a0a; }
.v2-poster-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.v2-vod-card:hover .v2-poster-box img { transform: scale(1.08); }
.v2-card-details { padding: 12px; background: #141414; border-top: 1px solid #1f1f1f; text-align: center; flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.v2-card-details h4 { margin: 0; color: #eee; font-size: 13px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.v2-vod-card:hover .v2-card-details h4 { color: #fff; }

.v2-vod-card.is-premium { border-color: rgba(241,196,15,0.3); }
.v2-vod-card.is-premium:hover { border-color: #f1c40f; }
.v2-card-badge-premium { position: absolute; top: 10px; left: 10px; background: #f1c40f; color: #000; font-size: 10px; font-weight: bold; padding: 3px 8px; border-radius: 4px; z-index: 2; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }

/* WIDŻETY SIDEBARU (GLASSMORPHISM) */
.v2-sidebar-widget { background: #141414; border: 1px solid #222; border-radius: 8px; padding: 20px; box-sizing: border-box; }
.v2-widget-header h4 { margin: 0 0 15px 0; color: #fff; font-size: 15px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.v2-live-dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; display: inline-block; box-shadow: 0 0 8px #2ecc71; animation: pulseLive 1.5s infinite; }

.v2-stats-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v2-stat-tile { background: #1c1c1c; border: 1px solid #282828; border-radius: 6px; padding: 14px 8px; text-align: center; }
.v2-tile-num { font-size: 20px; font-weight: 700; color: #e74c3c; margin-bottom: 4px; }
.v2-tile-num.text-green { color: #2ecc71; }
.v2-tile-txt { font-size: 11px; color: #888; text-transform: uppercase; font-weight: 500; }

/* WIDŻET GOLD PREMIUM */
.widget-premium-gold { background: linear-gradient(145deg, #1e1a0b 0%, #141414 100%); border: 1px solid #d4ac0d; position: relative; overflow: hidden; text-align: center; }
.widget-premium-gold::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(212,172,13,0.05), transparent); transform: rotate(45deg); animation: shineGold 6s infinite linear; }
.v2-premium-inner { position: relative; z-index: 1; }
.gold-crown { font-size: 28px; color: #f1c40f; display: block; margin-bottom: 8px; }
.widget-premium-gold h4 { margin: 0 0 8px 0; color: #f1c40f; font-size: 18px; font-weight: 700; }
.widget-premium-gold p { font-size: 12px; color: #b3a88f; line-height: 1.5; margin: 0 0 16px 0; }
.v2-btn-premium-gold { display: block; background: #f1c40f; color: #000 !important; font-weight: bold; text-align: center; padding: 10px; border-radius: 6px; text-decoration: none !important; font-size: 13px; transition: background 0.3s; }
.v2-btn-premium-gold:hover { background: #f39c12; }

/* AKTYWACJA RADIO-SLIDERA */
#slide1:checked ~ .v2-slides-container { transform: translateX(0); }
#slide2:checked ~ .v2-slides-container { transform: translateX(-16.6666%); }
#slide3:checked ~ .v2-slides-container { transform: translateX(-33.3333%); }
#slide4:checked ~ .v2-slides-container { transform: translateX(-50%); }
#slide5:checked ~ .v2-slides-container { transform: translateX(-66.6666%); }
#slide6:checked ~ .v2-slides-container { transform: translateX(-83.3333%); }

#slide1:checked ~ .v2-slider-dots label[for="slide1"],
#slide2:checked ~ .v2-slider-dots label[for="slide2"],
#slide3:checked ~ .v2-slider-dots label[for="slide3"],
#slide4:checked ~ .v2-slider-dots label[for="slide4"],
#slide5:checked ~ .v2-slider-dots label[for="slide5"],
#slide6:checked ~ .v2-slider-dots label[for="slide6"] { background: #fff; width: 45px; }

/* ANIMACJE */
@keyframes pulseLive { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }
@keyframes shineGold { 0% { transform: translate(-30%, -30%) rotate(45deg); } 100% { transform: translate(30%, 30%) rotate(45deg); } }

/* RESPONSYWNOŚĆ PŁYTKA */
@media (max-width: 992px) {
    .v2-main-container { flex-direction: column; }
    .v2-sidebar-area { width: 100%; }
    .v2-slide-item { min-height: 350px; }
}