body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial;
    background:#f3f5f7;
    color:#111;
}

/* ===== NAV ===== */
.topbar{
    background:#fff;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    z-index:100;
}

.top-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo a{
    font-size:22px;
    font-weight:700;
    text-decoration:none;
    color:#000;
}

.nav a{
    margin-left:25px;
    text-decoration:none;
    color:#444;
    font-weight:500;
}

.nav a:hover{
    color:#000;
}

/* ===== SLIDER ===== */
.slider{
    overflow:hidden;
    background:#fff;
    margin-bottom:40px;
}

.slider-track{
    display:flex;
    transition:0.6s ease;
}

.slide{
    min-width:100%;
    position:relative;
    text-decoration:none;
    color:#fff;
}

.slide-img{
    height:380px;
    overflow:hidden;
}

.slide-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.slide-content{
    position:absolute;
    bottom:30px;
    left:30px;
    background:rgba(0,0,0,0.6);
    padding:20px;
    border-radius:8px;
}

/* ===== GRID ===== */
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card-link{
    text-decoration:none;
    color:inherit;
}

.card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 35px rgba(0,0,0,0.12);
}

/* FIX UNIFORM IMAGE SIZE */
.thumb-wrapper{
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
}

.thumb-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.placeholder{
    background:#ddd;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.card-body{
    padding:18px;
}

.card-body h3{
    margin:0 0 8px;
}

.card-body p{
    font-size:14px;
    color:#666;
    min-height:40px;
}

.category{
    font-size:12px;
    background:#f1f3f5;
    padding:5px 10px;
    border-radius:20px;
}

/* ===== FOOTER ===== */
.footer{
    text-align:center;
    padding:40px 0;
    background:#fff;
    margin-top:60px;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
    .nav{
        display:none;
    }
    .slide-img{
        height:250px;
    }
}

/* ===== NAV ===== */
.topbar{
    background:#fff;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    z-index:1000;
}

.top-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo a{
    font-size:22px;
    font-weight:700;
    text-decoration:none;
    color:#000;
}

/* Desktop nav */
.nav{
    display:flex;
}

.nav a{
    margin-left:25px;
    text-decoration:none;
    color:#444;
    font-weight:500;
}

/* Hamburger hidden on desktop */
.menu-toggle{
    display:none;
    font-size:24px;
    cursor:pointer;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav{
        position:absolute;
        top:60px;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        display:none;
        border-top:1px solid #eee;
    }

    .nav a{
        padding:15px;
        margin:0;
        border-bottom:1px solid #f1f1f1;
    }

    .nav.active{
        display:flex;
    }
}


/* FORM STYLE */
.modern-form {
    display:flex;
    flex-direction:column;
}

.modern-form label {
    margin-top:15px;
    font-weight:600;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    margin-top:5px;
    padding:12px;
    border-radius:8px;
    border:1px solid #ddd;
    font-size:14px;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    outline:none;
    border-color:#111;
}

.submit-btn {
    margin-top:25px;
    padding:14px;
    border:none;
    background:#111;
    color:#fff;
    font-size:15px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.submit-btn:hover {
    background:#333;
}


/* PRICING */
.pricing-header{
    text-align:center;
    margin:60px 0 40px;
}

.pricing-header h1{
    margin-bottom:10px;
}

.pricing-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-bottom:80px;
}

.pricing-card{
    background:#fff;
    border-radius:16px;
    padding:35px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    position:relative;
    transition:.3s;
}

.pricing-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 35px rgba(0,0,0,.12);
}

.price{
    font-size:32px;
    font-weight:700;
    margin:20px 0;
}

.pricing-card ul{
    list-style:none;
    padding:0;
    margin:20px 0;
}

.pricing-card ul li{
    margin:10px 0;
    color:#555;
}

.pricing-btn{
    display:inline-block;
    padding:12px 25px;
    border-radius:10px;
    text-decoration:none;
    background:#111;
    color:#fff;
    margin-top:15px;
    transition:.3s;
}

.pricing-btn:hover{
    background:#333;
}

.featured-plan{
    border:2px solid #111;
}

.popular-badge{
    position:absolute;
    top:-12px;
    left:50%;
    transform:translateX(-50%);
    background:#111;
    color:#fff;
    font-size:12px;
    padding:6px 12px;
    border-radius:20px;
}

.dark-btn{
    background:#000;
}

/* ===== AUTH & SUBMIT PREMIUM STYLE ===== */

.page-wrapper {
    min-height:80vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 20px;
}

.glass-card {
    width:100%;
    max-width:460px;
    background:#ffffff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 20px 60px rgba(0,0,0,0.08);
    transition:.3s ease;
}

.glass-card:hover {
    transform:translateY(-4px);
}

.glass-card h2 {
    text-align:center;
    margin-bottom:30px;
    font-weight:700;
}

.form-group {
    margin-bottom:20px;
}

.form-group label {
    font-weight:600;
    font-size:14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width:100%;
    margin-top:6px;
    padding:14px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:14px;
    transition:.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color:#111;
    outline:none;
}

.primary-btn {
    width:100%;
    padding:14px;
    border:none;
    border-radius:14px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.primary-btn:hover {
    background:#333;
}

.form-links {
    margin-top:20px;
    text-align:center;
    font-size:14px;
}

.form-links a {
    color:#111;
    text-decoration:none;
    font-weight:500;
}

.alert {
    padding:12px;
    border-radius:12px;
    margin-bottom:20px;
    font-size:14px;
}

.alert.success {
    background:#e6ffed;
}

.alert.error {
    background:#ffe6e6;
}

/* ================= SLIDER ================= */
.slider{
    overflow:hidden;
    position:relative;
}

.slider-track{
    display:flex;
    transition:0.6s ease;
}

.slide{
    min-width:100%;
    position:relative;
    text-decoration:none;
    color:#fff;
}

.slide-img{
    height:380px;
    overflow:hidden;
}

.slide-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.slide-overlay{
    position:absolute;
    bottom:30px;
    left:30px;
    background:rgba(0,0,0,0.6);
    padding:15px 20px;
    border-radius:10px;
}

/* ================= SEARCH ================= */
.search-section{
    display:flex;
    justify-content:center;
    margin:30px 0;
}

.search-form{
    display:flex;
    width:90%;
    max-width:600px;
}

.search-form input{
    flex:1;
    padding:14px;
    border-radius:12px 0 0 12px;
    border:1px solid #ddd;
    border-right:none;
}

.search-form button{
    padding:14px 25px;
    border:none;
    background:#111;
    color:#fff;
    border-radius:0 12px 12px 0;
    cursor:pointer;
}

.search-form button:hover{
    background:#333;
}

@media(max-width:768px){
    .slide-img{
        height:220px;
    }
}



/* ===== FEATURED CHANNEL ===== */

.featured-channel {
    margin:50px 0;
}

.section-title {
    margin-bottom:20px;
}

.channel-card {
    display:flex;
    align-items:center;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    text-decoration:none;
    color:#111;
    transition:.3s;
}

.channel-card:hover {
    transform:translateY(-4px);
    box-shadow:0 12px 35px rgba(0,0,0,.12);
}

.channel-thumb {
    width:320px;
    aspect-ratio:16/9;
    overflow:hidden;
}

.channel-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.channel-info {
    padding:25px;
}

.channel-info h3 {
    margin:0 0 10px;
}

.channel-info p {
    color:#666;
    margin-bottom:15px;
}

.channel-btn {
    font-size:14px;
    font-weight:600;
}

@media(max-width:768px){
    .channel-card {
        flex-direction:column;
    }

    .channel-thumb {
        width:100%;
    }
}