/* =========================================
   GENEL DEĞİŞKENLER VE TEMALAR (Hiraisen Sakura)
========================================= */
html, body {
    width: 100%;
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    display: block;
}
:root { --plyr-color-main: #ffb7c5; --plyr-video-background: #000; }
[data-theme="light"] { --bg-color: #fff5f7; --text-color: #4a0e1c; --card-bg: #ffffff; --primary-color: #ff8fa3; --primary-hover: #ff5d7d; --navbar-bg: #ffffff; --border-color: #ffdae0; --input-bg: #fff0f3; }
[data-theme="dark"] { --bg-color: #0f0f0f; --text-color: #fce4ec; --card-bg: #1a1a1a; --primary-color: #ffb7c5; --primary-hover: #ff8fa3; --navbar-bg: #0f0f0f; --border-color: #2d1b24; --input-bg: #2d1b24; }
[data-theme="midnight"] { --bg-color: #0d0d0f; --text-color: #fce4ec; --card-bg: #16161a; --primary-color: #ffb7c5; --primary-hover: #ff8fa3; --navbar-bg: #0d0d0f; --border-color: rgba(255, 183, 197, 0.15); --input-bg: #1c1c21; }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
body { background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { padding: 2rem 5%; }

/* =========================================
   GENEL: NAVBAR & ORTAK BUTONLAR
========================================= */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background-color: var(--navbar-bg); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.transparent-nav { background-color: rgba(0,0,0,0.5); border-bottom: none; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); position: fixed; width: 100%; transition: 0.4s ease; }
.logo { font-size: 2.2rem; font-weight: 900; cursor: pointer; display: flex; align-items: center; letter-spacing: -1.5px; }
.logo-text { color: #fff; }
.logo-blue { color: var(--primary-color); text-shadow: 0 0 15px rgba(255, 183, 197, 0.4); }

.search-container { position: relative; width: 40%; max-width: 500px; }
.search-container input { width: 100%; padding: 12px 15px 12px 45px; border-radius: 30px; border: 1px solid var(--border-color); background-color: rgba(255,255,255,0.05); backdrop-filter: blur(5px); color: #fff; outline: none; font-size: 1rem; transition: 0.3s; }
.search-container input:focus { border-color: var(--primary-color); background-color: rgba(0,0,0,0.7); box-shadow: 0 0 15px rgba(255, 183, 197, 0.3); }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--primary-color); opacity: 0.7; }

.theme-toggle-btn { background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.theme-toggle-btn:hover { background-color: var(--primary-color); color: #000; transform: rotate(15deg) scale(1.1); border-color: transparent; }

.btn-primary { background-color: var(--primary-color); color: #4a0e1c; border: none; padding: 0.8rem 1.5rem; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { filter: brightness(1.1); color: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); padding: 0.5rem 1rem; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { background-color: var(--primary-color); color: #000; }
.glass-panel { background: rgba(45, 27, 36, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 183, 197, 0.1); border-radius: 12px; }

/* =========================================
   ANA SAYFA: MANŞET (HERO)
========================================= */
/* =========================================
   ANA SAYFA: MANŞET (HERO)
========================================= */
@keyframes slideUpFade { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounceArrow { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

.hero-slider-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SLIDE KATMANI */
.hero-modern {
    position: absolute;
    inset: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    padding: 0 8%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.hero-modern.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-color) 0%, rgba(13, 13, 15, 0.4) 40%, transparent 100%),
                linear-gradient(0deg, var(--bg-color) 0%, transparent 30%);
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin-top: 40px;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 183, 197, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(255, 183, 197, 0.3);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title-modern {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
    letter-spacing: -2px;
}

.hero-meta-modern {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.meta-tag-modern {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.meta-tag-modern.match {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.08);
}

.meta-tag-modern.quality {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-desc-modern {
    font-size: 1.3rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    font-weight: 400;
    max-width: 90%;
}

.hero-buttons-modern {
    display: flex;
    gap: 20px;
}

.btn-play-modern {
    background: var(--primary-color);
    color: #4a0e1c;
    border: none;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-play-modern:hover {
    transform: translateY(-4px);
    background: #fff;
    color: #000;
}

.btn-info-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-info-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 183, 197, 0.5);
    font-size: 2rem;
    z-index: 5;
    animation: bounceArrow 2s infinite;
}
/* =========================================
   ANA SAYFA: ANİME KARTLARI
========================================= */
.main-content { position: relative; z-index: 10; margin-top: -60px; padding-bottom: 50px; }
.slider-container { margin-bottom: 3rem; padding-left: 5%; }
.row-title { color: var(--text-color); font-size: 1.4rem; margin-bottom: 15px; border-left: 4px solid var(--primary-color); padding-left: 12px; display: flex; align-items: center; gap: 10px; }
.row-inner { display: flex; gap: 20px; overflow-x: auto; padding: 10px 5% 30px 0; scroll-behavior: smooth; scrollbar-width: none; }
.row-inner::-webkit-scrollbar { display: none; }

.anime-card { flex: 0 0 280px; background-color: var(--card-bg); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.3); cursor: pointer; position: relative; transition: 0.3s; border: 1px solid var(--border-color); }
.anime-card:hover { transform: translateY(-8px); border-bottom: 4px solid var(--primary-color); }
.anime-image { height: 180px; width: 100%; position: relative; background-size: cover; background-position: center; transition: 0.4s; }
.anime-card:hover .anime-image { filter: brightness(1.1); }
.tags-container { position: absolute; top: 12px; right: 12px; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.category-tag { background: rgba(0, 0, 0, 0.7); color: var(--primary-color); padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: bold; border: 1px solid rgba(255, 183, 197, 0.3); }
.anime-info { padding: 1.2rem; background: var(--card-bg); }
.anime-info h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--text-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.anime-info p { color: #888; font-size: 0.95rem; font-weight: 500; }
.anime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

/* Filtreleme Select Tasarımı */
select.pro-input { background-color: #0d0d0f; color: #fff; border: 1px solid var(--border-color); padding: 10px 15px; border-radius: 8px; outline: none; cursor: pointer; appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffb7c5%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 1rem top 50%; background-size: 0.65rem auto; }
select.pro-input:focus { border-color: var(--primary-color); }

/* =========================================
   İZLEME SAYFASI (WATCH)
========================================= */
.ani-watch-body { background-color: #0b0b0c; min-height: 100vh; }
.ani-container { max-width: 1550px; margin: 0 auto; padding: 20px 3%; position: relative; }

.ani-breadcrumb { font-size: 0.85rem; color: #71717a; margin-bottom: 20px; font-weight: 500; }
.ani-breadcrumb a { color: #a1a1aa; transition: 0.2s; }
.ani-breadcrumb a:hover { color: var(--primary-color); }
.ani-breadcrumb i { margin: 0 8px; font-size: 0.7rem; }
.active-bread { color: #fff; }

.ani-watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; align-items: start; }

.ani-main-col { display: flex; flex-direction: column; gap: 15px; }
.ani-player-box { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); position: relative; }
.ani-player-box iframe, .ani-player-box video { width: 100%; height: 100%; border: none; object-fit: contain; }

.skip-btn { position: absolute; bottom: 60px; right: 20px; background: rgba(0,0,0,0.8); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 15px; border-radius: 4px; font-weight: 600; cursor: pointer; opacity: 0; transition: 0.3s; z-index: 50; }
.ani-player-box:hover .skip-btn { opacity: 1; }
.skip-btn:hover { background: #fff; color: #000; }

.ani-player-controls { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #18181b; border-radius: 8px; border: 1px solid var(--border-color); }
.ctrl-left, .ctrl-right { display: flex; align-items: center; gap: 15px; }
.ctrl-btn { background: transparent; border: none; color: #a1a1aa; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s; }
.ctrl-btn:hover { color: var(--primary-color); }
.ctrl-btn:disabled { color: #3f3f46; cursor: not-allowed; }
.ctrl-btn-icon { background: transparent; border: none; color: #a1a1aa; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
.ctrl-btn-icon:hover { color: #fff; }

/* Toggle */
.toggle-group { display: flex; align-items: center; gap: 10px; color: #a1a1aa; font-size: 0.9rem; font-weight: 600; border-right: 1px solid #27272a; padding-right: 15px; }
.switch { position: relative; display: inline-block; width: 34px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #3f3f46; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary-color); }
input:checked + .slider:before { transform: translateX(16px); }

/* BİLGİ (KONU) ALANI */
.ani-info-box { background: #18181b; padding: 25px; display: flex; flex-direction: column; gap: 20px; border-radius: 12px; border: 1px solid var(--border-color); }
.info-header { display: flex; gap: 20px; align-items: flex-start; border-bottom: 1px solid #27272a; padding-bottom: 20px; }
.info-cover { width: 90px; height: 130px; object-fit: cover; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.info-meta h1 { font-size: 1.8rem; color: #fff; font-weight: 800; margin-bottom: 10px; }
.tag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: 0.8rem; }
.quality-badge { background: var(--primary-color); color: #4a0e1c; padding: 2px 6px; border-radius: 4px; }
.sub-badge { background: #4ade80; color: #000; padding: 2px 6px; border-radius: 4px; }
.pg-badge { border: 1px solid #71717a; color: #a1a1aa; padding: 2px 6px; border-radius: 4px; }
.dot-sep { color: #52525b; }
#watchMetaText { color: #d4d4d8; font-weight: 500; font-size: 0.95rem; }

.info-synopsis h3 { font-size: 1rem; color: #e4e4e7; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.info-synopsis h3 i { color: var(--primary-color); }
.info-synopsis p { color: #a1a1aa; font-size: 0.95rem; line-height: 1.6; }

/* SAĞ: Sunucular ve Bölümler */
.ani-sidebar-col { display: flex; flex-direction: column; gap: 15px; }
.ani-sidebar-box { background: #18181b; padding: 15px; border-radius: 12px; border: 1px solid var(--border-color); }
.box-header { color: #fff; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.box-header i { color: var(--primary-color); }

.server-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.server-btn { background: #27272a; border: none; color: #d4d4d8; padding: 10px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.2s; }
.server-btn:hover { background: #3f3f46; color: #fff; }
.server-btn.active { background: var(--primary-color); color: #4a0e1c; }

.search-ep input { background: #09090b; border: 1px solid #27272a; color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 0.8rem; width: 120px; outline: none; }
.search-ep input:focus { border-color: var(--primary-color); }

.ep-list-container { max-height: 500px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 5px; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; }
.ep-list-container::-webkit-scrollbar { width: 5px; }
.ep-list-container::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 10px; }

.ani-ep-item { display: flex; align-items: center; padding: 10px; background: #09090b; border-radius: 4px; cursor: pointer; border-left: 3px solid transparent; transition: 0.2s; }
.ani-ep-item:hover { background: #27272a; }
.ani-ep-item.active { background: rgba(255, 183, 197, 0.1); border-color: var(--primary-color); }
.ani-ep-num { font-size: 0.9rem; font-weight: 700; color: #fff; width: 35px; }
.ani-ep-name { font-size: 0.85rem; color: #a1a1aa; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ani-ep-play { color: var(--primary-color); font-size: 0.8rem; opacity: 0; transition: 0.2s; }
.ani-ep-item:hover .ani-ep-play, .ani-ep-item.active .ani-ep-play { opacity: 1; }

.cinema-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 999; display: none; }

/* =========================================
   PROFESYONEL ADMIN DASHBOARD
========================================= */
.pro-admin-body { background-color: #050505; color: #e4e4e7; height: 100vh; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.admin-layout { display: flex; height: 100vh; }

.admin-sidebar { width: 280px; background: #0d0d0f; border-right: 1px solid #1f1f22; display: flex; flex-direction: column; }
.admin-logo { padding: 30px 20px; border-bottom: 1px solid #1f1f22; }
.admin-logo .logo-text, .admin-logo .logo-blue { font-size: 2rem; font-weight: 900; }
.admin-logo p { color: #71717a; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }
.admin-nav { padding: 20px 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.admin-nav a { padding: 15px 25px; color: #a1a1aa; font-weight: 600; display: flex; align-items: center; gap: 15px; transition: 0.2s; border-left: 3px solid transparent; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255, 183, 197, 0.05); color: #fff; border-left-color: var(--primary-color); }
.admin-nav a i { width: 20px; text-align: center; font-size: 1.1rem; }
.admin-footer-nav { padding: 20px; border-top: 1px solid #1f1f22; }
.back-site-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #1f1f22; color: #fff; padding: 12px; border-radius: 6px; font-weight: bold; transition: 0.2s; }
.back-site-btn:hover { background: #2d2d33; color: var(--primary-color); }

.admin-main { flex: 1; overflow-y: auto; background: #050505; scrollbar-width: thin; scrollbar-color: #2d2d33 #050505; }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: rgba(13, 13, 15, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid #1f1f22; position: sticky; top: 0; z-index: 10; }
.admin-header h2 { font-size: 1.5rem; font-weight: 700; color: #fff; }
.admin-profile { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.admin-profile img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #1f1f22; }
.admin-content { padding: 40px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: #0d0d0f; border: 1px solid #1f1f22; border-radius: 12px; padding: 25px; display: flex; align-items: center; gap: 20px; transition: 0.3s; }
.stat-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 10px 20px rgba(255, 183, 197, 0.1); }
.stat-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: rgba(255, 183, 197, 0.1); color: var(--primary-color); }
.stat-info h3 { color: #a1a1aa; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 5px; }
.stat-info p { color: #fff; font-size: 1.8rem; font-weight: 800; }

.admin-forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.admin-card { background: #0d0d0f; border: 1px solid #1f1f22; border-radius: 12px; padding: 30px; }
.danger-card { border-color: rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.02); }
.card-header { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #1f1f22; }
.card-header i { color: var(--primary-color); }

.pro-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; color: #a1a1aa; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.pro-input { width: 100%; background: #050505; border: 1px solid #1f1f22; color: #fff; padding: 14px; border-radius: 8px; font-size: 0.95rem; outline: none; transition: 0.2s; }
.pro-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(255, 183, 197, 0.1); }
textarea.pro-input { resize: vertical; min-height: 100px; }

.sub-heading { color: var(--primary-color); font-size: 1rem; margin-top: 10px; }
.pro-checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #050505; padding: 15px; border-radius: 8px; border: 1px solid #1f1f22; }
.pro-checkbox-grid label { display: flex; align-items: center; gap: 8px; color: #d4d4d8; cursor: pointer; }

.pro-submit-btn { background: var(--primary-color); color: #4a0e1c; border: none; padding: 16px; border-radius: 8px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.pro-submit-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* Sürükle Bırak (Drag & Drop) Liste Stilleri */
.pro-sortable-list { max-height: 350px; overflow-y: auto; padding-right: 5px; }
.pro-sortable-list::-webkit-scrollbar { width: 5px; }
.pro-sortable-list::-webkit-scrollbar-thumb { background: #2d2d33; border-radius: 10px; }
.sortable-item { display: flex; justify-content: space-between; align-items: center; background: #050505; padding: 12px 15px; border-radius: 6px; border: 1px solid #1f1f22; margin-bottom: 8px; cursor: grab; transition: transform 0.2s; }
.sortable-item:active { cursor: grabbing; }
.sortable-item.dragging { opacity: 0.5; border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(255, 183, 197, 0.2); }
.drag-handle { color: #71717a; margin-right: 15px; font-size: 1.2rem; cursor: grab; }
.sortable-info { flex: 1; color: #d4d4d8; font-weight: 500; font-size: 0.95rem; }

.btn-sm-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 0.8rem; font-weight: bold; transition: 0.2s; }
.btn-sm-danger:hover { background: #ef4444; color: #fff; }
/* =========================================
   MOBİL & TABLET RESPONSIVE (TEMİZ)
========================================= */

/* TABLET */
@media (max-width: 1024px) {

    .container {
        padding: 1.5rem 4%;
    }

    .anime-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .ani-watch-grid {
        grid-template-columns: 1fr;
    }

    .admin-forms-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   GENEL DEĞİŞKENLER VE TEMALAR (Hiraisen Sakura)
========================================= */
html, body {
    width: 100%;
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    display: block;
}
:root { --plyr-color-main: #ffb7c5; --plyr-video-background: #000; }
[data-theme="light"] { --bg-color: #fff5f7; --text-color: #4a0e1c; --card-bg: #ffffff; --primary-color: #ff8fa3; --primary-hover: #ff5d7d; --navbar-bg: #ffffff; --border-color: #ffdae0; --input-bg: #fff0f3; }
[data-theme="dark"] { --bg-color: #0f0f0f; --text-color: #fce4ec; --card-bg: #1a1a1a; --primary-color: #ffb7c5; --primary-hover: #ff8fa3; --navbar-bg: #0f0f0f; --border-color: #2d1b24; --input-bg: #2d1b24; }
[data-theme="midnight"] { --bg-color: #0d0d0f; --text-color: #fce4ec; --card-bg: #16161a; --primary-color: #ffb7c5; --primary-hover: #ff8fa3; --navbar-bg: #0d0d0f; --border-color: rgba(255, 183, 197, 0.15); --input-bg: #1c1c21; }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
body { background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { padding: 2rem 5%; }

/* =========================================
   GENEL: NAVBAR & ORTAK BUTONLAR
========================================= */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background-color: var(--navbar-bg); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.transparent-nav { background-color: rgba(0,0,0,0.5); border-bottom: none; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); position: fixed; width: 100%; transition: 0.4s ease; }
.logo { font-size: 2.2rem; font-weight: 900; cursor: pointer; display: flex; align-items: center; letter-spacing: -1.5px; }
.logo-text { color: #fff; }
.logo-blue { color: var(--primary-color); text-shadow: 0 0 15px rgba(255, 183, 197, 0.4); }

.search-container { position: relative; width: 40%; max-width: 500px; }
.search-container input { width: 100%; padding: 12px 15px 12px 45px; border-radius: 30px; border: 1px solid var(--border-color); background-color: rgba(255,255,255,0.05); backdrop-filter: blur(5px); color: #fff; outline: none; font-size: 1rem; transition: 0.3s; }
.search-container input:focus { border-color: var(--primary-color); background-color: rgba(0,0,0,0.7); box-shadow: 0 0 15px rgba(255, 183, 197, 0.3); }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--primary-color); opacity: 0.7; }

.theme-toggle-btn { background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.theme-toggle-btn:hover { background-color: var(--primary-color); color: #000; transform: rotate(15deg) scale(1.1); border-color: transparent; }

.btn-primary { background-color: var(--primary-color); color: #4a0e1c; border: none; padding: 0.8rem 1.5rem; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { filter: brightness(1.1); color: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); padding: 0.5rem 1rem; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { background-color: var(--primary-color); color: #000; }
.glass-panel { background: rgba(45, 27, 36, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 183, 197, 0.1); border-radius: 12px; }

/* =========================================
   ANA SAYFA: MANŞET (HERO)
========================================= */
/* =========================================
   ANA SAYFA: MANŞET (HERO)
========================================= */
@keyframes slideUpFade { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounceArrow { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

.hero-slider-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SLIDE KATMANI */
.hero-modern {
    position: absolute;
    inset: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    padding: 0 8%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.hero-modern.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-color) 0%, rgba(13, 13, 15, 0.4) 40%, transparent 100%),
                linear-gradient(0deg, var(--bg-color) 0%, transparent 30%);
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin-top: 40px;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 183, 197, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(255, 183, 197, 0.3);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title-modern {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
    letter-spacing: -2px;
}

.hero-meta-modern {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.meta-tag-modern {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.meta-tag-modern.match {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.08);
}

.meta-tag-modern.quality {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-desc-modern {
    font-size: 1.3rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    font-weight: 400;
    max-width: 90%;
}

.hero-buttons-modern {
    display: flex;
    gap: 20px;
}

.btn-play-modern {
    background: var(--primary-color);
    color: #4a0e1c;
    border: none;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-play-modern:hover {
    transform: translateY(-4px);
    background: #fff;
    color: #000;
}

.btn-info-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-info-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 183, 197, 0.5);
    font-size: 2rem;
    z-index: 5;
    animation: bounceArrow 2s infinite;
}
/* =========================================
   ANA SAYFA: ANİME KARTLARI
========================================= */
.main-content { position: relative; z-index: 10; margin-top: -60px; padding-bottom: 50px; }
.slider-container { margin-bottom: 3rem; padding-left: 5%; }
.row-title { color: var(--text-color); font-size: 1.4rem; margin-bottom: 15px; border-left: 4px solid var(--primary-color); padding-left: 12px; display: flex; align-items: center; gap: 10px; }
.row-inner { display: flex; gap: 20px; overflow-x: auto; padding: 10px 5% 30px 0; scroll-behavior: smooth; scrollbar-width: none; }
.row-inner::-webkit-scrollbar { display: none; }

.anime-card { flex: 0 0 280px; background-color: var(--card-bg); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.3); cursor: pointer; position: relative; transition: 0.3s; border: 1px solid var(--border-color); }
.anime-card:hover { transform: translateY(-8px); border-bottom: 4px solid var(--primary-color); }
.anime-image { height: 180px; width: 100%; position: relative; background-size: cover; background-position: center; transition: 0.4s; }
.anime-card:hover .anime-image { filter: brightness(1.1); }
.tags-container { position: absolute; top: 12px; right: 12px; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.category-tag { background: rgba(0, 0, 0, 0.7); color: var(--primary-color); padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: bold; border: 1px solid rgba(255, 183, 197, 0.3); }
.anime-info { padding: 1.2rem; background: var(--card-bg); }
.anime-info h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--text-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.anime-info p { color: #888; font-size: 0.95rem; font-weight: 500; }
.anime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

/* Filtreleme Select Tasarımı */
select.pro-input { background-color: #0d0d0f; color: #fff; border: 1px solid var(--border-color); padding: 10px 15px; border-radius: 8px; outline: none; cursor: pointer; appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffb7c5%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 1rem top 50%; background-size: 0.65rem auto; }
select.pro-input:focus { border-color: var(--primary-color); }

/* =========================================
   İZLEME SAYFASI (WATCH)
========================================= */
.ani-watch-body { background-color: #0b0b0c; min-height: 100vh; }
.ani-container { max-width: 1550px; margin: 0 auto; padding: 20px 3%; position: relative; }

.ani-breadcrumb { font-size: 0.85rem; color: #71717a; margin-bottom: 20px; font-weight: 500; }
.ani-breadcrumb a { color: #a1a1aa; transition: 0.2s; }
.ani-breadcrumb a:hover { color: var(--primary-color); }
.ani-breadcrumb i { margin: 0 8px; font-size: 0.7rem; }
.active-bread { color: #fff; }

.ani-watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; align-items: start; }

.ani-main-col { display: flex; flex-direction: column; gap: 15px; }
.ani-player-box { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); position: relative; }
.ani-player-box iframe, .ani-player-box video { width: 100%; height: 100%; border: none; object-fit: contain; }

.skip-btn { position: absolute; bottom: 60px; right: 20px; background: rgba(0,0,0,0.8); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 15px; border-radius: 4px; font-weight: 600; cursor: pointer; opacity: 0; transition: 0.3s; z-index: 50; }
.ani-player-box:hover .skip-btn { opacity: 1; }
.skip-btn:hover { background: #fff; color: #000; }

.ani-player-controls { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #18181b; border-radius: 8px; border: 1px solid var(--border-color); }
.ctrl-left, .ctrl-right { display: flex; align-items: center; gap: 15px; }
.ctrl-btn { background: transparent; border: none; color: #a1a1aa; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s; }
.ctrl-btn:hover { color: var(--primary-color); }
.ctrl-btn:disabled { color: #3f3f46; cursor: not-allowed; }
.ctrl-btn-icon { background: transparent; border: none; color: #a1a1aa; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
.ctrl-btn-icon:hover { color: #fff; }

/* Toggle */
.toggle-group { display: flex; align-items: center; gap: 10px; color: #a1a1aa; font-size: 0.9rem; font-weight: 600; border-right: 1px solid #27272a; padding-right: 15px; }
.switch { position: relative; display: inline-block; width: 34px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #3f3f46; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary-color); }
input:checked + .slider:before { transform: translateX(16px); }

/* BİLGİ (KONU) ALANI */
.ani-info-box { background: #18181b; padding: 25px; display: flex; flex-direction: column; gap: 20px; border-radius: 12px; border: 1px solid var(--border-color); }
.info-header { display: flex; gap: 20px; align-items: flex-start; border-bottom: 1px solid #27272a; padding-bottom: 20px; }
.info-cover { width: 90px; height: 130px; object-fit: cover; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.info-meta h1 { font-size: 1.8rem; color: #fff; font-weight: 800; margin-bottom: 10px; }
.tag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: 0.8rem; }
.quality-badge { background: var(--primary-color); color: #4a0e1c; padding: 2px 6px; border-radius: 4px; }
.sub-badge { background: #4ade80; color: #000; padding: 2px 6px; border-radius: 4px; }
.pg-badge { border: 1px solid #71717a; color: #a1a1aa; padding: 2px 6px; border-radius: 4px; }
.dot-sep { color: #52525b; }
#watchMetaText { color: #d4d4d8; font-weight: 500; font-size: 0.95rem; }

.info-synopsis h3 { font-size: 1rem; color: #e4e4e7; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.info-synopsis h3 i { color: var(--primary-color); }
.info-synopsis p { color: #a1a1aa; font-size: 0.95rem; line-height: 1.6; }

/* SAĞ: Sunucular ve Bölümler */
.ani-sidebar-col { display: flex; flex-direction: column; gap: 15px; }
.ani-sidebar-box { background: #18181b; padding: 15px; border-radius: 12px; border: 1px solid var(--border-color); }
.box-header { color: #fff; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.box-header i { color: var(--primary-color); }

.server-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.server-btn { background: #27272a; border: none; color: #d4d4d8; padding: 10px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.2s; }
.server-btn:hover { background: #3f3f46; color: #fff; }
.server-btn.active { background: var(--primary-color); color: #4a0e1c; }

.search-ep input { background: #09090b; border: 1px solid #27272a; color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 0.8rem; width: 120px; outline: none; }
.search-ep input:focus { border-color: var(--primary-color); }

.ep-list-container { max-height: 500px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 5px; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; }
.ep-list-container::-webkit-scrollbar { width: 5px; }
.ep-list-container::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 10px; }

.ani-ep-item { display: flex; align-items: center; padding: 10px; background: #09090b; border-radius: 4px; cursor: pointer; border-left: 3px solid transparent; transition: 0.2s; }
.ani-ep-item:hover { background: #27272a; }
.ani-ep-item.active { background: rgba(255, 183, 197, 0.1); border-color: var(--primary-color); }
.ani-ep-num { font-size: 0.9rem; font-weight: 700; color: #fff; width: 35px; }
.ani-ep-name { font-size: 0.85rem; color: #a1a1aa; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ani-ep-play { color: var(--primary-color); font-size: 0.8rem; opacity: 0; transition: 0.2s; }
.ani-ep-item:hover .ani-ep-play, .ani-ep-item.active .ani-ep-play { opacity: 1; }

.cinema-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 999; display: none; }

/* =========================================
   PROFESYONEL ADMIN DASHBOARD
========================================= */
.pro-admin-body { background-color: #050505; color: #e4e4e7; height: 100vh; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.admin-layout { display: flex; height: 100vh; }

.admin-sidebar { width: 280px; background: #0d0d0f; border-right: 1px solid #1f1f22; display: flex; flex-direction: column; }
.admin-logo { padding: 30px 20px; border-bottom: 1px solid #1f1f22; }
.admin-logo .logo-text, .admin-logo .logo-blue { font-size: 2rem; font-weight: 900; }
.admin-logo p { color: #71717a; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }
.admin-nav { padding: 20px 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.admin-nav a { padding: 15px 25px; color: #a1a1aa; font-weight: 600; display: flex; align-items: center; gap: 15px; transition: 0.2s; border-left: 3px solid transparent; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255, 183, 197, 0.05); color: #fff; border-left-color: var(--primary-color); }
.admin-nav a i { width: 20px; text-align: center; font-size: 1.1rem; }
.admin-footer-nav { padding: 20px; border-top: 1px solid #1f1f22; }
.back-site-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #1f1f22; color: #fff; padding: 12px; border-radius: 6px; font-weight: bold; transition: 0.2s; }
.back-site-btn:hover { background: #2d2d33; color: var(--primary-color); }

.admin-main { flex: 1; overflow-y: auto; background: #050505; scrollbar-width: thin; scrollbar-color: #2d2d33 #050505; }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: rgba(13, 13, 15, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid #1f1f22; position: sticky; top: 0; z-index: 10; }
.admin-header h2 { font-size: 1.5rem; font-weight: 700; color: #fff; }
.admin-profile { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.admin-profile img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #1f1f22; }
.admin-content { padding: 40px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: #0d0d0f; border: 1px solid #1f1f22; border-radius: 12px; padding: 25px; display: flex; align-items: center; gap: 20px; transition: 0.3s; }
.stat-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 10px 20px rgba(255, 183, 197, 0.1); }
.stat-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: rgba(255, 183, 197, 0.1); color: var(--primary-color); }
.stat-info h3 { color: #a1a1aa; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 5px; }
.stat-info p { color: #fff; font-size: 1.8rem; font-weight: 800; }

.admin-forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.admin-card { background: #0d0d0f; border: 1px solid #1f1f22; border-radius: 12px; padding: 30px; }
.danger-card { border-color: rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.02); }
.card-header { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #1f1f22; }
.card-header i { color: var(--primary-color); }

.pro-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; color: #a1a1aa; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.pro-input { width: 100%; background: #050505; border: 1px solid #1f1f22; color: #fff; padding: 14px; border-radius: 8px; font-size: 0.95rem; outline: none; transition: 0.2s; }
.pro-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(255, 183, 197, 0.1); }
textarea.pro-input { resize: vertical; min-height: 100px; }

.sub-heading { color: var(--primary-color); font-size: 1rem; margin-top: 10px; }
.pro-checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #050505; padding: 15px; border-radius: 8px; border: 1px solid #1f1f22; }
.pro-checkbox-grid label { display: flex; align-items: center; gap: 8px; color: #d4d4d8; cursor: pointer; }

.pro-submit-btn { background: var(--primary-color); color: #4a0e1c; border: none; padding: 16px; border-radius: 8px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.pro-submit-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* Sürükle Bırak (Drag & Drop) Liste Stilleri */
.pro-sortable-list { max-height: 350px; overflow-y: auto; padding-right: 5px; }
.pro-sortable-list::-webkit-scrollbar { width: 5px; }
.pro-sortable-list::-webkit-scrollbar-thumb { background: #2d2d33; border-radius: 10px; }
.sortable-item { display: flex; justify-content: space-between; align-items: center; background: #050505; padding: 12px 15px; border-radius: 6px; border: 1px solid #1f1f22; margin-bottom: 8px; cursor: grab; transition: transform 0.2s; }
.sortable-item:active { cursor: grabbing; }
.sortable-item.dragging { opacity: 0.5; border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(255, 183, 197, 0.2); }
.drag-handle { color: #71717a; margin-right: 15px; font-size: 1.2rem; cursor: grab; }
.sortable-info { flex: 1; color: #d4d4d8; font-weight: 500; font-size: 0.95rem; }

.btn-sm-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 0.8rem; font-weight: bold; transition: 0.2s; }
.btn-sm-danger:hover { background: #ef4444; color: #fff; }
/* =========================================
   WATCH SAYFASI - SADECE BU SAYFAYA UYGULA
========================================= */
/* =========================================
   WATCH SAYFASI - TAMİR EDİLMİŞ CSS
========================================= */

/* Ana Izgara Yapısı */
.watch-page {
    padding: 80px 4% 40px; /* Üstten navbar payı bırakıldı */
    min-height: 100vh;
}

.ani-watch-grid {
    display: grid;
    grid-template-columns: 1fr 380px; /* Video geniş, liste sabit */
    gap: 25px;
    align-items: start;
}

/* PLAYER WRAPPER (En Kritik Yer) */
.player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Boyutu asla bozulmaz */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

/* iFrame Fix: Drive ve diğer playerlar için */
#artplayer, .player-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* DETAY KARTI */
.ani-details-card {
    background: var(--card-bg);
    margin-top: 20px;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.ani-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.ani-title { font-size: 1.8rem; font-weight: 800; color: #fff; }

/* BÖLÜM LİSTESİ (SIDEBAR) */
.watch-sidebar {
    position: sticky;
    top: 100px; /* Navbar'ın altında yapışık kalır */
}

.ep-list-container {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.ep-list-header {
    background: rgba(255, 183, 197, 0.1);
    padding: 15px 20px;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.ep-list-scroll {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px;
}

/* Bölüm Öğeleri */
.ani-ep-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.ani-ep-item:hover { background: rgba(255, 183, 197, 0.1); }
.ani-ep-item.active {
    background: var(--primary-color);
    color: #4a0e1c;
}

/* MOBİL TAMİR (Responsive) */
@media (max-width: 1100px) {
    .ani-watch-grid {
        grid-template-columns: 1fr; /* Bölümler alta iner */
    }
    .watch-sidebar {
        position: static;
    }
    .ep-list-scroll {
        max-height: 400px;
    }
}

@media (max-width: 600px) {
    .ani-details-header { flex-direction: column; gap: 15px; }
    .ani-title { font-size: 1.4rem; }
}/* =========================================
   MOBİL & TABLET RESPONSIVE DÜZENLEME
========================================= */

/* 1. Tablet ve Küçük Laptoplar (1024px altı) */
@media (max-width: 1024px) {
    .ani-watch-grid {
        grid-template-columns: 1fr; /* Videoyu ve listeyi alt alta getirir */
        gap: 15px;
    }

    .container {
        padding: 1rem 4%;
    }

    .admin-forms-grid {
        grid-template-columns: 1fr;
    }
}

/* 2. Telefonlar (768px altı) */
@media (max-width: 768px) {
    /* Navbar Düzenlemeleri */
    .navbar {
        padding: 0.8rem 4%;
    }

    .logo {
        font-size: 1.6rem; /* Logo boyutunu küçültür */
    }

    .search-container {
        display: none; /* Mobilde arama çubuğunu gizler (yer kaplamasın diye) */
    }

    /* Hero (Manşet) Alanı */
    .hero-content-modern {
        padding: 0 5%;
        margin-top: 20px;
        text-align: center; /* Mobilde yazıları ortalar */
    }

    .hero-title-modern {
        font-size: 2.2rem; /* Başlığı okunabilir boyuta çeker */
        letter-spacing: -1px;
        margin-bottom: 15px;
    }

    .hero-desc-modern {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .hero-buttons-modern {
        flex-direction: column; /* Butonları alt alta dizer */
        gap: 12px;
    }

    .btn-play-modern, .btn-info-modern {
        width: 100%; /* Butonlar ekranı kaplar */
        justify-content: center;
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* İzleme Sayfası & Player */
    .ani-container {
        padding: 10px 15px;
    }

    .player-wrapper {
        border-radius: 8px; /* Köşeleri biraz daha yumuşatır */
    }

    .ani-info-box {
        padding: 15px;
    }

    .info-header {
        flex-direction: column; /* Başlık ve "Listeme Ekle" butonunu alt alta getirir */
        gap: 15px;
    }

    .info-meta h1 {
        font-size: 1.4rem;
    }

    /* Kartlar (Grid) */
    .anime-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Kartları daha küçük ve yan yana dizer */
        gap: 10px;
    }

    .anime-card {
        flex: 0 0 160px; /* Slider içindeki kartları küçültür */
    }
}

/* 3. Çok Küçük Ekranlar (480px altı) */
@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 1.8rem;
    }
    
    .ani-ep-num {
        width: 25px;
        font-size: 0.8rem;
    }

    .ani-ep-name {
        font-size: 0.75rem;
    }
}

