/* =============================
   MANGA TAKVİM - Summertoons v2
   ============================= */

:root {
    --st-accent:      #00c2c2;
    --st-accent-dark: #009999;
    --st-accent-glow: rgba(0, 194, 194, 0.22);
    --st-bg:          #111314;
    --st-card-bg:     #161a1b;
    --st-border:      #232829;
    --st-text:        #e2e8e8;
    --st-text-muted:  #7a8a8a;
    --st-radius:      8px;
}

.mt-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--st-text);
}

/* ---- SEKMELER ---- */
.mt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.mt-tab {
    background: var(--st-bg);
    border: 2px solid var(--st-border);
    color: var(--st-text-muted);
    padding: 10px 18px;
    border-radius: var(--st-radius);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 90px;
    transition: all 0.2s ease;
    flex: 1;
}
.mt-tab:hover { border-color: var(--st-accent); color: #fff; }
.mt-tab.active {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
    box-shadow: 0 4px 16px var(--st-accent-glow);
}
.mt-tab-tarih { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; opacity: 0.85; }
.mt-tab-gun   { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

/* ---- PANELLER ---- */
.mt-panel { display: none; }
.mt-panel.active { display: block; animation: mtFadeIn 0.25s ease; }
@keyframes mtFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- GRID ---- */
.mt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 20px;
}

/* ---- KART ---- */
.mt-card {
    display: flex;
    flex-direction: column;
    background: var(--st-card-bg);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mt-card:hover {
    transform: translateY(-5px);
    border-color: var(--st-accent);
    box-shadow: 0 10px 28px var(--st-accent-glow);
    color: inherit;
    text-decoration: none;
}

/* Kapak: daha büyük oran */
.mt-card-img {
    position: relative;
    width: 100%;
    padding-bottom: 145%;   /* ~2:3 manga kapak oranı */
    overflow: hidden;
    background: var(--st-bg);
}
.mt-card-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.mt-card:hover .mt-card-img img { transform: scale(1.06); }

.mt-card-info {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mt-card-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #f0f0f0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mt-card-bolum {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-accent);
}

/* ---- BOŞ DURUM ---- */
.mt-bos {
    text-align: center;
    padding: 60px 20px;
    color: var(--st-text-muted);
    font-size: 15px;
    border: 2px dashed var(--st-border);
    border-radius: var(--st-radius);
}

/* ---- MOBİL ---- */
@media (max-width: 600px) {
    .mt-tab { min-width: 70px; padding: 8px 10px; }
    .mt-tab-tarih { font-size: 10px; }
    .mt-tab-gun   { font-size: 12px; }
    .mt-grid {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 12px;
    }
}
