/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Global Palet */
    --primary-bg: #5a189a; /* ana mor */
    --secondary-bg: #4a148c; /* türev koyu mor (yakın ton) */
    --accent-color: #bfa2db; /* açık mor */
    --text-primary: #ffffff; /* beyaz */
    --text-secondary: #eae2f8; /* açık metin */
    --text-muted: #d4af37; /* altın vurgu/metin yardımcı */
    
    /* Kitap Renkleri */
    --book-cover: #5a189a;
    --book-page: #ffffff;
    --book-shadow: #667eea;
    
    /* Durum Renkleri */
    --status-completed: #00d4aa;
    --status-ongoing: #ffa726;
    --status-waiting: #ff6b9d;
    
    /* Gölgeler */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* Geçişler */
    --transition: all 0.3s ease;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--primary-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animasyonlu arka plan parçacıkları */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(168, 85, 247, 0.08), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(168, 85, 247, 0.06), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(168, 85, 247, 0.08), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(168, 85, 247, 0.06), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(168, 85, 247, 0.06), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    transform: translateY(var(--parallax-y, 0px));
    transition: transform 120ms ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes sparkle {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-continue {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    text-decoration: none;
}

.btn-continue:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* Navigation */
.navbar {
    background: rgba(90, 24, 154, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(240, 147, 251, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(240, 147, 251, 0.1), transparent);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle {
    display: none; /* Desktop'ta gizli */
    background: transparent;
    border: 1px solid rgba(191, 162, 219, 0.35);
    color: var(--text-primary);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(191, 162, 219, 0.1);
    border-color: var(--accent-color);
}

.nav-toggle:active { transform: scale(0.98); }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo a:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 107, 157, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(0, 212, 170, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #f093fb 0%, #ffffff 50%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 5px rgba(240, 147, 251, 0.4)); }
    100% { filter: drop-shadow(0 0 20px rgba(240, 147, 251, 0.8)); }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-stack {
    position: relative;
    width: 300px;
    height: 400px;
}

.book {
    position: absolute;
    width: 200px;
    height: 280px;
    background: var(--book-cover);
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
    transform-origin: center;
    transition: all 0.5s ease;
}

.book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 8px;
    pointer-events: none;
}

.book-1 {
    transform: rotate(-5deg) translateY(0);
    z-index: 3;
}

.book-2 {
    transform: rotate(3deg) translateY(-10px);
    z-index: 2;
    background: #a0522d;
}

.book-3 {
    transform: rotate(-2deg) translateY(-20px);
    z-index: 1;
    background: #654321;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Categories Section */
.categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 147, 251, 0.2), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-bg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.7);
}

.category-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-muted);
}

/* Stories Section */
.popular-stories {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    position: relative;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.story-card:hover::before {
    opacity: 1;
}

.story-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-medium);
    color: var(--text-primary);
}

.story-cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--book-cover) 0%, #5b21b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.story-status.completed {
    background: var(--status-completed);
}

.story-status.ongoing {
    background: var(--status-ongoing);
}

.story-status.waiting {
    background: var(--status-waiting);
}

.story-image {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
}

.story-content {
    padding: 1.5rem;
}

.story-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.story-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.story-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.story-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    font-size: 1.5rem;
    color: #ffffff;
}

.step-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bg);
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--text-muted);
}

/* Loading Animation */
.loader-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.08);
    backdrop-filter: blur(2px);
    z-index: 20000;
}

.loader-overlay.active { display: flex; }

.ink-loader { width: 80px; height: 40px; position: relative; }
.ink-pen {
    position: absolute; left: 0; top: 4px; width: 12px; height: 12px;
    border-radius: 2px; background: var(--accent-color);
    transform: rotate(45deg);
    box-shadow: 0 0 0 2px rgba(168,85,247,0.2);
    animation: pen-move 1.2s ease-in-out infinite;
}
.ink-line {
    position: absolute; left: 0; right: 0; bottom: 6px; height: 3px;
    background: linear-gradient(90deg, rgba(168,85,247,0.0), rgba(168,85,247,0.6), rgba(168,85,247,0.0));
    filter: blur(0.2px);
    animation: ink-pulse 1.2s ease-in-out infinite;
}
@keyframes pen-move { 0% { transform: translateX(0) rotate(45deg);} 50%{ transform: translateX(68px) rotate(45deg);} 100%{ transform: translateX(0) rotate(45deg);} }
@keyframes ink-pulse { 0%,100%{ opacity: .5;} 50%{ opacity: 1;} }

/* Desktop - Toggle'ı gizle */
@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        border: none !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-toggle { 
        display: inline-flex !important; 
        margin-left: auto; 
    }
    .nav-menu {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 20px;
        background: rgba(90, 24, 154, 0.98);
        border-bottom: 1px solid rgba(191, 162, 219, 0.35);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: max-height 240ms ease, opacity 200ms ease, transform 240ms ease;
        will-change: max-height, opacity, transform;
        z-index: 1000;
    }
    .nav-menu.active {
        max-height: 320px;
        padding: 12px 20px 16px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo i {
        font-size: 1.4rem;
    }
    
    .nav-auth { display: none; }
    
    .nav-auth .btn-primary,
    .nav-auth .btn-secondary {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .book-stack {
        width: 250px;
        height: 300px;
    }
    
    .book {
        width: 150px;
        height: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.3rem 0;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .nav-logo i {
        font-size: 1.2rem;
    }
    
    .nav-auth .btn-primary,
    .nav-auth .btn-secondary {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card,
.category-card,
.step-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px dashed rgba(240, 147, 251, 0.3);
    margin: 2rem 0;
}

/* Global Chips & Badges */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--accent-color);
    background: rgba(168, 85, 247, 0.12);
}

.chip i { color: var(--accent-color); }

.chip-outline {
    background: transparent;
    color: var(--text-secondary);
    border-color: rgba(168, 85, 247, 0.4);
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: var(--accent-color);
    color: #ffffff;
}

.badge-trending {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.empty-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Ana Sayfa Hikaye Kartları */
.story-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.story-cover {
    position: relative;
    margin-bottom: 1rem;
}

.story-status {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.story-status.completed {
    background: var(--status-completed);
    color: white;
}

.story-status.ongoing {
    background: var(--status-ongoing);
    color: white;
}

.story-status.waiting {
    background: var(--status-waiting);
    color: white;
}

.story-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--book-cover), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.story-content {
    flex: 1;
}

.story-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.story-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.story-meta .author {
    color: var(--accent-color);
    font-weight: 600;
}

.story-meta .category {
    color: var(--text-muted);
    background: rgba(240, 147, 251, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.story-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.story-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.story-stats i {
    color: var(--accent-color);
}

.story-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-read {
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    flex: 1;
    justify-content: center;
}

.btn-read:hover {
    background: #e085f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-continue {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 1px solid var(--accent-color);
}

.btn-continue:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Modern Story Cards - Gelişmiş Sinema Bilet Tasarımı */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

.hero-container {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    max-width: 1400px;
    justify-content: center;
}

.main-container {
    width: 270px;
    height: 540px;
    position: relative;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.main-container:hover {
    transform: translateY(-10px);
}

.poster-container {
    width: 230px;
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.main-container:hover .poster-container {
    transform: scale(1.05);
}

.poster {
    width: 100%;
    box-shadow: 0 5px 20px 3px rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ticket-container {
    background: #bfa2db;
    width: 270px;
    height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    box-shadow: 0 5px 20px 3px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.3s ease;
}

.main-container:hover .ticket-container {
    opacity: 1;
    animation: bounceIn 0.6s linear;
}

@keyframes bounceIn {
    0%,
    20%,
    40%,
    60%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }
    40% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9);
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.01, 1.01, 1.01);
        transform: scale3d(1.01, 1.01, 1.01);
    }
    80% {
        -webkit-transform: scale3d(0.97, 0.97, 0.97);
        transform: scale3d(0.97, 0.97, 0.97);
    }
    to {
        opacity: 1;
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

.ticket__content {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
    padding: 1rem;
}

.ticket__movie-title {
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.ticket__movie-slogan {
    color: #4a4a4a;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.story-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #333;
    font-weight: 500;
}

.story-stat i {
    color: #666;
    font-size: 0.7rem;
}

.story-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.story-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    justify-content: center;
}

.story-btn-primary {
    background: #2f2f2f;
    color: white;
    flex: 1;
    max-width: 80px;
}

.story-btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.story-btn-secondary {
    background: #f5f5f5;
    color: #2f2f2f;
    border: 1px solid #ddd;
    flex: 1;
    max-width: 80px;
}

.story-btn-secondary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.story-btn-like {
    background: #f5f5f5;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 0.5rem;
    border-radius: 50%;
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-btn-like:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
}

.story-btn-like.liked {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        padding: 0.25rem;
        gap: 0.25rem;
    }
    
    .main-container {
        width: 250px;
        height: 500px;
        margin: 0 2px;
    }
    
    .poster-container {
        width: 210px;
        left: 20px;
    }
    
    .ticket-container {
        width: 250px;
        height: 480px;
    }
    
    .story-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .story-btn {
        width: 100%;
        max-width: none;
    }
} 