.chapter-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.story-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.story-info {
    flex: 1;
}

.story-info h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-secondary);
}

.author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.author:hover {
    color: var(--primary-color);
}

.author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.chapter-number {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    color: var(--text-secondary);
}

/* Ana içerik stilleri */
.chapter-content {
    font-size: 18px;
    line-height: 1.8;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Karanlık mod için içerik stilleri */
body.dark-mode {
    background: #1a1a1a;
    color: #fff;
}

body.dark-mode .chapter-content {
    color: #e0e0e0;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .chapter-container {
        margin: 0;
        border-radius: 0;
        padding-bottom: 80px;
    }

    .story-header {
        flex-direction: column;
        padding: 1.5rem;
    }

    .story-info h1 {
        font-size: 1.5rem;
    }

    .story-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .chapter-content {
        padding: 1.5rem;
        font-size: 16px;
    }

    .chapter-navigation {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 15px;
        background: #fff;
        margin: 0;
        z-index: 999;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .nav-button {
        flex: 1;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #f8f9fa;
        border: none;
        color: #333;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .prev-chapter {
        background: #f8f9fa;
    }

    .next-chapter {
        background: #ff5722;
        color: white;
    }

    .all-chapters {
        background: #6c5ce7;
        color: white;
    }

    .nav-button i {
        font-size: 1.1rem;
    }

    .nav-button:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    body.dark-mode .chapter-navigation {
        background: #1a1a1a;
    }

    body.dark-mode .prev-chapter {
        background: #2d2d2d;
        color: #fff;
    }
}

@media (max-width: 480px) {
    .chapter-navigation {
        padding: 8px 12px;
    }

    .nav-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .nav-button i {
        font-size: 1rem;
    }
}

/* Normal ekran navigasyon stilleri */
.chapter-navigation {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.prev-chapter {
    background: #f8f9fa;
    color: #333;
}

.next-chapter {
    background: #ff5722;
    color: white;
}

.all-chapters {
    background: #6c5ce7;
    color: white;
}

.nav-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chapter-container {
    animation: fadeIn 0.5s ease-out;
} 