/* =========================
   BLOG IPTV PREMIUM STYLE
========================= */

body{
    background:#070b14;
    color:#ffffff;
}

/* =========================
   HERO
========================= */

.iptv-blog-hero{
    position:relative;
    padding:120px 0;
    overflow:hidden;
    background:
    linear-gradient(
        135deg,
        rgba(124,58,237,0.25),
        rgba(15,23,42,0.95)
    ),
    #0b1120;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right,
    rgba(124,58,237,0.25),
    transparent 40%);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:800px;
}

.hero-badge{
    display:inline-block;
    background:rgba(124,58,237,0.15);
    border:1px solid rgba(167,139,250,0.3);
    color:#c4b5fd;
    padding:10px 18px;
    border-radius:100px;
    font-size:14px;
    margin-bottom:25px;
    backdrop-filter:blur(10px);
}

.hero-title{
    font-size:64px;
    line-height:1.1;
    margin-bottom:25px;
    font-weight:800;
    letter-spacing:-2px;
}

.hero-description{
    font-size:20px;
    color:#9ca3af;
    line-height:1.8;
    max-width:700px;
}

/* =========================
   BLOG SECTION
========================= */

.iptv-blog-section{
    padding:80px 0;
}

.posts-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* =========================
   CARD
========================= */

.iptv-card{
    background:#111827;
    border-radius:24px;
    overflow:hidden;
    position:relative;
    transition:0.35s ease;
    border:1px solid rgba(255,255,255,0.05);
    box-shadow:
    0 10px 40px rgba(0,0,0,0.35);
}

.iptv-card:hover{
    transform:translateY(-10px);
    box-shadow:
    0 20px 60px rgba(124,58,237,0.25);
}

/* =========================
   IMAGE
========================= */

.card-image{
    position:relative;
    overflow:hidden;
}

.card-image img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:0.5s ease;
}

.iptv-card:hover .card-image img{
    transform:scale(1.08);
}

.card-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        transparent
    );
}

/* =========================
   CATEGORY
========================= */

.card-category{
    position:absolute;
    top:20px;
    left:20px;
    z-index:3;
}

.card-category a{
    display:inline-block;
    background:#7c3aed;
    color:white;
    padding:8px 14px;
    border-radius:100px;
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

/* =========================
   CONTENT
========================= */

.card-content{
    padding:28px;
}

.card-meta{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
    color:#9ca3af;
    font-size:14px;
}

.card-title{
    margin-bottom:18px;
    line-height:1.4;
}

.card-title a{
    color:white;
    font-size:26px;
    font-weight:700;
    transition:0.3s;
}

.card-title a:hover{
    color:#a78bfa;
}

.card-excerpt{
    color:#9ca3af;
    line-height:1.8;
    margin-bottom:28px;
}

/* =========================
   BUTTON
========================= */

.read-more{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#7c3aed;
    color:white;
    padding:14px 22px;
    border-radius:14px;
    font-weight:600;
    transition:0.3s ease;
}

.read-more:hover{
    background:#8b5cf6;
    transform:translateX(4px);
}

/* =========================
   PAGINATION
========================= */

.iptv-pagination{
    margin-top:70px;
    display:flex;
    justify-content:center;
}

.nav-links{
    display:flex;
    gap:12px;
}

.nav-links a,
.nav-links span{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111827;
    border-radius:14px;
    color:white;
    font-weight:600;
    transition:0.3s;
}

.nav-links .current{
    background:#7c3aed;
}

.nav-links a:hover{
    background:#8b5cf6;
}

/* =========================
   EMPTY
========================= */

.no-posts{
    text-align:center;
    padding:100px 0;
}

.no-posts h2{
    font-size:42px;
    margin-bottom:20px;
}

.no-posts p{
    color:#9ca3af;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

    .posts-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero-title{
        font-size:52px;
    }

}

@media(max-width:768px){

    .posts-grid{
        grid-template-columns:1fr;
    }

    .hero-title{
        font-size:42px;
    }

    .hero-description{
        font-size:17px;
    }

    .iptv-blog-hero{
        padding:90px 0;
    }

    .card-title a{
        font-size:22px;
    }

}