/* ==================================================
   ANA STİL DOSYASI - assets/style.css
   TEMA: Soft Gece (#1a1a2e)
   CONTAINER: 1280px
   FONT: Inter (Local)
   (Tekrar eden bloklar birleştirildi - bkz. sohbet notu)
   ================================================== */

@import url('/assets/fonts/inter/inter.css');

/* ===== ROOT DEĞİŞKENLER ===== */
:root {
    --bg-color: #1a1a2e;
    --card-bg: rgba(255, 255, 255, 0.04);
    --text-color: #e0e0e8;
    --border-light: rgba(255, 255, 255, 0.06);

    --accent-yellow: #f5c842;
    --accent-orange: #e8853a;
    --accent-blue: #5b9eff;
    --accent-green: #5cb85c;
    --accent-red: #e06060;

    --shadow-color: rgba(245, 200, 66, 0.08);
    --hover-bg: rgba(245, 200, 66, 0.06);

    --container-width: 1280px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Not: eski dosyada body iki kez tanımlıydı, line-height 1.7 / 1.6 çakışıyordu.
   Okuma temelli bir site olduğu için 1.7 (daha ferah) tercih edildi. */
body {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* font-family tüm alt elemanlara zaten miras (inherit) yoluyla geçiyor,
   bu yüzden eski dosyadaki devasa "her selector'e font-family ata" bloğu kaldırıldı. */

a {
    font-family: var(--font-primary);
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== KOD BLOKLARI (genel) ===== */
code, pre {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(26, 26, 46, 0.92);
    border-bottom: 1px solid rgba(245, 200, 66, 0.15);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-yellow);
    text-shadow: 0 0 20px rgba(245, 200, 66, 0.08);
    white-space: nowrap;
}

/* ===== NAV ===== */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 15px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-color);
    opacity: 0.7;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--accent-yellow);
}

.main-nav a.active {
    opacity: 1;
    color: var(--accent-yellow);
    background: var(--hover-bg);
    border-bottom: 2px solid var(--accent-yellow);
}

/* ===== HEADER SEARCH ===== */
.header-search {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2px 4px 2px 14px;
    transition: 0.3s;
    min-width: 150px;
}

.header-search:hover,
.header-search:focus-within {
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.06);
}

.header-search-input {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 6px 4px;
    font-size: 0.8rem;
    min-width: 100px;
    outline: none;
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.header-search-btn {
    background: var(--accent-yellow);
    border: none;
    border-radius: 50%;
    color: #1a1a2e;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-btn:hover {
    background: #e6b832;
    transform: scale(1.05);
}

/* ===== USER INFO ===== */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.user-name {
    color: var(--accent-yellow) !important;
    font-weight: 500;
    padding: 4px 8px !important;
    font-size: 0.9rem;
}

.user-name i {
    margin-right: 4px;
}

.notification-btn {
    position: relative;
    font-size: 1.1rem;
    padding: 4px 8px;
    color: var(--text-color);
    opacity: 0.6;
    transition: 0.3s;
}

.notification-btn:hover {
    opacity: 1;
    color: var(--accent-yellow);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.55rem;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 50%;
    min-width: 16px;
    text-align: center;
}

/* ===== MOBİL MENÜ ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-light);
    color: #fff;
    font-size: 1.5rem;
    padding: 4px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== BUTTONS ===== */
.btn,
.btn-sm,
.btn-outline,
.btn-danger {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-yellow);
    color: #1a1a2e !important;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    background: #e6b832;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--accent-yellow) !important;
    border: 1px solid var(--accent-yellow);
}

.btn-outline:hover {
    background: var(--accent-yellow);
    color: #1a1a2e !important;
}

.btn-sm {
    padding: 4px 12px;
    font-size: 0.75rem;
}

.btn-danger {
    background: var(--accent-red);
    color: #fff !important;
}
.btn-danger:hover {
    background: #cc5555;
}

/* ===== FLASH MESSAGES ===== */
.flash-msg {
    padding: 12px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 500;
    border: 1px solid transparent;
}
.flash-info {
    background: rgba(91, 158, 255, 0.08);
    border-color: rgba(91, 158, 255, 0.15);
    color: var(--accent-blue);
}
.flash-error {
    background: rgba(224, 96, 96, 0.08);
    border-color: rgba(224, 96, 96, 0.15);
    color: var(--accent-red);
}
.flash-success {
    background: rgba(92, 184, 92, 0.08);
    border-color: rgba(92, 184, 92, 0.15);
    color: var(--accent-green);
}

/* ===== NOVEL GRID & BANNER ===== */
.novel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.novel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.novel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 200, 66, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Banner Alanı */
.novel-cover {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    position: relative;
}

.novel-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover durumunda banner görseline hafif bir zoom efekti */
.novel-card:hover .novel-cover img {
    transform: scale(1.05);
}

/* Banner Üzerindeki Derecelendirme Rozeti */
.novel-rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(26, 26, 46, 0.85);
    color: var(--accent-yellow);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(245, 200, 66, 0.2);
    z-index: 2;
}

/* Banner Alt Gölge Yumuşatması (Opsiyonel) */
.novel-cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}

/* İçerik Alanı */
.novel-info {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.novel-info h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

.novel-info h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.novel-info h3 a:hover {
    color: var(--accent-yellow);
}

.novel-meta {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.novel-desc {
    font-size: 0.85rem;
    opacity: 0.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ===== STATUS BADGE ===== */
.status-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.status-ongoing {
    background: rgba(92, 184, 92, 0.15);
    color: var(--accent-green);
}
.status-completed {
    background: rgba(91, 158, 255, 0.15);
    color: var(--accent-blue);
}
.status-hiatus {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
}

/* ===== CATEGORY TAGS ===== */
.novel-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.category-tag {
    font-size: 0.65rem;
    padding: 2px 10px;
    background: rgba(245, 200, 66, 0.08);
    color: var(--accent-yellow);
    border-radius: 20px;
    border: 1px solid rgba(245, 200, 66, 0.08);
}

/* ===== NOVEL DETAIL ===== */
.novel-detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}


.novel-detail-banner img {
    border-radius: 18px;
    width: 100%;
    padding-bottom: 10px;
}

.novel-detail-cover {
    width: 250px;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.novel-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.novel-detail-info h1 {
    margin-bottom: 10px;
    color: var(--accent-yellow);
}
.novel-description {
    opacity: 0.85;
    line-height: 1.8;
}

/* ===== CHAPTERS ===== */
.chapter-list {
    margin-top: 20px;
}
.chapter-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: 0.3s;
    color: var(--text-color);
}
.chapter-item:hover {
    border-color: rgba(232, 133, 58, 0.2);
    background: rgba(255, 255, 255, 0.03);
}
.chapter-num {
    font-weight: bold;
    color: var(--accent-yellow);
    min-width: 80px;
}
.chapter-title {
    flex: 1;
}
.chapter-words {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ===== READER ===== */
.reader-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.reader-nav-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.chapter-header {
    text-align: center;
    margin-bottom: 40px;
}
.chapter-breadcrumb {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 10px;
}
.chapter-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}
.chapter-meta {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ===== MARKDOWN / PROSE ===== (üç ayrı yerdeki .prose tanımları burada birleştirildi) */
.prose {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 2;
    letter-spacing: 0.01em;
}
.prose h1,
.prose h2,
.prose h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-yellow);
    margin: 2rem 0 1rem;
}
.prose h1 { font-size: 1.8rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.3rem; }
.prose p { margin-bottom: 1.5rem; }
.prose strong { color: var(--accent-yellow); }
.prose em { color: var(--accent-orange); }
.prose blockquote {
    border-left: 4px solid var(--accent-orange);
    padding: 10px 20px;
    margin: 1.5rem 0;
    background: rgba(232, 133, 58, 0.05);
    border-radius: 0 5px 5px 0;
    font-style: italic;
}
.prose ul,
.prose ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}
.prose li { margin-bottom: 0.5rem; }
.prose code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.95em;
}
.prose pre {
    background: rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.prose pre code { background: none; padding: 0; }
.prose hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2rem 0;
}
.prose a {
    color: var(--accent-orange);
    border-bottom: 1px dashed var(--accent-orange);
}
.prose a:hover { border-bottom-style: solid; }

/* ===== AUTH BOX ===== */
.auth-box {
    max-width: 400px;
    margin: 80px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(245, 200, 66, 0.1);
}
.auth-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
}
.auth-box input:focus {
    outline: none;
    border-color: var(--accent-yellow);
}
.auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-yellow);
}
.auth-box .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.error-msg {
    background: rgba(224, 96, 96, 0.08);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--accent-red);
}
.info-msg {
    background: rgba(92, 184, 92, 0.08);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--accent-green);
}
.error-list {
    background: rgba(224, 96, 96, 0.08);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.error-list li {
    margin-left: 20px;
    color: var(--accent-red);
}

/* ===== FORMS (genel) ===== */
input,
textarea,
select {
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-color);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-yellow);
}

/* ===== TABLO STİLLERİ (genel + admin - iki farklı min-width çakışıyordu, 600px seçildi) ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
}

table thead {
    background: rgba(245, 200, 66, 0.04);
    border-bottom: 1px solid rgba(245, 200, 66, 0.1);
}

table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--accent-yellow);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 60px;
    padding: 40px 0 30px;
    border-top: 1px solid rgba(245, 200, 66, 0.06);
    background: rgba(26, 26, 46, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--border-light);
}

.footer-col h4 {
    color: var(--accent-yellow);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-yellow);
    margin-bottom: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--text-color);
    opacity: 0.6;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.footer-links a:hover {
    opacity: 1;
    color: var(--accent-yellow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.social-links a {
    color: var(--text-color);
    opacity: 0.6;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.social-links a:hover {
    opacity: 1;
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0 10px;
    opacity: 0.5;
    font-size: 0.8rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.03), rgba(232, 133, 58, 0.03));
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 50px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.02), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text { flex: 1; }

.hero-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: #1a1a2e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: #fff;
}

.hero-author {
    color: var(--accent-yellow);
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.hero-desc {
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 600px;
}

.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.hero-btn {
    font-size: 1rem;
    padding: 12px 30px;
}

.hero-cover {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== STATS MINI ===== */
.stats-section {
    margin-bottom: 40px;
}

.stats-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-mini {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}
.stat-mini:hover {
    border-color: rgba(245, 200, 66, 0.15);
}

.stat-mini-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-yellow);
}

.stat-mini-label {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ===== CATEGORIES CLOUD ===== */
.categories-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-header h2 {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
    font-size: 1.2rem;
}

.categories-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    display: inline-block;
    padding: 8px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    color: var(--text-color);
    font-size: 0.85rem;
    transition: all 0.3s;
}
.category-pill:hover {
    border-color: rgba(245, 200, 66, 0.2);
    background: rgba(245, 200, 66, 0.04);
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

/* ===== NOVEL SECTIONS ===== */
.novels-section {
    margin-bottom: 50px;
}

.popular-section {
    background: rgba(245, 200, 66, 0.01);
    padding: 30px 0;
    border-radius: 16px;
}

.completed-section {
    background: rgba(92, 184, 92, 0.01);
    padding: 30px 0;
    border-radius: 16px;
}

/* ==================================================
   NOVELS PAGE FİLTER
   ================================================== */
.novels-page { max-width: var(--container-width); margin: 0 auto; }
.novels-header { margin-bottom: 25px; }
.novels-header h1 { border-left: 4px solid var(--accent-orange); padding-left: 15px; }

.filter-section {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.filter-group { flex: 1; min-width: 150px; }
.filter-search,
.filter-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    transition: 0.3s;
}
.filter-search:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--accent-yellow);
}
.filter-select option { background: #1a1a2e; color: #fff; }
.filter-form .btn { padding: 10px 25px; white-space: nowrap; }

.no-results {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.7;
}
.no-results a { color: var(--accent-yellow); }

/* ==================================================
   COMMENTS
   ================================================== */
.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.comment-form { margin: 25px 0; }
.comment-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    min-height: 100px;
}
.comment-textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.06);
}
.comment-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.comment-login-prompt {
    text-align: center;
    padding: 25px;
    background: var(--accent-orange);
    border: 1px dashed var(--border-light);
    border-radius: 8px;
    margin: 25px 0;
    opacity: 0.7;
    color: var(--bg-color);
}
.comment-login-prompt a { font-weight: bold; }

.comment-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-author {
    font-weight: bold;
    color: var(--accent-yellow);
    font-size: 0.9rem;
}
.comment-date {
    font-size: 0.75rem;
    opacity: 0.4;
}

/* .role-badge / .role-admin / .role-author: eskiden Comments ve Admin
   bölümlerinde birebir aynı şekilde iki kez tanımlıydı, tek yerde toplandı. */
.role-badge {
    display: inline-block;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 6px;
}
.role-admin {
    background: rgba(224, 96, 96, 0.2);
    color: var(--accent-red);
}
.role-author {
    background: rgba(232, 133, 58, 0.2);
    color: var(--accent-orange);
}

.comment-body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.85;
    word-wrap: break-word;
}

.no-comments {
    text-align: center;
    padding: 40px;
    opacity: 0.4;
    font-style: italic;
}

/* ==================================================
   EASYMDE
   ================================================== */
.EasyMDEContainer { width: 100%; }
.editor-toolbar {
    background: rgba(26, 26, 46, 0.8) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 6px !important;
}
.editor-toolbar button {
    color: #fff !important;
    border-radius: 4px !important;
}
.editor-toolbar button:hover,
.editor-toolbar button.active {
    background: rgba(245, 200, 66, 0.15) !important;
    color: var(--accent-yellow) !important;
    border-color: transparent !important;
}
.editor-toolbar i.separator {
    border-left-color: rgba(255, 255, 255, 0.1) !important;
}

.CodeMirror {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    border: 1px solid var(--border-light) !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    min-height: 250px !important;
}
.CodeMirror-focused { border-color: var(--accent-yellow) !important; }
.CodeMirror-cursor { border-left-color: var(--accent-yellow) !important; }
.CodeMirror-selected { background: rgba(245, 200, 66, 0.15) !important; }

/* Syntax highlighting */
.cm-header { color: var(--accent-yellow) !important; }
.cm-strong { color: var(--accent-orange) !important; }
.cm-em { color: #ffd699 !important; }
.cm-link { color: #88ccff !important; }
.cm-url { color: #88ccff !important; opacity: 0.7; }
.cm-quote { color: #aaa !important; font-style: italic; }
.cm-comment { color: #777 !important; }
.cm-tag { color: var(--accent-orange) !important; }
.cm-attribute { color: var(--accent-yellow) !important; }
.cm-string { color: #aaffaa !important; }
.cm-keyword { color: #ff8888 !important; }
.cm-number { color: #ffcc88 !important; }
.cm-hr { color: rgba(255, 255, 255, 0.2) !important; }

.editor-preview,
.editor-preview-side {
    font-family: var(--font-primary);
    background: var(--bg-color) !important;
    color: #fff !important;
    padding: 20px !important;
}
.editor-preview code,
.editor-preview-side code,
.editor-preview pre,
.editor-preview-side pre,
.cm-s-easymde,
.EasyMDEContainer .CodeMirror {
    font-family: var(--font-mono) !important;
    font-size: 0.95rem !important;
}
.editor-preview pre,
.editor-preview-side pre {
    background: rgba(0, 0, 0, 0.25) !important;
    padding: 15px !important;
    border-radius: 6px !important;
}
.editor-preview blockquote,
.editor-preview-side blockquote {
    border-left-color: var(--accent-orange) !important;
    background: rgba(232, 133, 58, 0.05) !important;
}

.editor-statusbar {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
    border: 1px solid var(--border-light) !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    background: rgba(0, 0, 0, 0.15) !important;
}
.autosave-message { color: var(--accent-yellow) !important; font-size: 0.7rem !important; }

/* ==================================================
   SHARE BUTTONS
   ================================================== */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.share-label {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-right: 5px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-color);
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.share-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent-yellow);
}
.share-twitter:hover { background: rgba(29, 161, 242, 0.15); border-color: #1DA1F2; }
.share-facebook:hover { background: rgba(24, 119, 242, 0.15); border-color: #1877F2; }
.share-whatsapp:hover { background: rgba(37, 211, 102, 0.15); border-color: #25D366; }
.share-telegram:hover { background: rgba(0, 136, 204, 0.15); border-color: #0088cc; }
.share-email:hover { background: rgba(255, 255, 255, 0.06); border-color: #fff; }
.share-copy:hover { background: rgba(245, 200, 66, 0.12); border-color: var(--accent-yellow); }

/* ==================================================
   LIBRARY BUTTONS
   ================================================== */
.library-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.lib-btn {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}
.lib-btn:hover {
    border-color: var(--accent-yellow);
    background: var(--hover-bg);
}
.lib-btn.active {
    border-color: var(--accent-yellow);
    background: rgba(245, 200, 66, 0.12);
    color: var(--accent-yellow);
}
.lib-remove {
    border-color: var(--accent-red) !important;
    color: var(--accent-red) !important;
}
.lib-remove:hover { background: rgba(224, 96, 96, 0.08) !important; }
.library-status {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
}
.library-login-prompt {
    margin: 10px 0;
    opacity: 0.6;
    font-size: 0.9rem;
}
.library-login-prompt a { color: var(--accent-yellow); }

/* ==================================================
   RATING
   ================================================== */
.rating-container {
    margin: 10px 0;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.rating-display {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.rating-stars {
    font-size: 1.3rem;
    letter-spacing: 2px;
}
.rating-average {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-yellow);
}
.rating-count {
    font-size: 0.85rem;
    opacity: 0.5;
}
.rating-user {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.rating-label {
    font-size: 0.85rem;
    opacity: 0.6;
}
.rating-input {
    display: flex;
    gap: 4px;
}
.rating-star {
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
    color: rgba(255, 255, 255, 0.15);
}
.rating-star:hover,
.rating-star.active {
    color: var(--accent-yellow);
    transform: scale(1.2);
}
.rating-user-value {
    font-size: 0.85rem;
    opacity: 0.7;
    min-width: 60px;
}
.rating-login-prompt {
    margin-top: 8px;
    opacity: 0.5;
}
.rating-login-prompt a { color: var(--accent-yellow); }

/* ==================================================
   ADMIN
   ================================================== */
.admin-page,
.admin-dashboard,
.admin-section,
.author-dashboard,
.author-page,
.admin-page, .reader-container {
    max-width: var(--container-width);
    margin: 0 auto;
}
.admin-section h2,
.author-dashboard h1,
.admin-page h1 {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
}
.admin-section h2 { margin-bottom: 25px; }
.admin-page h1 { margin-bottom: 25px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.forum-stats {
    margin-top: -15px;
    margin-bottom: 25px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}
.stat-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.stat-icon { font-size: 2rem; opacity: 0.6; }
.stat-number {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--accent-yellow);
}
.stat-label { font-size: 0.75rem; opacity: 0.5; }

.quick-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.quick-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
    transition: 0.3s;
}
.quick-btn:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* .admin-card ve .admin-card h3: eski dosyada iki kez tanımlanmış, ikinci
   tanım (padding:25px, padding-left:15px) cascade'de öncekini eziyordu.
   Burada tek, net halde toplandı. */
.admin-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}
.admin-card h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
}

.admin-list {
    list-style: none;
    padding: 0;
}
.admin-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.admin-list li:last-child { border-bottom: none; }

.list-meta { font-size: 0.75rem; opacity: 0.4; }
.list-comment {
    font-size: 0.85rem;
    opacity: 0.7;
    width: 100%;
    padding-left: 5px;
}

.admin-form label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: 500;
    opacity: 0.8;
    font-size: 0.9rem;
    cursor: pointer;
}
.admin-form input[type="text"],
.admin-form input[type="number"] {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
}
.admin-form input:focus {
    border-color: var(--accent-yellow);
    outline: none;
}
.admin-form label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.author-page h1 {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
    margin-bottom: 25px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    opacity: 0.8;
    font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-yellow);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}
.form-group select option { background: #1a1a2e; color: #fff; }
.form-group small { display: block; margin-top: 5px; opacity: 0.5; }

.category-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}
.category-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 0.9rem;
}
.category-checkbox:hover {
    border-color: var(--accent-yellow);
    background: var(--hover-bg);
}
.category-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--accent-yellow);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

/* ==================================================
   FORUM
   ================================================== */
.forum-page { max-width: var(--container-width); margin: 0 auto; }
.forum-header { margin-bottom: 30px; }
.forum-header h1 {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
}

.forum-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.forum-category {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.forum-category:hover { border-color: var(--accent-yellow); }

.category-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.category-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}
.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}
.category-name:hover { color: var(--accent-yellow); }
.category-desc {
    font-size: 0.85rem;
    opacity: 0.5;
    margin: 2px 0;
}
.category-stats {
    font-size: 0.75rem;
    opacity: 0.4;
}
.category-last-post {
    text-align: right;
    font-size: 0.9rem;
    min-width: 180px;
}
.category-last-post a {
    color: var(--text-color);
    opacity: 0.7;
}
.category-last-post a:hover {
    color: var(--accent-yellow);
    opacity: 1;
}
.last-post-meta {
    display: block;
    font-size: 0.7rem;
    opacity: 0.4;
}
.category-last-post.empty {
    opacity: 0.5;
    font-size: 0.85rem;
}

.category-page { max-width: var(--container-width); margin: 0 auto; }
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.category-header h1 { display: inline-block; margin-left: 10px; }

.forum-topics {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.topic-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.topic-item:hover { border-color: var(--accent-yellow); }
.topic-pinned {
    background: rgba(245, 200, 66, 0.04);
    border-color: rgba(245, 200, 66, 0.15);
}

.topic-main {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topic-icon { font-size: 1.2rem; opacity: 0.6; }
.topic-title {
    font-weight: 600;
    color: var(--text-color);
}
.topic-title:hover { color: var(--accent-yellow); }
.topic-meta {
    display: block;
    font-size: 0.75rem;
    opacity: 0.4;
}
.topic-stats {
    text-align: right;
    font-size: 0.85rem;
    opacity: 0.6;
}
.topic-last {
    display: block;
    font-size: 0.7rem;
    opacity: 0.4;
}

.topic-page { max-width: 900px; margin: 0 auto; }
.topic-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.topic-header { margin-bottom: 25px; }
.topic-header h1 {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
    margin-bottom: 10px;
}
.topic-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    opacity: 0.6;
    font-size: 0.9rem;
}

.topic-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    display: flex;
    overflow: hidden;
}
.post-item:hover { border-color: var(--accent-yellow); }

.post-sidebar {
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 18px;
    min-width: 140px;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.post-author { font-weight: 600; }
.post-number {
    font-size: 0.75rem;
    opacity: 0.4;
}
.post-date {
    font-size: 0.7rem;
    opacity: 0.4;
}
.post-edited {
    font-size: 0.65rem;
    opacity: 0.3;
    font-style: italic;
}

.post-content { padding: 15px 20px; flex: 1; }
.post-actions {
    margin-top: 15px;
    display: flex;
    gap: 5px;
}

.locked-notice {
    background: rgba(224, 96, 96, 0.08);
    border: 1px solid rgba(224, 96, 96, 0.15);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    color: var(--accent-red);
    margin-top: 20px;
}

.reply-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
}
.reply-section h3 { margin-bottom: 15px; }

.login-prompt {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 8px;
    margin-top: 20px;
    opacity: 0.8;
}
.login-prompt a { font-weight: bold; }

/* ==================================================
   SEARCH
   ================================================== */
.search-page { max-width: var(--container-width); margin: 0 auto; }
.search-page h1 {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
    margin-bottom: 25px;
}

.search-form { margin-bottom: 30px; }
.search-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.search-input-group input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.3s;
}
.search-input-group input:focus {
    outline: none;
    border-color: var(--accent-yellow);
}
.search-input-group .btn {
    padding: 14px 30px;
    font-size: 1.1rem;
}

.search-filters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.search-filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}
.search-filters label:hover { opacity: 1; }
.search-filters input[type="radio"] {
    accent-color: var(--accent-yellow);
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.search-filters label:has(input:checked) {
    opacity: 1;
    color: var(--accent-yellow);
}

.search-stats {
    opacity: 0.6;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.result-section { margin-bottom: 35px; }
.result-section h2 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.result-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    gap: 18px;
    transition: 0.3s;
}
.result-card:hover { border-color: var(--accent-yellow); }

.novel-result .result-cover {
    width: 80px;
    min-width: 80px;
    height: 110px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}
.novel-result .result-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-result .result-avatar {
    width: 60px;
    min-width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.result-info { flex: 1; }
.result-info h3 {
    margin-bottom: 5px;
    font-size: 1.05rem;
}
.result-info h3 a { color: #fff; }
.result-info h3 a:hover { color: var(--accent-yellow); }

.result-meta {
    font-size: 0.85rem;
    opacity: 0.6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.result-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
}
.result-categories {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.forum-result .result-info h3 { margin-bottom: 5px; }

.no-results,
.search-empty {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.7;
}
.no-results p,
.search-empty p { margin-top: 10px; }

/* ==================================================
   SIMILAR NOVELS
   ================================================== */
.similar-novels {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}
.similar-novels h3 { margin-bottom: 15px; }

.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.similar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}
.similar-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-3px);
}
.similar-card a { color: var(--text-color); }
.similar-cover {
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}
.similar-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.similar-info { padding: 10px 12px; }
.similar-info h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
}
.similar-author {
    font-size: 0.75rem;
    opacity: 0.6;
    display: block;
}
.similar-meta {
    font-size: 0.7rem;
    opacity: 0.4;
    display: block;
}
.similar-categories {
    font-size: 0.65rem;
    opacity: 0.5;
    display: block;
    margin-top: 4px;
}

/* ==================================================
   PROFILE
   ================================================== */
.profile-page { max-width: var(--container-width); margin: 0 auto; }

.profile-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 30px;
    align-items: center;
}
.profile-avatar {
    font-size: 3.5rem;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-light);
}
.profile-info { flex: 1; }
.profile-info h1 {
    margin-bottom: 5px;
    color: var(--accent-yellow);
}
.profile-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    opacity: 0.5;
    font-size: 0.85rem;
}

.profile-section {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 20px;
}
.profile-section h2 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-left: 4px solid var(--accent-orange);
    padding-left: 12px;
}

.profile-novels,
.profile-library {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profile-novel-item,
.profile-library-item {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.profile-novel-item a,
.profile-library-item a {
    color: var(--text-color);
    font-weight: 500;
}
.profile-novel-item a:hover,
.profile-library-item a:hover {
    color: var(--accent-yellow);
}

/* ==================================================
   NOTIFICATIONS
   ================================================== */
.notifications-page { max-width: 800px; margin: 0 auto; }
.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.notifications-header h1 {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.notification-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}
.notification-item:hover { border-color: var(--accent-yellow); }
.notification-item.unread { border-left: 3px solid var(--accent-yellow); }
.notification-item.read { opacity: 0.6; }

.notification-icon { font-size: 1.5rem; }
.notification-content { flex: 1; }
.notification-title { font-weight: 500; }
.unread-dot {
    color: var(--accent-yellow);
    font-size: 0.6rem;
    margin-left: 6px;
}
.notification-text {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 3px;
}
.notification-meta {
    font-size: 0.75rem;
    opacity: 0.4;
    margin-top: 5px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.mark-read-link {
    color: var(--accent-yellow);
    opacity: 0.6;
    font-size: 0.7rem;
}
.mark-read-link:hover { opacity: 1; }
.notification-link {
    font-size: 1.1rem;
    opacity: 0.4;
    transition: 0.3s;
}
.notification-link:hover { opacity: 1; }

/* ==================================================
   COMING SOON
   ================================================== */
.coming-soon-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.coming-soon-content {
    text-align: center;
    max-width: 600px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 50px 40px;
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.coming-soon-content h1 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.coming-soon-desc {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 30px;
}

.coming-soon-progress {
    margin-bottom: 25px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    opacity: 0.6;
}

.coming-soon-note {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 25px;
}

.coming-soon-note i {
    color: var(--accent-yellow);
}

.coming-soon-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.coming-soon-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: 0.3s;
}

.coming-soon-social a:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .coming-soon-content {
        padding: 30px 20px;
    }
    .coming-soon-content h1 {
        font-size: 1.8rem;
    }
}

/* ==================================================
   ERROR 404
   ================================================== */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-content {
    text-align: center;
    max-width: 600px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 50px 40px;
}

.error-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent-yellow);
    line-height: 1;
    text-shadow: 0 0 60px rgba(255,215,0,0.08);
    margin-bottom: 10px;
}

.error-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 15px;
    opacity: 0.6;
}

.error-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.error-desc {
    font-size: 1.05rem;
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 30px;
}

.error-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.error-suggestions .btn {
    padding: 10px 24px;
}

.error-random-novel {
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.5;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.error-random-novel i {
    color: var(--accent-yellow);
    margin-right: 6px;
}

@media (max-width: 480px) {
    .error-content {
        padding: 30px 20px;
    }
    .error-code {
        font-size: 4rem;
    }
    .error-content h1 {
        font-size: 1.5rem;
    }
    .error-suggestions .btn {
        width: 100%;
    }
}

/* ===== AI ROZETLERİ (AÇIK VE SEÇİLİR RENKLER) ===== */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* AI Grafikler: Mor/Eflatun tonları */
.ai-badge-graphics {
    background-color: #2a1b4e;
    color: #b388ff;
    border: 1px solid #7c4dff;
}

/* AI Yazım: Mavi tonları (Sisteminizdeki --accent-blue ile uyumlu) */
.ai-badge-writing {
    background-color: #16264c;
    color: #82b1ff;
    border: 1px solid var(--accent-blue);
}

/* ==================================================
   RESPONSIVE - KONTROLLÜ KIRILMA NOKTALARI
   TEMA KORUNDU: Soft Gece (#1a1a2e)
   ================================================== */

/* ===== MOBİL (Varsayılan: 575px ve altı) ===== */
/* Tüm stiller zaten mobil için uygun değilse, 
   burada varsayılan olarak kalır */

/* ===== TABLET (576px - 991px) ===== */
@media (min-width: 576px) and (max-width: 991px) {
    /* Grid düzenleri */
    .novel-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .similar-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-menu {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Hero */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        max-width: 100%;
    }
    
    .hero-meta,
    .hero-categories {
        justify-content: center;
    }
    
    .hero-cover {
        width: 180px;
        min-width: 180px;
        height: 250px;
    }

    /* Novel Detail */
    .novel-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .novel-detail-cover {
        width: 200px;
        min-width: 200px;
        height: 280px;
    }

    /* Admin Dashboard */
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 15px;
    }

    /* Forum */
    .forum-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    .category-last-post {
        text-align: left;
        width: 100%;
        padding-left: 65px;
    }
    
    .topic-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .topic-stats {
        text-align: left;
        width: 100%;
        padding-left: 40px;
    }

    /* Post */
    .post-item {
        flex-direction: column;
    }
    
    .post-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 15px;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        min-width: auto;
    }
    
    .post-sidebar > * {
        margin-right: 12px;
    }

    /* Search */
    .result-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .novel-result .result-cover {
        width: 120px;
        height: 160px;
    }
    
    .result-meta,
    .result-categories {
        justify-content: center;
    }

    /* Profile */
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .profile-stats,
    .profile-meta {
        justify-content: center;
    }

    /* Filter */
    .filter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        min-width: 100%;
        width: 100%;
    }
    
    .filter-form .btn,
    .filter-form .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* Auth Box */
    .auth-box {
        margin: 40px 20px;
        padding: 30px;
    }

    /* Reader */
    .reader-nav {
        justify-content: center;
        gap: 8px;
    }
    
    .reader-nav .btn {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .chapter-header h1 {
        font-size: 1.6rem;
    }

    /* Comments */
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Admin */
    .admin-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .admin-card {
        padding: 18px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Chapters */
    .chapter-item {
        flex-wrap: wrap;
        padding: 12px 15px;
    }
    
    .chapter-words {
        width: 100%;
        margin-top: 5px;
    }

    /* Search Input */
    .search-input-group {
        flex-direction: column;
    }
    
    .search-input-group .btn {
        width: 100%;
    }
}

/* ===== DESKTOP (992px ve üzeri) ===== */
@media (min-width: 992px) {
    /* Grid düzenleri */
    .novel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .similar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid-mini {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .quick-menu {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }

    /* Hero */
    .hero-content {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        max-width: 600px;
    }
    
    .hero-meta,
    .hero-categories {
        justify-content: flex-start;
    }
    
    .hero-cover {
        max-width: 500px;
    }

    /* Novel Detail */
    .novel-detail-header {
        flex-direction: row;
        gap: 30px;
        align-items: flex-start;
        text-align: left;
    }
    
    .novel-detail-cover {
        width: 250px;
        min-width: 250px;
    }

    /* Admin Dashboard */
    .admin-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Forum */
    .forum-category {
        flex-direction: row;
        align-items: center;
        padding: 16px 20px;
    }
    
    .category-last-post {
        text-align: right;
        min-width: 180px;
    }
    
    .topic-item {
        flex-direction: row;
        align-items: center;
        padding: 14px 18px;
    }
    
    .topic-stats {
        text-align: right;
    }

    /* Post */
    .post-item {
        flex-direction: row;
    }
    
    .post-sidebar {
        flex-direction: column;
        padding: 15px 18px;
        min-width: 140px;
        border-right: 1px solid var(--border-light);
        border-bottom: none;
    }

    /* Search */
    .result-card {
        flex-direction: row;
        text-align: left;
        padding: 15px 20px;
    }
    
    .novel-result .result-cover {
        width: 80px;
        min-width: 80px;
        height: 110px;
    }
    
    .result-meta,
    .result-categories {
        justify-content: flex-start;
    }

    /* Profile */
    .profile-header {
        flex-direction: row;
        text-align: left;
        padding: 30px;
    }
    
    .profile-stats,
    .profile-meta {
        justify-content: flex-start;
    }

    /* Filter */
    .filter-form {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }
    
    .filter-group {
        flex: 1;
        min-width: 150px;
    }
    
    .filter-form .btn,
    .filter-form .btn-outline {
        width: auto;
    }

    /* Auth Box */
    .auth-box {
        max-width: 400px;
        margin: 80px auto;
        padding: 40px;
    }

    /* Reader */
    .reader-nav {
        justify-content: space-between;
    }
    
    .chapter-header h1 {
        font-size: 2rem;
    }

    /* Comments */
    .comment-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* Section Headers */
    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* Admin */
    .admin-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .admin-card {
        padding: 25px;
    }
    
    .form-actions {
        flex-direction: row;
    }
    
    .form-actions .btn {
        width: auto;
    }

    /* Chapters */
    .chapter-item {
        flex-wrap: nowrap;
        padding: 14px 20px;
    }
    
    .chapter-words {
        width: auto;
        margin-top: 0;
    }

    /* Search Input */
    .search-input-group {
        flex-direction: row;
    }
    
    .search-input-group .btn {
        width: auto;
    }
}

/* ===== BÜYÜK EKRAN (1200px ve üzeri) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
        padding: 0 20px;
    }
    
    .novel-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-cover {
        max-width: 500px;
    }
}

/* ===== MOBİL (575px ve altı) ===== */
@media (max-width: 575px) {
    /* Container */
    .container {
        padding: 0 12px;
    }

    /* ===== HEADER & NAV ===== */
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 8px;
        padding: 12px 0;
        align-items: stretch;
    }
    
    .main-nav.open {
        display: flex;
    }

    .nav-left {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }

    .nav-right {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-left a,
    .nav-right a {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        text-align: center;
    }
    
    .nav-left a:last-child,
    .nav-right a:last-child {
        border-bottom: none;
    }

    .header-search {
        width: 100%;
        min-width: unset;
    }
    
    .header-search-input {
        flex: 1;
        min-width: unset;
    }

    .user-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        text-align: center;
        width: 100%;
    }

    .header-inner {
        gap: 8px;
    }
    
    .logo {
        font-size: 1rem;
    }

    /* ===== NOVEL GRID ===== */
    .novel-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .novel-info {
        padding: 12px 14px 16px;
    }
    
    .novel-info h3 {
        font-size: 0.95rem;
    }
    
    .novel-desc {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* ===== SIMILAR GRID ===== */
    .similar-grid {
        grid-template-columns: 1fr;
    }

    /* ===== STATS ===== */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-mini {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-mini {
        padding: 12px;
    }
    
    .stat-mini-number {
        font-size: 1.2rem;
    }

    /* ===== QUICK MENU ===== */
    .quick-menu {
        grid-template-columns: 1fr;
    }

    /* ===== FOOTER ===== */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 0 20px;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
    }

    /* ===== TABLES ===== */
    table {
        font-size: 0.75rem;
        min-width: 400px;
    }
    
    table th,
    table td {
        padding: 6px 10px;
    }

    /* ===== HERO ===== */
    .hero-section {
        padding: 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .hero-desc {
        max-width: 100%;
    }
    
    .hero-meta,
    .hero-categories {
        justify-content: center;
    }
    
    .hero-cover {
        width: 150px;
        min-width: 150px;
        height: 210px;
    }

    /* ===== NOVEL DETAIL ===== */
    .novel-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
     
    .novel-detail-banner img {
        border-radius: 12px;
        padding-bottom: 8px;
    }

    /* ===== READER ===== */
    .reader-container {
        padding: 0 5px;
    }
    
    .reader-nav {
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .reader-nav .btn {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .reader-nav-bottom {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .prose {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .chapter-header h1 {
        font-size: 1.3rem;
    }
    
    .chapter-meta {
        font-size: 0.75rem;
    }

    /* ===== CHAPTERS ===== */
    .chapter-item {
        flex-wrap: wrap;
        padding: 10px 14px;
        gap: 5px;
    }
    
    .chapter-num {
        min-width: 60px;
        font-size: 0.85rem;
    }
    
    .chapter-title {
        font-size: 0.9rem;
    }
    
    .chapter-words {
        width: 100%;
        margin-top: 3px;
        font-size: 0.7rem;
    }

    /* ===== COMMENTS ===== */
    .comments-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .comment-item {
        padding: 12px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .comment-textarea {
        min-height: 80px;
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .comment-body {
        font-size: 0.9rem;
    }

    /* ===== AUTH BOX ===== */
    .auth-box {
        margin: 30px 12px;
        padding: 20px;
    }
    
    .auth-box h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .auth-box input {
        padding: 10px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    /* ===== SEARCH ===== */
    .search-page h1 {
        font-size: 1.3rem;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-input-group input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .search-input-group .btn {
        width: 100%;
    }
    
    .search-filters {
        gap: 8px;
    }
    
    .search-filters label {
        font-size: 0.85rem;
    }
    
    .result-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px 15px;
    }
    
    .novel-result .result-cover {
        width: 100px;
        min-width: 100px;
        height: 140px;
    }
    
    .result-info h3 {
        font-size: 0.95rem;
    }
    
    .result-meta {
        justify-content: center;
        font-size: 0.75rem;
    }
    
    .result-desc {
        font-size: 0.8rem;
    }
    
    .result-categories {
        justify-content: center;
    }

    /* ===== PROFILE ===== */
    .profile-page {
        padding: 0 5px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .profile-avatar {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .profile-info h1 {
        font-size: 1.3rem;
    }
    
    .profile-stats {
        justify-content: center;
        font-size: 0.8rem;
        gap: 10px;
    }
    
    .profile-meta {
        justify-content: center;
        font-size: 0.75rem;
    }
    
    .profile-section {
        padding: 12px 15px;
    }
    
    .profile-section h2 {
        font-size: 1rem;
    }
    
    .profile-novel-item,
    .profile-library-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 12px;
    }

    /* ===== ADMIN ===== */
    .admin-page {
        padding: 0 5px;
    }
    
    .admin-page h1 {
        font-size: 1.3rem;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .admin-card {
        padding: 14px;
    }
    
    .admin-card h3 {
        font-size: 1rem;
        padding-left: 12px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .quick-menu {
        grid-template-columns: 1fr;
    }
    
    .quick-btn {
        padding: 12px;
        font-size: 0.9rem;
    }

    /* ===== FORUM ===== */
    .forum-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .category-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .category-icon {
        font-size: 1.5rem;
        width: 35px;
    }
    
    .category-name {
        font-size: 1rem;
    }
    
    .category-desc {
        font-size: 0.8rem;
    }
    
    .category-stats {
        font-size: 0.7rem;
    }
    
    .category-last-post {
        text-align: left;
        width: 100%;
        padding-left: 50px;
        font-size: 0.8rem;
    }

    .topic-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 14px;
    }
    
    .topic-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .topic-title {
        font-size: 0.95rem;
    }
    
    .topic-meta {
        font-size: 0.7rem;
    }
    
    .topic-stats {
        text-align: left;
        width: 100%;
        padding-left: 35px;
        font-size: 0.8rem;
    }
    
    .topic-last {
        font-size: 0.65rem;
    }

    /* ===== NOTIFICATIONS ===== */
    .notifications-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .notifications-header h1 {
        font-size: 1.2rem;
        padding-left: 12px;
    }
    
    .notification-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .notification-icon {
        font-size: 1.2rem;
    }
    
    .notification-title {
        font-size: 0.9rem;
    }
    
    .notification-text {
        font-size: 0.8rem;
    }
    
    .notification-meta {
        font-size: 0.65rem;
    }
    
    .notification-link {
        align-self: flex-end;
    }

    /* ===== FILTER ===== */
    .filter-form {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-group {
        min-width: 100%;
        width: 100%;
    }
    
    .filter-search,
    .filter-select {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .filter-form .btn,
    .filter-form .btn-outline {
        width: 100%;
        text-align: center;
        font-size: 0.85rem;
        padding: 8px;
    }

    /* ===== SECTION HEADERS ===== */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .section-header h2 {
        font-size: 1.1rem;
        padding-left: 12px;
    }

    /* ===== PAGINATION ===== */
    .pagination {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .pagination .btn-sm {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .pagination-info {
        font-size: 0.8rem;
    }

    /* ===== SHARE BUTTONS ===== */
    .share-buttons {
        gap: 5px;
    }
    
    .share-label {
        font-size: 0.75rem;
        margin-right: 3px;
    }
    
    .share-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    /* ===== LIBRARY BUTTONS ===== */
    .library-buttons {
        gap: 5px;
    }
    
    .lib-btn {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .library-status {
        font-size: 0.8rem;
    }

    /* ===== RATING ===== */
    .rating-container {
        padding: 10px 12px;
    }
    
    .rating-stars {
        font-size: 1rem;
    }
    
    .rating-star {
        font-size: 1.2rem;
    }
    
    .rating-average {
        font-size: 1rem;
    }
    
    .rating-count {
        font-size: 0.75rem;
    }
    
    .rating-user {
        gap: 8px;
    }
    
    .rating-label {
        font-size: 0.75rem;
    }

    /* ===== FORM ELEMENTS ===== */
    input,
    textarea,
    select {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group small {
        font-size: 0.7rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* ===== CHECKBOX GRID ===== */
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .category-checkbox,
    .tag-checkbox {
        font-size: 0.85rem;
        padding: 4px 12px;
    }

    /* ===== ERROR & COMING SOON ===== */
    .error-content,
    .coming-soon-content {
        padding: 25px 15px;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-content h1,
    .coming-soon-content h1 {
        font-size: 1.5rem;
    }
    
    .error-desc,
    .coming-soon-desc {
        font-size: 0.95rem;
    }
    
    .error-suggestions .btn {
        width: 100%;
    }

    /* ===== FLASH MESSAGES ===== */
    .flash-msg {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin: 10px 0;
    }

    /* ===== NOVEL CARD STATUS BADGE ===== */
    .status-badge {
        font-size: 0.6rem;
        padding: 1px 8px;
    }
    
    .novel-rating-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    /* ===== CATEGORY TAGS ===== */
    .category-tag {
        font-size: 0.6rem;
        padding: 1px 8px;
    }
    
    .category-pill {
        font-size: 0.75rem;
        padding: 4px 14px;
    }

    /* ===== AI BADGES ===== */
    .ai-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
        gap: 4px;
    }

    /* ===== NO RESULTS ===== */
    .no-results {
        padding: 30px 15px;
    }
    
    .no-results div {
        font-size: 2rem;
    }
    
    .no-results p {
        font-size: 1rem;
    }

    /* ===== EMPTY STATE ===== */
    .empty-state {
        padding: 30px 15px;
    }
    
    .empty-state i {
        font-size: 2.5rem;
    }
}

/* ===== ÇOK KÜÇÜK EKRAN (400px ve altı) ===== */
@media (max-width: 400px) {
    .container {
        padding: 0 8px;
    }
    
    .logo {
        font-size: 0.85rem;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .btn-sm {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    
    .novel-info h3 {
        font-size: 0.85rem;
    }
    
    .novel-meta {
        font-size: 0.65rem;
    }
    
    .novel-desc {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .hero-text h1 {
        font-size: 1.2rem;
    }
    
    .hero-desc {
        font-size: 0.85rem;
    }
    
    .hero-cover {
        width: 120px;
        min-width: 120px;
        height: 170px;
    }
    
    .chapter-header h1 {
        font-size: 1.1rem;
    }
    
    .prose {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .auth-box {
        padding: 15px;
        margin: 20px 8px;
    }
    
    .auth-box h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .auth-box input {
        font-size: 0.8rem;
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .stat-mini-number {
        font-size: 1rem;
    }
    
    .stat-mini-label {
        font-size: 0.65rem;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .profile-info h1 {
        font-size: 1.1rem;
    }
}

/* Profil Sayfası - Yorumlar Bölümü */
.profile-comments {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.profile-comment-item {
    background: var(--bg-card, #1a1a2e);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    border-left: 3px solid var(--accent-primary, #6c63ff);
    transition: background 0.2s;
}

.profile-comment-item:hover {
    background: var(--bg-card-hover, #24243a);
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.comment-meta a {
    color: var(--text-primary, #e0e0e0);
    text-decoration: none;
}

.comment-meta a:hover {
    color: var(--accent-primary, #6c63ff);
    text-decoration: underline;
}

.comment-content {
    color: var(--text-secondary, #b0b0b0);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 0.2rem;
    word-break: break-word;
}

/* ==================================================
   PAGINATION - YENİ
   ================================================== */
.pagination-wrapper {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--card-bg, rgba(255,255,255,0.04));
    border: 1px solid var(--border-light, rgba(255,255,255,0.06));
    border-radius: 6px;
    color: var(--text-color, #e0e0e8);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.page-link:hover {
    border-color: var(--accent-yellow, #f5c842);
    background: rgba(245, 200, 66, 0.06);
    color: var(--accent-yellow, #f5c842);
    transform: translateY(-1px);
}

.page-link.active {
    background: var(--accent-yellow, #f5c842);
    border-color: var(--accent-yellow, #f5c842);
    color: #1a1a2e;
    font-weight: 600;
}

.page-link.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.page-link.page-dots {
    border: none;
    background: transparent;
    cursor: default;
    padding: 6px 8px;
}

.page-link.page-dots:hover {
    transform: none;
    background: transparent;
    border: none;
}

.page-prev i,
.page-next i {
    font-size: 0.9rem;
}

.pagination-info {
    font-size: 0.8rem;
    opacity: 0.4;
    text-align: center;
}

/* ==================================================
   RESPONSIVE PAGINATION
   ================================================== */
@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }
    
    .page-link {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .page-link.page-prev,
    .page-link.page-next {
        padding: 4px 8px;
    }
    
    .page-link.page-dots {
        padding: 4px 4px;
    }
    
    .pagination-info {
        font-size: 0.7rem;
    }
}

@media (max-width: 380px) {
    .page-link {
        font-size: 0.65rem;
        padding: 3px 7px;
    }
}

/* Yorum Gönder Butonu - Enter kısayol */
#commentSubmitBtn {
    transition: all 0.2s ease;
}

#commentSubmitBtn:active {
    transform: scale(0.95);
}

/* Karakter sayacı */
#charCount {
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

/* Yorum textarea odak efekti */
.comment-textarea:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.1);
}

/* EasyMDE için özel stiller */
.EasyMDEContainer .CodeMirror {
    min-height: 100px !important;
    border-radius: 8px !important;
}

.EasyMDEContainer .editor-toolbar {
    border-radius: 8px 8px 0 0 !important;
}

/* ==================================================
   DOST SİTELER (FOOTER)
   ================================================== */
.footer-partners {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0 10px 0;
    margin-top: 10px;
}

.footer-partners-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-partners-label {
    opacity: 0.4;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-partners-link {
    opacity: 0.6;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-partners-link:hover {
    opacity: 1;
}

.footer-partners-divider {
    opacity: 0.2;
    font-size: 0.7rem;
}

.footer-partners-invite {
    opacity: 0.3;
    font-size: 0.7rem;
    font-style: italic;
}

.footer-partners-invite a {
    color: var(--accent-yellow);
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-partners-invite a:hover {
    opacity: 1;
}

/* ==================================================
   TEKNOLOJİ STACK (FOOTER)
   ================================================== */
.footer-tech {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    flex-wrap: wrap;
}

.footer-tech .spam-free {
    color: var(--accent-green);
}

/* ==================================================
   FOOTER NOT
   ================================================== */
.footer-note-small {
    opacity: 0.3;
    font-size: 0.65rem;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.empty-chapters-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border: 2px dashed var(--border-light);
    border-radius: 16px;
    margin: 30px 0;
    transition: all 0.3s ease;
}

.empty-chapters-state:hover {
    border-color: rgba(245, 200, 66, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.empty-chapters-icon {
    font-size: 4rem;
    color: var(--accent-yellow);
    opacity: 0.4;
    margin-bottom: 20px;
}

.empty-chapters-state h3 {
    color: var(--accent-yellow);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.empty-chapters-state p {
    opacity: 0.6;
    max-width: 400px;
    margin: 0 auto 20px;
}

.empty-chapters-state .btn {
    padding: 12px 32px;
    font-size: 1rem;
}

.empty-chapters-state .btn-outline {
    padding: 12px 32px;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .empty-chapters-state {
        padding: 40px 15px;
    }
    .empty-chapters-icon {
        font-size: 3rem;
    }
    .empty-chapters-state h3 {
        font-size: 1.1rem;
    }
    .empty-chapters-state .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.filter-section {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.empty-comments-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border: 2px dashed var(--border-light);
    border-radius: 16px;
    margin: 30px 0;
    transition: all 0.3s ease;
}

.empty-comments-state:hover {
    border-color: rgba(245, 200, 66, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.empty-comments-icon {
    font-size: 4rem;
    color: var(--accent-yellow);
    opacity: 0.4;
    margin-bottom: 20px;
}

.empty-comments-state h3 {
    color: var(--accent-yellow);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.empty-comments-state p {
    opacity: 0.6;
    max-width: 400px;
    margin: 0 auto 20px;
}

.empty-comments-state .btn {
    padding: 12px 32px;
    font-size: 1rem;
}

.empty-comments-state .btn-outline {
    padding: 12px 32px;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .empty-comments-state {
        padding: 40px 15px;
    }
    .empty-comments-icon {
        font-size: 3rem;
    }
    .empty-comments-state h3 {
        font-size: 1.1rem;
    }
    .empty-comments-state .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ==================================================
   HOME SLIDER (ÖNE ÇIKAN NOVELLER BANNER)
   ================================================== */
.cover-banner-slider-section {
    position: relative;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.02);
}

.cover-banner-slider-container {
    position: relative;
    min-height: 380px;
}

.cover-banner-slider-card {
    display: none;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.03), rgba(26, 26, 46, 0.95));
}

.cover-banner-slider-card.active {
    display: grid;
}

.cover-banner-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cover-banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cover-banner-tags .tag {
    background: var(--accent-yellow);
    color: #1a1a2e;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.cover-banner-title {
    font-size: 2rem;
    color: #fff;
    line-height: 1.2;
    font-weight: 700;
}

.cover-banner-description {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cover-banner-meta {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cover-banner-meta .meta-item {
    display: flex;
    flex-direction: column;
}

.cover-banner-meta .meta-label {
    font-size: 0.65rem;
    opacity: 0.5;
    letter-spacing: 0.5px;
}

.cover-banner-meta .meta-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.cover-banner-meta .meta-value.author {
    color: var(--accent-yellow);
}

.cover-banner-btn {
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 0.9rem;
}

.cover-banner-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-banner-media img.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-placeholder {
    font-size: 3rem;
    opacity: 0.3;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots .dot.active {
    background: var(--accent-yellow);
    width: 24px;
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid var(--border-light);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--accent-yellow);
    color: #1a1a2e;
}

.prev-arrow { right: 65px; top: auto; bottom: 15px; transform: none; }
.next-arrow { right: 20px; top: auto; bottom: 15px; transform: none; }


/* ==================================================
   GRID VE KART ORAN DÜZELTMELERİ
   ================================================== */
.novel-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Kapak görsellerinin hepsi aynı hizada ve oranda görünsün */
.novel-cover {
    width: 100%;
}

.novel-cover i.bi-book-fill {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    opacity: 0.3;
}

/* ==================================================
   BETA NOTICE BAR
   ================================================== */
.beta-notice-bar {
    background: linear-gradient(90deg, rgba(245, 200, 66, 0.15) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(245, 200, 66, 0.15) 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 100;
}

.beta-notice-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.beta-notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.beta-badge {
    background: var(--accent-yellow);
    color: #1a1a2e;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.beta-text {
    margin: 0;
    color: #e0e0e0;
    opacity: 0.9;
}

.beta-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--accent-yellow);
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.beta-action-btn:hover {
    background: var(--accent-yellow);
    color: #1a1a2e;
    border-color: var(--accent-yellow);
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .beta-notice-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .beta-notice-content {
        flex-direction: column;
        gap: 4px;
    }

    .beta-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================================================
   KVKK / GİZLİLİK NOTU
   ================================================== */

.footer-privacy-note {
    margin-top: 18px;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.8rem;
    line-height: 1.6;
    opacity: 0.75;
    text-align: center;
}

.footer-privacy-note i {
    color: var(--accent-yellow);
    margin-right: 4px;
}

.footer-privacy-note a {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-privacy-note a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* Mobil (575px ve altı) - HEADER bölümüne EKLE */
@media (max-width: 575px) {
    .header-search {
        min-width: unset;
        width: 100%;
        margin-top: 4px;
    }
    
    .header-search-input {
        min-width: unset;
        flex: 1;
    }
    
    .header-search-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1rem;
        flex: 1;
    }
    
    .mobile-menu-btn {
        font-size: 1.2rem;
        padding: 2px 10px;
    }
}

/* Slider mobil düzenleme */
@media (max-width: 767px) {
    .cover-banner-slider-card {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }
    
    .cover-banner-title {
        font-size: 1.4rem;
    }
    
    .cover-banner-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .cover-banner-media {
        order: -1;
    }
    
    .cover-banner-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .cover-banner-btn {
        align-self: center;
        width: 100%;
        text-align: center;
    }
    
    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .prev-arrow { right: 50px; bottom: 10px; }
    .next-arrow { right: 12px; bottom: 10px; }
}

@media (max-width: 400px) {
    .cover-banner-slider-card {
        padding: 12px;
    }
    
    .cover-banner-title {
        font-size: 1.1rem;
    }
    
    .cover-banner-meta .meta-value {
        font-size: 0.75rem;
    }
    
    .cover-banner-tags .tag {
        font-size: 0.55rem;
        padding: 2px 8px;
    }
}

/* Tablet - 576-991px arası mevcut, DEĞİŞTİR */
@media (min-width: 576px) and (max-width: 991px) {
    .novel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* EKLE */
    }
}

/* Mobil - 575px ve altı, DEĞİŞTİR */
@media (max-width: 575px) {
    .novel-grid {
        grid-template-columns: repeat(2, 1fr); /* 2'li grid yap */
        gap: 10px;
    }
    
    .novel-info {
        padding: 8px 10px 12px;
    }
    
    .novel-info h3 {
        font-size: 0.8rem;
    }
    
    .novel-desc {
        display: none; /* Mobilde açıklamayı gizle */
    }
    
    .novel-meta {
        font-size: 0.6rem;
        gap: 4px;
    }
    
    .status-badge {
        font-size: 0.5rem;
        padding: 1px 6px;
    }
    
    .category-tag {
        font-size: 0.5rem;
        padding: 1px 6px;
    }
}

/* Çok küçük ekran - 400px altı */
@media (max-width: 400px) {
    .novel-grid {
        grid-template-columns: 1fr; /* Tekli grid'e dön */
        gap: 12px;
    }
}

@media (max-width: 575px) {
    /* Mevcut forum stillerine EKLE */
    .forum-category {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .category-icon {
        font-size: 1.2rem !important;
        width: 30px !important;
    }
    
    .category-name {
        font-size: 0.85rem;
    }
    
    .category-desc {
        font-size: 0.7rem;
    }
    
    .category-stats {
        font-size: 0.6rem;
    }
    
    .category-last-post {
        padding-left: 40px;
        font-size: 0.7rem;
    }
    
    .category-last-post .last-post-meta {
        font-size: 0.6rem;
    }
    
    .forum-category:has(.category-icon) .category-info {
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .footer-partners-inner {
        gap: 8px;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-partners-label {
        font-size: 0.7rem;
        width: 100%;
    }
    
    .footer-partners-link {
        font-size: 0.75rem;
    }
    
    .footer-partners-divider {
        display: none;
    }
    
    .footer-partners-invite {
        font-size: 0.65rem;
        margin-top: 4px;
    }
}

@media (max-width: 400px) {
    .footer-partners-inner {
        gap: 4px;
    }
    
    .footer-partners-link {
        font-size: 0.7rem;
        padding: 2px 0;
    }
}

@media (max-width: 575px) {
    .table-wrapper {
        margin: 10px -8px;
        border-radius: 0;
    }
    
    table {
        min-width: 480px; /* 400'den 480'e çıkar */
        font-size: 0.7rem;
    }
    
    table th,
    table td {
        padding: 4px 8px;
    }
    
    table td .btn-sm {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
}

@media (max-width: 575px) {
    .category-checkboxes {
        gap: 6px;
    }
    
    .category-checkbox {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* ===== TABLET PORTRE (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .novel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .similar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== GENİŞ MOBİL (576px - 767px) ===== */
@media (min-width: 576px) and (max-width: 767px) {
    .novel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 320px - iPhone SE gibi çok küçük ekranlar ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 6px;
    }
    
    .novel-grid {
        gap: 8px;
    }
    
    .novel-info h3 {
        font-size: 0.7rem;
    }
    
    .novel-meta {
        font-size: 0.55rem;
    }
    
    .btn {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .logo {
        font-size: 0.8rem;
    }
}

/* ==================================================
   DİL SEÇİCİ
   ================================================== */
.lang-selector {
    position: relative;
    margin: 0 10px;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 4px 12px 4px 10px;
    color: var(--text-color);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.lang-btn i:first-child {
    font-size: 0.9rem;
}
.lang-btn i:last-child {
    font-size: 0.6rem;
    opacity: 0.5;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: var(--bg-color);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 6px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.lang-dropdown a:hover {
    background: rgba(245, 200, 66, 0.06);
    color: var(--accent-yellow);
}

.lang-dropdown a.active {
    background: rgba(245, 200, 66, 0.08);
    color: var(--accent-yellow);
}

/* Mobil Uyumluluk */
@media (max-width: 575px) {
    .lang-selector {
        margin: 4px 0;
        width: 100%;
    }
    
    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }
    
    .lang-dropdown {
        right: 50%;
        transform: translateX(50%);
        width: 100%;
        min-width: unset;
        max-width: 240px;
    }
}

/* ==================================================
   ADMIN PANEL STİLLERİ
   ================================================== */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #0f0f12;
    color: #e0e0e0;
    line-height: 1.6;
}

/* =============================================
   SIDEBAR
   ============================================= */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 230px;
    background: #141418;
    border-right: 1px solid #2a2a2f;
    padding: 0;
    flex-shrink: 0;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar .brand {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 20px 22px;
    color: #f5c842;
    border-bottom: 1px solid #2a2a2f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar nav {
    padding: 12px 0;
    flex: 1;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    color: #999;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.sidebar nav a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar nav a:hover {
    background: #1f1f26;
    color: #fff;
}

.sidebar nav a.active {
    background: #1f1f26;
    color: #f5c842;
    border-right: 3px solid #f5c842;
}

.sidebar nav hr {
    border: none;
    border-top: 1px solid #2a2a2f;
    margin: 12px 22px;
}

/* =============================================
   MAIN
   ============================================= */
.main {
    flex: 1;
    padding: 20px 30px 30px;
    min-width: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #2a2a2f;
    margin-bottom: 25px;
}

.topbar .mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =============================================
   İSTATİSTİK KARTLARI
   ============================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1a1a1f;
    border: 1px solid #2a2a2f;
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: 0.2s;
}

.stat-card:hover {
    border-color: #f5c84233;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f5c842;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   DASHBOARD GRID
   ============================================= */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard-card {
    background: #1a1a1f;
    border: 1px solid #2a2a2f;
    border-radius: 10px;
    padding: 18px 22px;
}

.dashboard-card h3 {
    font-size: 0.95rem;
    color: #f5c842;
    margin-bottom: 12px;
}

.dashboard-card ul {
    list-style: none;
}

.dashboard-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #25252a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.dashboard-card ul li:last-child {
    border-bottom: none;
}

.dashboard-card ul li a {
    color: #e0e0e0;
    text-decoration: none;
}

.dashboard-card ul li a:hover {
    color: #f5c842;
}

.dashboard-card .meta {
    font-size: 0.75rem;
    opacity: 0.4;
}

.dashboard-card .empty-text {
    opacity: 0.4;
    text-align: center;
    padding: 20px 0;
}

/* ===== QUICK LINKS ===== */
.quick-links .link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #1f1f26;
    border: 1px solid #2a2a2f;
    border-radius: 6px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.quick-btn:hover {
    background: #2a2a2f;
    color: #f5c842;
    border-color: #f5c84244;
}

.quick-btn i {
    font-size: 1.1rem;
}

/* =============================================
   TABLO
   ============================================= */
.admin-page .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-page .header h1 {
    font-size: 1.4rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

table th {
    text-align: left;
    padding: 10px 14px;
    background: #141418;
    color: #f5c842;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #2a2a2f;
}

table td {
    padding: 10px 14px;
    border-bottom: 1px solid #25252a;
    vertical-align: middle;
}

table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* =============================================
   BUTONLAR
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #f5c842;
    color: #141418;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.btn:hover {
    background: #e6b83a;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: transparent;
    color: #999;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: 0.2s;
    border: 1px solid transparent;
}

.btn-sm:hover {
    background: #1f1f26;
    color: #fff;
}

.btn-sm.danger:hover {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

.btn.cancel {
    background: #25252a;
    color: #999;
}

.btn.cancel:hover {
    background: #35353a;
    color: #fff;
}

/* =============================================
   FORM
   ============================================= */
.form .field {
    margin-bottom: 14px;
}

.form label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    opacity: 0.8;
    font-weight: 500;
}

.form input[type="text"],
.form input[type="number"],
.form input[type="email"],
.form input[type="password"],
.form select,
.form textarea {
    width: 100%;
    padding: 10px 14px;
    background: #141418;
    border: 1px solid #2a2a2f;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-family: inherit;
    transition: 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: #f5c84266;
}

.form textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form .form-row-check {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.form .form-row-check label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    cursor: pointer;
}

.form .form-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2f;
    display: flex;
    gap: 10px;
}

/* =============================================
   DİL BÖLÜMLERİ
   ============================================= */
.lang-section {
    padding: 15px 18px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.lang-section.tr {
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.lang-section.tr h4 { color: #f5c842; }

.lang-section.en {
    background: rgba(52, 152, 219, 0.03);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.lang-section.en h4 { color: #3498db; }

.lang-section.es {
    background: rgba(243, 156, 18, 0.03);
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.lang-section.es h4 { color: #f39c12; }

.lang-section.id {
    background: rgba(46, 204, 113, 0.03);
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.lang-section.id h4 { color: #2ecc71; }

.lang-section h4 {
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* =============================================
   FLASH MESAJLAR
   ============================================= */
.flash {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.flash.success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.25);
    color: #2ecc71;
}

.flash.error {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.25);
    color: #e74c3c;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.5;
}

.empty a {
    color: #f5c842;
    text-decoration: none;
}

.empty a:hover {
    text-decoration: underline;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        width: 240px;
        z-index: 100;
        transition: left 0.3s;
        height: 100vh;
    }
    
    .sidebar.mobile-open {
        left: 0;
    }
    
    .topbar .mobile-toggle {
        display: block;
    }
    
    .main {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 14px 16px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .form .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-links .link-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    table th,
    table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== HEADER NAV COMPACT (cok dilli uzun etiketler icin) ===== */
.main-nav {
    flex-wrap: wrap;
    row-gap: 8px;
    gap: 10px;
}
.nav-left {
    gap: 8px;
    row-gap: 4px;
}
.nav-left a {
    padding: 5px 8px;
}
.nav-right {
    margin-left: auto;
}
@media (max-width: 1250px) {
    .main-nav a {
        padding: 4px 7px;
        font-size: 0.85rem;
    }
    .header-search {
        min-width: 120px;
    }
}
