/* ============================================================
   FERAH TEMA - SICAK VE OKUMASI KOLAY
   ============================================================ */

/* ============================================================
   ROOT DEĞİŞKENLER - YENİ FERAH RENKLER
   ============================================================ */
:root {
    /* ✅ Ana Renkler - Sıcak ve Davetkar */
    --primary: #6C5CE7;          /* Mor - Güven ve yaratıcılık */
    --primary-dark: #5A4BD1;     /* Koyu mor */
    --primary-light: #A29BFE;    /* Açık mor */
    --secondary: #FD79A8;        /* Pembe - Sıcaklık ve samimiyet */
    --accent: #FDCB6E;           /* Altın sarısı - Dikkat çekici */
    --success: #00B894;          /* Yemyeşil - Başarı */
    
    /* ✅ Arka Planlar - Ferah ve Aydınlık */
    --bg-primary: #F8F9FA;       /* Beyazımsı gri - Ana arka plan */
    --bg-secondary: #FFFFFF;     /* Beyaz - Kart arka planları */
    --bg-card: #FFFFFF;          /* Beyaz - Kartlar */
    --bg-card-hover: #F1F2F6;    /* Hafif gri - Hover efekti */
    
    /* ✅ Metin Renkleri - Okunabilir */
    --text-primary: #2D3436;     /* Koyu gri - Ana metin */
    --text-secondary: #636E72;   /* Orta gri - Alt metin */
    --text-muted: #B2BEC3;       /* Açık gri - Pasif metin */
    
    /* ✅ Kenarlıklar ve Gölgeler */
    --border-color: #DFE6E9;     /* Açık gri kenarlık */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 40px rgba(108, 92, 231, 0.12);
    --radius: 16px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================================
   HEADER - FERAH
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    margin: 0;
    padding: 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px;
}

/* ============================================================
   HEADER BUTONLARI - FERAH
   ============================================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.header-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.header-btn i {
    font-size: 13px;
}

/* Yazar Ol Butonu */
.author-btn i {
    color: var(--secondary);
}

.author-btn:hover {
    box-shadow: 0 8px 24px rgba(253, 121, 168, 0.25);
}

/* Giriş Yap Butonu */
.login-btn i {
    color: var(--primary);
}

.login-btn:hover {
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.25);
}

/* Profil Butonu */
.profile-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important;
    border: none !important;
}

.profile-btn:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4) !important;
}

.profile-btn i {
    color: #fff !important;
}

/* Google Play Butonu */
.download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    border: 2px solid #4CAF50;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.download-btn:hover {
    transform: translateY(-2px);
    border-color: #66BB6A;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
    background: #1a1a2e;
}

.download-btn i {
    font-size: 16px;
    color: #4CAF50;
}

.download-btn span {
    color: #fff;
    font-size: 12px;
}

/* ============================================================
   NAVIGASYON MENÜSÜ - FERAH
   ============================================================ */
.main-nav {
    position: sticky;
    top: 56px;
    z-index: 90;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    margin: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    min-width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.05);
}

.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
}

.nav-link i {
    font-size: 16px;
}

.nav-link span {
    font-weight: 500;
    font-size: 12px;
}

/* ============================================================
   GENRE FILTER - FERAH
   ============================================================ */
.genres-filter {
    padding: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 94px;
    z-index: 49;
    margin: 0;
}

.genres-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0 8px;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.genres-scroll::-webkit-scrollbar {
    display: none;
}

.genre-tab {
    flex-shrink: 0;
    padding: 4px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.genre-tab:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.genre-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: #fff;
}

/* ============================================================
   MOBİL - HEADER & NAV
   ============================================================ */
@media (max-width: 768px) {
    .header-inner {
        padding: 6px 0;
    }
    
    .main-nav {
        top: 48px;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 11px;
        gap: 5px;
    }
    
    .nav-link i {
        font-size: 13px;
    }
    
    .nav-link span {
        font-size: 10px;
    }
    
    .genres-filter {
        top: 82px;
        padding: 0;
    }
    
    .genres-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 4px 0 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
    }
    
    .genres-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .genre-tab {
        font-size: 11px;
        padding: 4px 12px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 4px 0;
    }
    
    .main-nav {
        top: 40px;
    }
    
    .nav-link {
        padding: 4px 8px;
        font-size: 10px;
        gap: 3px;
    }
    
    .nav-link i {
        font-size: 11px;
    }
    
    .nav-link span {
        font-size: 9px;
    }
    
    .genres-filter {
        top: 70px;
    }
    
    .genre-tab {
        font-size: 10px;
        padding: 3px 10px;
        border-radius: 16px;
    }
}

/* ============================================================
   HERO - FERAH
   ============================================================ */
.hero {
    padding: 30px 0 40px;
    background: linear-gradient(135deg, #F8F9FA 0%, #F1F2F6 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 121, 168, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(108, 92, 231, 0.10);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 12px;
}

.hero-badge i {
    color: var(--secondary);
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    max-width: 480px;
    line-height: 1.6;
    text-indent: 2.5em;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 14px 0 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.35);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.06);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 12px 28px;
    font-size: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: var(--bg-card);
    padding: 18px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    max-width: 100%;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ============================================================
   HERO PHONE
   ============================================================ */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    position: relative;
    width: 200px;
    height: 350px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 3px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.hero-phone:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.15);
}

.hero-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    opacity: 1;
    transform: scale(1);
    will-change: transform, opacity;
    display: block;
}

.hero-phone:hover img {
    transform: scale(1.05);
}

.phone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
    border-radius: 21px;
    pointer-events: none;
}

.hero-phone:hover .phone-overlay {
    opacity: 1;
    pointer-events: auto;
}

.phone-overlay i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
}

.phone-overlay span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* ============================================================
   STORIES - FERAH
   ============================================================ */
.stories {
    padding: 30px 0 50px;
    background: var(--bg-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    display: block;
    margin-top: 4px;
}

/* ============================================================
   RESPONSIVE - STORIES GRID
   ============================================================ */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Mobil - 3 sütun */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* ============================================================
   STORY CARD - FERAH
   ============================================================ */
.story-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.story-cover {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--bg-secondary);
}

.story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-cover img {
    transform: scale(1.05);
}

.story-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-status.completed {
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
}

.story-status.ongoing {
    color: #FF9800;
    border-color: rgba(255, 152, 0, 0.3);
}

.story-info {
    padding: 8px 10px;
}

.story-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.story-author {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-muted);
}

.story-meta i {
    font-size: 9px;
}

.story-meta .rating {
    color: #FDCB6E;
}

.story-meta .rating i {
    color: #FDCB6E;
}

/* ============================================================
   APP BANNER - FERAH
   ============================================================ */
.app-banner {
    padding: 30px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.app-banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.app-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: rgba(253, 203, 110, 0.15);
    border: 1px solid rgba(253, 203, 110, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: #FDCB6E;
    margin-bottom: 10px;
}

.app-banner-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.app-banner-text p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 14px;
}

.app-features {
    list-style: none;
    margin-bottom: 16px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.app-features li i {
    color: var(--primary);
    font-size: 16px;
}

.app-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================================
   APP BANNER PHONE
   ============================================================ */
.app-banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-banner-phone {
    width: 170px;
    height: 300px;
    background: var(--bg-card);
    border-radius: 22px;
    border: 3px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-banner-phone:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.15);
}

.app-banner-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    opacity: 1;
    transform: scale(1);
    will-change: transform, opacity;
    display: block;
}

.app-banner-phone:hover img {
    transform: scale(1.05);
}

/* ============================================================
   SIRALAMA SEÇENEKLERİ - FERAH
   ============================================================ */
.sort-container {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.sort-select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    min-width: 120px;
}

.sort-select:hover {
    border-color: var(--primary);
}

.sort-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.sort-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ============================================================
   RESPONSIVE - MOBİL
   ============================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-phone {
        width: 160px;
        height: 280px;
    }
    
    .app-banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-features {
        display: inline-block;
        text-align: left;
    }
    
    .app-download-buttons {
        justify-content: center;
    }
    
    .app-banner-phone {
        width: 140px;
        height: 245px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        gap: 6px;
        padding: 6px 0;
        flex-wrap: nowrap;
    }
    
    .logo {
        font-size: 14px;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .logo img {
        width: 28px;
        height: 28px;
    }
    
    .logo span {
        font-size: 13px;
    }
    
    .header-actions {
        gap: 4px;
        flex-shrink: 0;
    }
    
    .header-btn {
        padding: 5px 8px;
        font-size: 10px;
        border-radius: 6px;
        gap: 3px;
    }
    
    .header-btn span {
        font-size: 9px;
    }
    
    .header-btn i {
        font-size: 11px;
    }
    
    .download-btn {
        padding: 5px 10px;
        font-size: 10px;
        border-radius: 6px;
        gap: 4px;
        border-width: 1.5px;
    }
    
    .download-btn span {
        font-size: 9px;
    }
    
    .download-btn i {
        font-size: 13px;
    }
    
    .main-nav {
        top: 50px;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 11px;
        gap: 5px;
    }
    
    .nav-link i {
        font-size: 13px;
    }
    
    .nav-link span {
        font-size: 10px;
    }
    
    .hero {
        padding: 20px 0 30px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 13px;
    }
    
    .hero-stats {
        padding: 14px 16px;
        gap: 8px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .hero-phone {
        width: 140px;
        height: 245px;
    }
    
    .app-banner-text h2 {
        font-size: 22px;
    }
    
    .app-banner-text p {
        font-size: 14px;
    }
    
    .app-banner-phone {
        width: 120px;
        height: 210px;
    }
}

@media (max-width: 480px) {
    .header-btn {
        padding: 4px 6px;
        font-size: 9px;
    }
    
    .header-btn span {
        font-size: 8px;
    }
    
    .header-btn i {
        font-size: 10px;
    }
    
    .download-btn {
        padding: 4px 8px;
        font-size: 9px;
    }
    
    .download-btn span {
        font-size: 8px;
    }
    
    .download-btn i {
        font-size: 11px;
    }
    
    .main-nav {
        top: 42px;
    }
    
    .nav-link {
        padding: 6px 6px;
        font-size: 10px;
        gap: 3px;
    }
    
    .nav-link i {
        font-size: 11px;
    }
    
    .nav-link span {
        font-size: 9px;
    }
    
    .hero-text h1 {
        font-size: 22px;
    }
    
    .hero-text p {
        font-size: 12px;
    }
    
    .btn {
        padding: 7px 14px;
        font-size: 11px;
    }
    
    .hero-stats {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .hero-phone {
        width: 120px;
        height: 210px;
    }
    
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .story-title {
        font-size: 10px;
    }
    
    .story-meta {
        font-size: 8px;
        gap: 4px;
    }
    
    .story-meta i {
        font-size: 7px;
    }
    
    .app-banner-text h2 {
        font-size: 18px;
    }
    
    .app-banner-text p {
        font-size: 12px;
    }
    
    .app-banner-phone {
        width: 100px;
        height: 175px;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-text h1 {
    animation: fadeInUp 0.6s ease;
}

.hero-text p {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-buttons {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-image {
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* ============================================================
   SPA SAYFA GEÇİŞLERİ
   ============================================================ */
.page-content {
    display: none;
    animation: fadeInPage 0.3s ease;
}

.page-content.active {
    display: block;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   SAYFA BÖLÜMLERİ
   ============================================================ */
.page-section {
    padding: 30px 0 50px;
    min-height: 50vh;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

/* ============================================================
   LOADING
   ============================================================ */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 12px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ============================================================
   BOŞ KİTAPLIK
   ============================================================ */
.empty-library {
    text-align: center;
    padding: 40px 20px;
}

.empty-library i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.empty-library h3 {
    color: var(--text-primary);
    margin-bottom: 6px;
}

.empty-library p {
    color: var(--text-secondary);
}

/* ============================================================
   GİRİŞ PROMPT
   ============================================================ */
.login-prompt {
    text-align: center;
    padding: 40px 20px;
}

.login-prompt i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.login-prompt h3 {
    color: var(--text-primary);
    margin-bottom: 6px;
}

.login-prompt p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ============================================================
   KİTAPLIK - MOBİL 2 SÜTUN
   ============================================================ */
#libraryContent .stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

@media (max-width: 992px) {
    #libraryContent .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    #libraryContent .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    #libraryContent .story-card {
        border-radius: 10px;
    }
    
    #libraryContent .story-card .story-info {
        padding: 6px 8px;
    }
    
    #libraryContent .story-card .story-title {
        font-size: 11px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        min-height: 28px;
    }
    
    #libraryContent .story-card .story-author {
        font-size: 9px;
        margin-bottom: 3px;
    }
    
    #libraryContent .story-card .story-meta {
        font-size: 9px;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    #libraryContent .story-card .story-meta span {
        font-size: 9px;
        display: flex;
        align-items: center;
        gap: 2px;
    }
    
    #libraryContent .story-card .story-meta i {
        font-size: 8px;
    }
    
    #libraryContent .story-cover {
        aspect-ratio: 2/3;
    }
    
    #libraryContent .story-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    #libraryContent .story-status {
        font-size: 7px;
        padding: 2px 6px;
        bottom: 4px;
        right: 4px;
        border-radius: 4px;
    }
    
    #libraryContent .story-cover .favorite-badge {
        font-size: 7px;
        padding: 1px 6px;
        top: 4px;
        right: 4px;
    }
    
    #libraryContent .story-cover .new-chapter-badge {
        font-size: 7px;
        padding: 1px 6px;
        bottom: 32px;
        left: 4px;
    }
}

@media (max-width: 380px) {
    #libraryContent .stories-grid {
        gap: 6px;
    }
    
    #libraryContent .story-card .story-title {
        font-size: 10px;
        min-height: 24px;
    }
    
    #libraryContent .story-card .story-author {
        font-size: 8px;
    }
    
    #libraryContent .story-card .story-meta {
        font-size: 8px;
        gap: 4px;
    }
    
    #libraryContent .story-card .story-meta span {
        font-size: 8px;
    }
}

/* ============================================================
   MODAL - FERAH
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        transform: scale(0.95) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: sticky;
    top: 10px;
    right: 10px;
    float: right;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.modal-content {
    padding: 0 20px 20px;
}

.modal-cover {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modal-author {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.modal-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-meta .rating {
    color: #FDCB6E;
}

.modal-summary {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 14px;
}

.modal-chapters {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-chapters .chapter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.modal-chapters .chapter-item:hover {
    border-color: var(--primary);
}

.modal-chapters .chapter-item .chapter-number {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
}

.modal-chapters .chapter-item .chapter-number strong {
    color: var(--primary);
    font-weight: 600;
}

.modal-chapters .chapter-item .chapter-status {
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 6px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: 8px;
}

.modal-chapters .chapter-item .chapter-status.free {
    background: rgba(76, 175, 80, 0.12);
    color: #00B894;
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.modal-chapters .chapter-item .chapter-status.locked {
    background: rgba(255, 152, 0, 0.12);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.15);
}

.modal-chapters .chapter-item .chapter-status .unlock-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 3px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.modal-chapters .chapter-item .chapter-status .unlock-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.app-cta-modal {
    margin-top: 16px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}

.app-cta-modal p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 13px;
}

/* ============================================================
   FOOTER - FERAH
   ============================================================ */
.footer {
    padding: 30px 0 20px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 24px;
}

.footer-brand .logo {
    font-size: 16px;
    margin-bottom: 6px;
}

.footer-brand .logo img {
    width: 28px;
    height: 28px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-links-column h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.footer-links-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    padding: 3px 0;
    transition: var(--transition);
}

.footer-links-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}

/* ============================================================
   RESPONSIVE - FOOTER
   ============================================================ */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ============================================================
   YENİ KİTAPLAR SAYFASI - MOBİL 3 SÜTUN
   ============================================================ */
#newStoriesGrid .stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

@media (max-width: 992px) {
    #newStoriesGrid .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    #newStoriesGrid .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    #newStoriesGrid .story-card .story-title {
        font-size: 10px;
        line-height: 1.2;
    }
    
    #newStoriesGrid .story-card .story-author {
        font-size: 8px;
    }
    
    #newStoriesGrid .story-card .story-meta {
        font-size: 8px;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    #newStoriesGrid .story-card .story-meta span {
        font-size: 8px;
    }
    
    #newStoriesGrid .story-card .story-info {
        padding: 4px 4px 6px 4px;
    }
    
    #newStoriesGrid .story-cover {
        aspect-ratio: 2/3;
        height: auto;
    }
    
    #newStoriesGrid .story-cover img {
        aspect-ratio: 2/3;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    #newStoriesGrid .story-status {
        font-size: 7px;
        padding: 2px 6px;
        bottom: 4px;
        right: 4px;
    }
    
    #newStoriesGrid .story-cover .new-badge {
        font-size: 7px;
        padding: 1px 6px;
        top: 4px;
        left: 4px;
    }
    
    .genre-section-header h3 {
        font-size: 13px;
    }
    
    .genre-section-header .genre-stats {
        font-size: 9px;
    }
    
    .genre-section-header .new-badge {
        font-size: 9px;
        padding: 2px 8px;
    }
}

@media (max-width: 380px) {
    #newStoriesGrid .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

/* ============================================================
   YENİ KİTAPLAR - TÜR BÖLÜMLERİ
   ============================================================ */
.genre-section {
    margin-bottom: 40px;
}

.genre-section:last-child {
    margin-bottom: 0;
}

.genre-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.genre-section-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.genre-section-header .genre-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE - YENİ KİTAPLAR
   ============================================================ */
@media (max-width: 768px) {
    .genre-section-header h3 {
        font-size: 17px;
    }
    
    .genre-section-header .genre-count {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .genre-section-header h3 {
        font-size: 15px;
    }
    
    .genre-section-header .genre-count {
        font-size: 11px;
    }
}

/* Profil bilgi satırları */
.profile-info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}
.profile-info-row .label {
    font-weight: 500;
    color: var(--text-primary);
}
.profile-info-row .value {
    color: var(--text-secondary);
}

/* Kazanç kartları */
.earning-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.earning-card {
    background: var(--bg-secondary);
    padding: 14px 8px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-color);
}
.earning-card .icon {
    font-size: 24px;
    margin-bottom: 6px;
}
.earning-card .amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.earning-card .label {
    font-size: 11px;
    color: var(--text-secondary);
}
.earning-card .sub-label {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 4px;
}
.earning-card.read .icon { color: #4facfe; }
.earning-card.invite .icon { color: #FF9800; }
.earning-card.write .icon { color: #48bb78; }

/* Referans kodu bölümü */
.referral-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.referral-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.referral-section .desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.referral-code-box {
    background: linear-gradient(135deg, #6C63FF, #4facfe);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.referral-code-box .code {
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: 4px;
}
.referral-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}
.referral-actions button {
    padding: 8px 16px;
    font-size: 13px;
}
.referred-by-badge {
    background: var(--bg-secondary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    display: inline-block;
    margin-bottom: 12px;
}
.invitees-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-align: center;
}
.invitees-list {
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}
.invitee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}
.invitee-row:last-child {
    border-bottom: none;
}
.invitee-empty {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

@media (max-width: 600px) {
    .profile-card { padding: 20px; }
    .earning-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .earning-card { padding: 10px 4px; }
    .earning-card .icon { font-size: 20px; }
    .earning-card .amount { font-size: 13px; }
    .earning-card .label { font-size: 9px; }
    .profile-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .profile-stat .number { font-size: 18px; }
}

/* ============================================================
   DİL DEĞİŞTİRİCİ (LANGUAGE SWITCHER)
   ============================================================ */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.lang-switcher-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.lang-switcher-btn .lang-flag {
    font-size: 15px;
    line-height: 1;
}

.lang-switcher-btn i {
    font-size: 9px;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.lang-switcher.open .lang-switcher-btn i,
.lang-switcher-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 200;
    animation: langDropdownIn 0.2s ease;
}

.lang-dropdown.open {
    display: flex;
}

@keyframes langDropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    width: 100%;
}

.lang-option:hover {
    background: var(--bg-card-hover);
}

.lang-option.active {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 768px) {
    .lang-switcher-btn {
        padding: 5px 8px;
        font-size: 10px;
        gap: 4px;
    }
    .lang-switcher-btn .lang-flag {
        font-size: 13px;
    }
    .lang-dropdown {
        min-width: 150px;
        right: -8px;
    }
    .lang-option {
        font-size: 12px;
        padding: 7px 8px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-right {
        gap: 4px;
    }
}