/* Główny kontener - ładowanie Twojego oryginalnego tła ze zdjęcia */
.iptv-dashboard-body {
    background-color: #0c0507; /* Kolor awaryjny zanim załaduje się zdjęcie */
    
    /* Ciemna nakładka (linear-gradient) nakłada się na zdjęcie, 
       dzięki czemu tekst na kartach jest idealnie widoczny i czytelny */
    background-image: 
        linear-gradient(rgba(12, 5, 7, 0.45), rgba(12, 5, 7, 0.45)), 
        url('images/bg-waves.jpg'); 
    
    background-size: cover;          /* Grafika pokrywa cały ekran */
    background-position: center center; /* Wyśrodkowanie obrazu */
    background-repeat: no-repeat;    /* Brak powtarzania obrazka */
    background-attachment: fixed;    /* Tło stoi w miejscu podczas przewijania */
    
    color: #fff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 40px 20px;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
}

.iptv-dashboard-body * { 
    box-sizing: border-box; 
}

.dashboard-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 20px;
}

/* Styl kart - idealnie dopasowany ciemny szary mat z przezroczystością */
.dash-card {
    background: rgba(26, 24, 25, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.dash-card h2 {
    font-size: 18px;
    font-weight: 500;
    color: #d1c7bd;
    margin: 0 0 20px 0;
}

.card-margin-bottom {
    margin-bottom: 20px;
}

.full-height {
    height: 100%;
}

/* KOLUMNA 1: Atuty i Pasek */
.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.feature-icon-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}
.feature-text h3 { 
    font-size: 14px; 
    margin: 0 0 4px 0; 
    color: #fff; 
    letter-spacing: 0.5px; 
}
.feature-text p { 
    font-size: 12px; 
    margin: 0; 
    color: #7e7a7f; 
}

.progress-title { 
    font-size: 14px; 
    color: #fff; 
    margin-bottom: 4px; 
}
.progress-subtitle { 
    font-size: 12px; 
    color: #7e7a7f; 
    margin-bottom: 12px; 
}
.bar-container { 
    background: #120d0f; 
    height: 10px; 
    border-radius: 5px; 
    overflow: hidden; 
    margin-bottom: 8px; 
    border: 1px solid rgba(255,255,255,0.03);
}
.bar-fill { 
    background: linear-gradient(90deg, #991212 0%, #cc1818 100%); 
    width: 48%; 
    height: 100%; 
    border-radius: 5px; 
    box-shadow: 0 0 10px rgba(204, 24, 24, 0.5);
}
.bar-caption { 
    font-size: 11px; 
    color: #615c61; 
}

/* KOLUMNA 2: Live Preview z zakrzywionym ekranem */
.tv-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.curved-tv {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 50px rgba(0,0,0,0.9);
}
.tv-screen {
    width: 100%;
    height: 250px;
    background: url('https://unsplash.com') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}
.tv-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 60%);
    z-index: 1;
}
.tv-ui { 
    position: relative; 
    z-index: 2; 
}
.tv-ui-title { 
    font-size: 11px; 
    color: #8a868a; 
    margin-bottom: 8px; 
}
.tv-thumbs-row { 
    display: flex; 
    gap: 8px; 
}
.tv-mini-thumb { 
    width: 70px; 
    height: 40px; 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.15); 
    border-radius: 4px; 
}
.tv-base {
    width: 180px;
    height: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-top: none;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    margin-top: 10px;
    background: linear-gradient(to bottom, #141416, #09090a);
}

/* KOLUMNA 3: Pakiety, Testy, Wsparcie i Aktualizacja */
.right-col { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}
.two-cards-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
}

.plan-badge { 
    font-size: 11px; 
    color: #a49a90; 
    text-transform: uppercase; 
    margin-bottom: 8px; 
    letter-spacing: 0.5px; 
}
.plan-main-box { 
    text-align: center; 
    padding: 10px 0; 
}
.plan-main-title { 
    font-size: 11px; 
    color: #a49a90; 
    text-transform: uppercase; 
}
.plan-price-big { 
    font-size: 32px; 
    font-weight: bold; 
    color: #d4af37; 
    margin: 4px 0; 
}
.plan-price-big span { 
    font-size: 14px; 
    color: #a49a90; 
    font-weight: normal; 
}

.plan-tabs { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    border: 1px solid rgba(255,255,255,0.06); 
    border-radius: 6px; 
    overflow: hidden; 
    margin-bottom: 8px; 
}
.plan-tab { 
    font-size: 10px; 
    text-align: center; 
    padding: 6px; 
    background: rgba(255,255,255,0.01); 
    color: #7e7a7f; 
    text-transform: uppercase; 
}
.plan-tab.active { 
    background: rgba(255,255,255,0.04); 
    color: #fff; 
    border-bottom: 2px solid #bd1c1c; 
}
.plan-btn-tech { 
    background: rgba(255,255,255,0.01); 
    border: 1px solid rgba(255,255,255,0.06); 
    color: #7e7a7f; 
    width: 100%; 
    padding: 8px; 
    border-radius: 6px; 
    font-size: 11px; 
    text-transform: uppercase; 
}

/* Licznik testów czerwony */
.card-test-red { 
    background: rgba(71, 14, 18, 0.75); 
    border: 1px solid rgba(189, 28, 28, 0.25); 
}
.card-test-red h2 { 
    color: #ff5252; 
}
.test-desc { 
    font-size: 12px; 
    color: #a49a90; 
    margin-bottom: 15px; 
}
.counter-flex { 
    display: flex; 
    gap: 4px; 
    justify-content: space-between; 
    margin-bottom: 4px; 
}
.counter-block { 
    flex: 1; 
    background: #0a0405; 
    border: 1px solid rgba(255,255,255,0.03); 
    padding: 6px 2px; 
    text-align: center; 
    border-radius: 4px; 
}
.counter-time { 
    font-size: 16px; 
    font-weight: bold; 
    color: #ff2b2b; 
    font-family: monospace; 
}
.counter-labels { 
    display: flex; 
    justify-content: space-between; 
    font-size: 9px; 
    color: #756e75; 
    padding: 0 4px; 
    text-transform: uppercase; 
}

/* Wsparcie przyciski */
.support-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px; 
}
.btn-support { 
    background: rgba(255,255,255,0.01); 
    border: 1px solid rgba(255,255,255,0.06); 
    color: #fff; 
    padding: 12px; 
    text-align: center; 
    border-radius: 6px; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}
.btn-support.gold { 
    border-color: rgba(212,175,55,0.3); 
    color: #d4af37; 
}

/* Wielki przycisk AKTUALIZACJA */
.btn-update-huge {
    background: linear-gradient(135deg, #7a0f14 0%, #420508 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #fff;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(122, 15, 20, 0.4);
    transition: transform 0.2s, opacity 0.2s;
}
.btn-update-huge:hover { 
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(122, 15, 20, 0.5);
}

/* DOLNA SEKCJA: Integracje */
.integrations-section { 
    margin-top: 30px; 
}
.integrations-section h2 { 
    font-size: 18px; 
    color: #d1c7bd; 
    margin-bottom: 15px; 
    font-weight: 500; 
}
.full-width-column {
    grid-column: 1 / -1;
}
.integrations-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.8fr 1.2fr 1.2fr 1.2fr;
    gap: 12px;
    align-items: center;
}
.int-box {
    background: rgba(26, 24, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
}
.int-logo { 
    font-weight: bold; 
    font-size: 14px; 
    color: #8a868a; 
}
.int-logo.paypal { 
    color: #00457c; 
    font-style: italic; 
}
.int-text { 
    font-size: 11px; 
    color: #615c61; 
    line-height: 1.2; 
}
.int-text span { 
    color: #fff; 
    display: block; 
    font-size: 11px; 
    font-weight: 500; 
}

.int-box.badge-wp { 
    border-color: rgba(212,175,55,0.15); 
    background: rgba(212,175,55,0.01); 
}
.int-box.badge-wp span { 
    color: #d4af37; 
}

/* RWD - Responsywność */
@media (max-width: 1024px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .integrations-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}
@media (max-width: 640px) {
    .two-cards-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}
