*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,system-ui;
}


/* =====================
   TOPBAR
===================== */
.topbar{
    height:60px;
    display:flex;
    align-items:center;
    padding:0 20px;
    background:var(--card);
    border-bottom:1px solid var(--border);
}

.logo{
    font-weight:700;
    font-size:20px;
    color:var(--text);
}

.search{
    margin-left:auto;
    padding:10px 16px;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:20px;
    color:var(--text);
    outline:none;
}

.search::placeholder{
    color:var(--muted);
}

/* =====================
   LAYOUT
===================== */
.watch-wrapper{
    display:flex;
    height:calc(100vh - 60px);
}

/* =====================
   VIDEO
===================== */
.video-area{
    flex:1;
    background:#000;
}

.video-area iframe{
    width:100%;
    height:100%;
    border:0;
}



/* Mobil */
@media(max-width:900px){
  .video-area {
    width: 100%;
    max-width: 100%;
    position: relative;
    background:#000;
    /* aspect ratio: 16:9 */
    aspect-ratio: 10 / 9;
}

.video-area iframe {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:0;
}

}

/* =====================
   SIDEBAR
===================== */
.sidebar{
    width:380px;
    padding:20px;
    background:var(--card);
    border-left:1px solid var(--border);
    overflow-y:auto;
        border: dotted;
}

.stats{
    color:var(--muted);
    margin:10px 0;
    font-size:14px;
}

.desc{
    color:var(--text);
    opacity:.85;
    font-size:14px;
    line-height:1.6;
}

/* =====================
   EPISODE TABS
===================== */
.episode-tabs{
    margin-top:20px;
}

.episode-tabs span{
    margin-right:12px;
    color:var(--muted);
    cursor:pointer;
    font-size:14px;
}

.episode-tabs .active{
    color:var(--primary);
    font-weight:600;
}

/* =====================
   EPISODE GRID
===================== */
.episode-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
    margin-top:15px;
}

.episode-grid a{
    text-align:center;
    padding:10px;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:10px;
    text-decoration:none;
    color:var(--text);
    font-size:14px;
    transition:.2s;
}

.episode-grid a:hover{
    background:var(--primary);
    color:#fff;
}

.episode-grid a.active{
    background:linear-gradient(135deg,#facc15,#f97316);
    color:#000;
    font-weight:700;
}

/* =====================
   ADS
===================== */
.ad-native{
    margin-top:20px;
    padding:12px;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:10px;
    color:var(--muted);
    font-size:13px;
    text-align:center;
}

/* =====================
   MOB力L
===================== */
@media(max-width:900px){
    .watch-wrapper{
        flex-direction:column;
        height:auto;
    }

    .sidebar{
        width:100%;
        border-left:0;
        border-top:1px solid var(--border);
    }

    .video-area{
        height:360px; /* önce 240px idi, şimdi daha uzun */
    }

    .episode-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

a {
    text-decoration: none;
}
.menu a {
    text-decoration: none !important;
}