.story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hikaye Başlığı Bölümü */
.story-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.story-cover {
    width: 300px;
    height: 480px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-info h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--secondary-color);
}

.author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author span {
    font-weight: 500;
}

.story-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--dark-gray);
}

.story-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-details {
    display: flex;
    gap: 1.5rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.story-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.story-description {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

.story-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.action-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.like-button, .comment-button, .add-chapter-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.like-button {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.like-button:hover, .like-button.liked {
    background: var(--primary-color);
    color: #fff;
}

.comment-button {
    background: var(--secondary-color);
    color: #fff;
}

.comment-button:hover {
    background: #1a2733;
}

.add-chapter-button {
    background: var(--primary-color);
    color: #fff;
}

.add-chapter-button:hover {
    background: #e64a19;
    transform: translateY(-2px);
}

.login-to-interact {
    display: inline-block;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.login-to-interact:hover {
    background: #e9ecef;
}

.report-button {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-left: auto;
}

.report-button:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
}

/* Hikaye İçeriği */
.story-content {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.chapters-list {
    margin-bottom: 2rem;
}

.chapters-list h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-chapter-link {
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.add-chapter-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.chapters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.chapter {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.chapter:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.chapter-number {
    background: var(--primary-color);
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 500;
}

.chapter-title {
    font-weight: 500;
}

.chapter-content {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.chapter-content:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.chapter-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.story-text, .chapter-content {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Yorumlar Bölümü */
.comments-section {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.comments-section h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-section h2 i {
    color: var(--primary-color);
}

.comment-form {
    margin-bottom: 2.5rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--secondary-color);
    resize: vertical;
    transition: all 0.3s ease;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.comment-form button {
    margin-top: 1rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background: #e64a19;
    transform: translateY(-2px);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.comment:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-info .username {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-info .username:hover {
    color: var(--primary-color);
}

.author-info .date {
    color: var(--dark-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.comment-content {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.login-to-comment {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.login-to-comment p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.login-to-comment a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-to-comment a:hover {
    background: #e64a19;
    transform: translateY(-2px);
}

.no-comments {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    color: var(--dark-gray);
}

.no-comments i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-comments p {
    font-size: 1.1rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .story-container {
        padding: 1rem;
    }

    .story-header {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .story-cover {
        width: 200px;
        height: 320px;
        margin: 0 auto;
    }

    .story-info h1 {
        font-size: 2rem;
        text-align: center;
    }

    .story-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .story-details {
        flex-wrap: wrap;
        justify-content: center;
    }

    .story-tags {
        justify-content: center;
    }

    .story-description {
        text-align: center;
    }

    .story-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .chapters {
        grid-template-columns: 1fr;
    }

    .chapters-list h2 {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .add-chapter-link {
        width: 100%;
        justify-content: center;
    }

    .comments-section {
        padding: 1.5rem;
    }

    .comments-section h2 {
        font-size: 1.5rem;
    }

    .comment {
        padding: 1rem;
    }

    .comment-author img {
        width: 40px;
        height: 40px;
    }

    .author-info .username {
        font-size: 1rem;
    }

    main {
        margin-top: 50px;
        margin-bottom: 70px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .download-pdf-button {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .comments-section {
        padding: 1rem;
    }

    .comment-form button {
        width: 100%;
    }

    .comment-author {
        flex-direction: column;
        align-items: center;
    }

    .author-info {
        text-align: center;
    }

    .logo {
        font-size: 1.2rem;
    }

    main {
        margin-top: 50px;
        margin-bottom: 70px;
    }
}

/* Header ve Navbar */
header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 60px;
}

.logo {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #e64a19;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    header {
        padding: 0;
    }

    nav {
        padding: 0 1rem;
        height: 50px;
    }

    .logo {
        font-size: 1.5rem;
    }

    nav ul {
        display: none;
    }

    main {
        margin-top: 50px;
        margin-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    nav ul li a span {
        display: none;
    }

    nav ul li a i {
        font-size: 1.2rem;
        margin: 0;
    }

    nav ul {
        gap: 0.8rem;
    }
}

/* Mobil Navigasyon */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    border-top: 1px solid #eee;
    width: 100%;
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem;
    margin: 0;
    list-style: none;
}

.mobile-nav ul li {
    flex: 1;
    text-align: center;
}

.mobile-nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.mobile-nav ul li a i {
    font-size: 1.2rem;
}

.mobile-nav ul li a span {
    font-size: 0.8rem;
}

.mobile-nav ul li a.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block !important;
    }
    
    main {
        margin-top: 50px;
        margin-bottom: 70px;
    }
}

/* Ana İçerik Alanı */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding-bottom: 60px;
}

.download-pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.download-pdf-button i {
    font-size: 16px;
}

.download-pdf-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ad-container {
    width: 100%;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
}

.ad-banner-top {
    margin-bottom: 30px;
}

.ad-banner-bottom {
    margin-top: 30px;
}

.ad-between-chapters {
    margin: 40px 0;
    padding: 20px;
    background: linear-gradient(to right, #f8f9fa, #fff, #f8f9fa);
}

.ad-before-download {
    margin: 30px 0;
    padding: 15px;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    .ad-container {
        padding: 5px;
    }
    
    .ad-between-chapters {
        margin: 20px 0;
        padding: 10px;
    }
}

/* Reklam alanlarını gizleme özelliği */
.ad-container.hidden {
    display: none;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #1a1c23;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #e2e8f0;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close-button {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #e2e8f0;
}

#reportForm {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    background: #2d2f39;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cancel-button,
.submit-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border: none;
}

.cancel-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.submit-button {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.chapters-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #4776E6, #8E54E9);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.chapters-button i {
    font-size: 1.1rem;
}

.chapters-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(71, 118, 230, 0.2);
}

.chapter-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-button.all-chapters {
    background: linear-gradient(135deg, #4776E6, #8E54E9);
    color: #fff;
}

.nav-button.add-chapter {
    background: linear-gradient(135deg, #FF8008, #FFC837);
    color: #fff;
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .chapter-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
}

.story-management {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.manage-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.manage-button.edit {
    background-color: #4CAF50;
    color: white;
}

.manage-button.edit:hover {
    background-color: #388E3C;
}

.manage-button.delete {
    background-color: #f44336;
    color: white;
}

.manage-button.delete:hover {
    background-color: #d32f2f;
}

.manage-button i {
    font-size: 1rem;
}

.reading-options {
    display: none;
}

.reading-progress {
    display: none;
}

.reading-options-inner {
    display: none;
}

.reading-option-btn {
    display: none;
}

.stop-reading {
    display: none;
} 