/* fibromiyalji.net - Beyaz / Acik Tema */
:root {
    --purple: #7c3aed;
    --purple-light: #6d28d9;
    --purple-dark: #5b21b6;
    --purple-bg: #f5f3ff;
    --bg-body: #f8f9fa;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f3ff;
    --bg-entry: #fafafa;
    --border-color: #e5e7eb;
    --border-purple: #ddd6fe;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --text-heading: #111827;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.7;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }

/* Navbar */
.navbar {
    background: var(--bg-white) !important;
    border-bottom: 1px solid var(--border-color);
    padding: .5rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.navbar-brand { font-size: 1.1rem; }
.text-purple-light { color: var(--purple); }
.text-purple { color: var(--purple) !important; }
.nav-link { color: var(--text-secondary) !important; font-size: .85rem; padding: .5rem .4rem !important; white-space: nowrap; }
.nav-link:hover { color: var(--purple) !important; }
.navbar-nav { gap: 0; }
.navbar .input-group-sm { min-width: 160px; max-width: 200px; }
@media (min-width: 992px) and (max-width: 1399px) {
    .nav-link { font-size: .8rem !important; padding: .5rem .3rem !important; }
    .nav-link i { display: none; }
    .navbar .input-group-sm { min-width: 130px; max-width: 160px; }
}
.dropdown-menu { background: var(--bg-white); border: 1px solid var(--border-color); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.dropdown-menu-dark { background: var(--bg-white); border-color: var(--border-color); }
.dropdown-item { color: var(--text-secondary); font-size: .9rem; padding: .5rem 1rem; }
.dropdown-item:hover { background: var(--purple-bg); color: var(--purple); }
.dropdown-item i { font-size: .85rem; }

/* Navbar Auth Buttons */
.nav-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: var(--text-secondary); font-size: 1.1rem;
    transition: all .2s; text-decoration: none; position: relative;
}
.nav-icon-btn:hover { background: var(--purple-bg); color: var(--purple); }
.nav-badge {
    position: absolute; top: 2px; right: 0;
    background: #dc2626; color: #fff; font-size: .6rem; font-weight: 700;
    min-width: 16px; height: 16px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; line-height: 1;
}
.nav-user-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px 4px 4px; border-radius: 20px;
    color: var(--text-primary) !important; font-size: .85rem; font-weight: 500;
    text-decoration: none !important; transition: all .2s;
    border: 1px solid transparent;
}
.nav-user-btn:hover { background: var(--purple-bg); border-color: var(--border-purple); }
.nav-user-btn::after {
    font-size: .6rem; margin-left: 2px; vertical-align: middle;
}
.btn-nav-login {
    padding: 6px 16px; border-radius: 8px; font-size: .85rem; font-weight: 500;
    color: var(--purple) !important; background: transparent; border: 1px solid var(--border-purple);
    transition: all .2s; text-decoration: none;
}
.btn-nav-login:hover { background: var(--purple-bg); border-color: var(--purple); color: var(--purple) !important; }
.btn-nav-register {
    padding: 6px 16px; border-radius: 8px; font-size: .85rem; font-weight: 600;
    color: #fff !important; background: var(--purple); border: 1px solid var(--purple);
    transition: all .2s; text-decoration: none;
    box-shadow: 0 2px 4px rgba(124,58,237,.25);
}
.btn-nav-register:hover { background: var(--purple-dark); border-color: var(--purple-dark); box-shadow: 0 4px 8px rgba(124,58,237,.3); }

/* Mobil Navbar Auth Butonları */
.btn-mobile-login {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--purple) !important; background: var(--purple-bg); border: 1.5px solid var(--border-purple);
    font-size: 1rem; padding: 0; transition: all .2s; text-decoration: none;
}
.btn-mobile-login:hover { background: var(--purple); color: #fff !important; }
.btn-mobile-register {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff !important; background: var(--purple); border: 1.5px solid var(--purple);
    font-size: 1rem; padding: 0; transition: all .2s; text-decoration: none;
    box-shadow: 0 2px 6px rgba(124,58,237,.3);
}
.btn-mobile-register:hover { background: var(--purple-dark); }
.avatar-xs {
    width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: .7rem; font-weight: 700;
}

/* Buttons */
.btn-purple { background: var(--purple) !important; color: #fff !important; border: none; font-weight: 500; }
.btn-purple:hover, .btn-purple:focus, .btn-purple:active { background: var(--purple-dark) !important; color: #fff !important; }
.btn-outline-purple { border: 1px solid var(--purple); color: var(--purple) !important; background: transparent !important; }
.btn-outline-purple:hover, .btn-outline-purple:focus { background: var(--purple) !important; color: #fff !important; }

/* Avatar */
.avatar-sm {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%; font-size: .7rem;
    color: #fff; font-weight: 700; flex-shrink: 0;
}
.avatar-md {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; font-size: .9rem;
    color: #fff; font-weight: 700;
}
.avatar-lg {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%; font-size: 1.5rem;
    color: #fff; font-weight: 700;
}

/* Cards */
.card-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.card-dark:hover { border-color: var(--purple); }

/* Entry (Eksi tarzi) */
.entry-item {
    background: var(--bg-white);
    border-left: 3px solid var(--border-color);
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
    transition: border-color .2s;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.entry-item:hover { border-left-color: var(--purple); }
.entry-content { font-size: .95rem; line-height: 1.8; color: var(--text-primary); margin-bottom: 12px; }
.entry-content p { margin-bottom: .5rem; }
.entry-footer {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .8rem; color: var(--text-muted);
}
.entry-footer a { color: var(--text-muted); }
.entry-footer a:hover { color: var(--purple); }
.entry-number { color: var(--text-muted); font-size: .75rem; }
.entry-author { color: var(--purple); font-weight: 500; }
.entry-author.is-author { color: var(--success); }

/* Sukela button */
.btn-sukela {
    background: none; border: 1px solid var(--border-color); color: var(--text-muted);
    padding: 2px 10px; border-radius: 20px; font-size: .8rem; cursor: pointer;
    transition: all .2s;
}
.btn-sukela:hover { border-color: var(--purple); color: var(--purple); }
.btn-sukela.active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Başlık şükela button */
.btn-baslik-sukela {
    background: none; border: 1px solid var(--border-color); color: var(--text-muted);
    padding: 4px 14px; border-radius: 20px; font-size: .85rem; cursor: pointer;
    transition: all .2s; font-weight: 500;
}
.btn-baslik-sukela:hover { border-color: var(--purple); color: var(--purple); }
.btn-baslik-sukela.active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Favori buttons */
.btn-fav, .btn-fav-entry {
    background: none; border: 1px solid var(--border-color); color: var(--text-muted);
    padding: 4px 10px; border-radius: 20px; font-size: .85rem; cursor: pointer;
    transition: all .2s;
}
.btn-fav:hover, .btn-fav-entry:hover { border-color: #f59e0b; color: #f59e0b; }
.btn-fav.active, .btn-fav-entry.active { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.btn-fav-entry { padding: 2px 8px; font-size: .75rem; }

/* Entry edit button */
.btn-entry-edit {
    background: none; border: none; color: var(--text-muted);
    font-size: .75rem; cursor: pointer; padding: 2px 6px; border-radius: 4px;
    transition: all .2s;
}
.btn-entry-edit:hover { color: var(--purple); background: var(--purple-bg); }
.btn-entry-report {
    background: none; border: none; color: var(--text-muted);
    font-size: .7rem; cursor: pointer; padding: 2px 5px; border-radius: 4px;
    transition: all .2s; opacity: .5;
}
.btn-entry-report:hover { color: #dc3545; background: #dc354510; opacity: 1; }

/* Favori page items */
.fav-item {
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 10px; padding: 16px; margin-bottom: 12px;
    transition: all .2s;
}
.fav-item:hover { border-color: var(--purple); box-shadow: 0 2px 8px rgba(124,58,237,.08); }
.fav-title { color: var(--purple); font-weight: 600; font-size: .95rem; text-decoration: none; }
.fav-title:hover { text-decoration: underline; }
.entry-content-preview { color: var(--text-muted); font-size: .85rem; line-height: 1.5; }

/* Entry edited badge */
.entry-edited-badge {
    color: var(--text-muted); font-size: .85rem; font-weight: 700;
    cursor: help; margin-left: 2px;
}

/* Entry edit form */
.entry-edit-form textarea {
    font-size: .95rem; line-height: 1.7;
}

/* Baslik listesi */
.baslik-item {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background .2s;
}
.baslik-item:hover { background: var(--purple-bg); }
.baslik-item:last-child { border-bottom: none; }
.baslik-item-left { min-width: 0; flex: 1; }
.baslik-title { color: var(--text-primary); font-weight: 500; font-size: .95rem; display: block; word-break: break-word; }
.baslik-title:hover { color: var(--purple); }
.baslik-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.baslik-time { color: var(--text-muted); font-size: .75rem; }
.baslik-count {
    background: var(--purple-bg); color: var(--purple);
    padding: 2px 8px; border-radius: 12px; font-size: .75rem; font-weight: 600;
    min-width: 28px; text-align: center; flex-shrink: 0; align-self: center;
}

/* Entry footer (anasayfa) */
.entry-footer-home {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
    margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-color);
}
.entry-baslik-link { color: var(--purple); font-weight: 500; font-size: .85rem; text-decoration: none; min-width: 0; word-break: break-word; }
.entry-baslik-link:hover { text-decoration: underline; }
.entry-footer-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.entry-time { color: var(--text-muted); font-size: .8rem; }

/* Kanal badges */
.channel-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 4px; font-size: .75rem;
    font-weight: 500; color: #fff;
}

/* Başlık açan yazar etiketi */
.baslik-author-tag {
    font-size: .75rem;
    margin-left: 6px;
}
.baslik-author-tag a { font-weight: 500; }
.baslik-author-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Hero */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 100%);
    background: url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?w=1400&q=80') center center / cover no-repeat, linear-gradient(135deg, #581c87 0%, #7c3aed 100%);
    border-radius: 16px;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    color: #fff;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.88) 0%, rgba(124, 58, 237, 0.82) 40%, rgba(79, 70, 229, 0.78) 100%);
    border-radius: 16px;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}
.hero-section h1 {
    font-size: 2.4rem;
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,.2);
    letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.95) !important;
    font-weight: 400;
}
.hero-subtitle strong {
    color: #fbbf24;
    font-weight: 700;
}
.hero-desc {
    font-size: .95rem;
    color: rgba(255,255,255,.8) !important;
}
.hero-icon-row {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
}
.btn-hero-primary {
    background: #fff;
    color: var(--purple) !important;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    font-size: .95rem;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}
.btn-hero-primary:hover {
    background: #f3f0ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    color: var(--purple-dark) !important;
}
.btn-hero-secondary {
    background: transparent;
    color: #fff !important;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.4);
    font-size: .95rem;
    transition: all .3s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.7);
    transform: translateY(-2px);
}
.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9) !important;
    font-size: .8rem;
    text-decoration: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.15);
    transition: all .2s;
}
.hero-tag:hover {
    background: rgba(255,255,255,.25);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Articles */
.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s, border-color .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.article-card:hover { transform: translateY(-2px); border-color: var(--purple); box-shadow: 0 4px 12px rgba(124,58,237,.1); }
.article-card .card-body { padding: 16px; }
.article-card h5 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.article-card h5 a { color: var(--text-heading); }
.article-card h5 a:hover { color: var(--purple); }
.article-card .excerpt { font-size: .85rem; color: var(--text-secondary); }
.article-meta { font-size: .75rem; color: var(--text-muted); }

/* Article detail */
.article-content { font-size: 1.05rem; line-height: 1.9; color: var(--text-primary); }
.article-content h2 { font-size: 1.4rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: var(--purple-dark); border-bottom: 2px solid var(--border-purple); padding-bottom: .5rem; }
.article-content h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: .75rem; color: var(--text-heading); }
.article-content p { margin-bottom: 1rem; color: var(--text-primary); }
.article-content ul { margin-bottom: 1rem; padding-left: 20px; }
.article-content li { margin-bottom: .5rem; color: var(--text-primary); }
.article-content strong { color: var(--purple-dark); }

/* TOC */
.article-toc {
    background: var(--purple-bg);
    border: 1px solid var(--border-purple);
    border-radius: 8px;
    padding: 16px 20px;
}
.article-toc h4 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--purple-dark); }
.article-toc ul { list-style: none; padding: 0; margin: 0; }
.article-toc li { padding: 4px 0; }
.article-toc li a { color: var(--text-secondary); font-size: .9rem; }
.article-toc li a:hover { color: var(--purple); }
.article-toc li.toc-sub { padding-left: 16px; }
.article-toc li.toc-sub a { font-size: .85rem; }

/* FAQ Accordion */
.faq-section .accordion-item { background: var(--bg-white); border-color: var(--border-color); }
.faq-section .accordion-button { background: var(--bg-white); color: var(--text-heading); font-weight: 500; }
.faq-section .accordion-button:not(.collapsed) { background: var(--purple-bg); color: var(--purple-dark); box-shadow: none; }
.faq-section .accordion-body { color: var(--text-secondary); background: var(--bg-white); }

/* Sidebar */
.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sidebar-card h5 { font-size: .95rem; font-weight: 600; margin-bottom: 12px; color: var(--purple-dark); }

/* Supporters */
.supporter-avatar {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), #e74c3c);
    color: #fff; font-size: .7rem;
}

/* Stats */
.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px; text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.stat-card .stat-number { font-size: 1.8rem; font-weight: 700; color: var(--purple); }
.stat-card .stat-label { font-size: .8rem; color: var(--text-muted); }

/* Forms */
.form-control, .form-select {
    background: var(--bg-white); border-color: var(--border-color);
    color: var(--text-primary); font-size: .9rem;
}
.form-control:focus, .form-select:focus {
    background: var(--bg-white); border-color: var(--purple);
    color: var(--text-primary); box-shadow: 0 0 0 .2rem rgba(124,58,237,.15);
}
.form-control::placeholder { color: var(--text-muted); }
.form-label { font-weight: 500; font-size: .9rem; color: var(--text-secondary); }

/* Footer */
.site-footer { background: var(--bg-white); border-top: 1px solid var(--border-color); }
.site-footer, .site-footer a { color: var(--text-secondary); }
.site-footer a:hover { color: var(--purple); }

/* Footer Sosyal Medya */
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; transition: all .25s;
    text-decoration: none; border: 2px solid transparent;
}
.footer-social-btn:hover { transform: translateY(-3px) scale(1.08); }
.footer-social-btn.instagram {
    color: #E1306C;
    background: rgba(225,48,108,.08);
    border-color: rgba(225,48,108,.2);
}
.footer-social-btn.instagram:hover {
    color: #fff;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(225,48,108,.35);
}
.footer-social-btn.twitter {
    color: var(--purple);
    background: var(--purple-bg);
    border-color: var(--border-purple);
}
.footer-social-btn.twitter:hover {
    color: #fff;
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 4px 16px rgba(124,58,237,.35);
}

/* Sidebar Sosyal Medya Takip Kartı */
.social-follow-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.social-follow-header {
    padding: 12px 16px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--purple-dark);
    border-bottom: 1px solid var(--border-color);
    background: var(--purple-bg);
}
.social-follow-header i { margin-right: 6px; }
.social-follow-body { padding: 8px; }
.social-follow-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
    color: var(--text-primary);
}
.social-follow-btn:hover {
    background: var(--purple-bg);
    color: var(--text-primary);
}
.social-follow-btn i {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}
.social-follow-btn.instagram-btn i {
    color: #E1306C;
    background: rgba(225,48,108,.1);
    border: 1.5px solid rgba(225,48,108,.2);
}
.social-follow-btn.instagram-btn:hover i {
    color: #fff;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}
.social-follow-btn.twitter-btn i {
    color: var(--purple);
    background: var(--purple-bg);
    border: 1.5px solid var(--border-purple);
}
.social-follow-btn.twitter-btn:hover i {
    color: #fff;
    background: var(--purple);
    border-color: var(--purple);
}
.social-follow-info { flex: 1; min-width: 0; }
.social-follow-name { display: block; font-size: .85rem; font-weight: 600; line-height: 1.2; }
.social-follow-handle { display: block; font-size: .75rem; color: var(--text-muted); }
.social-follow-action {
    padding: 5px 16px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: all .2s;
}
.social-follow-btn.instagram-btn .social-follow-action {
    color: #E1306C;
    border: 1.5px solid rgba(225,48,108,.3);
    background: rgba(225,48,108,.05);
}
.social-follow-btn.instagram-btn:hover .social-follow-action {
    background: #E1306C;
    border-color: #E1306C;
    color: #fff;
}
.social-follow-btn.twitter-btn .social-follow-action {
    color: var(--purple);
    border: 1.5px solid var(--border-purple);
    background: var(--purple-bg);
}
.social-follow-btn.twitter-btn:hover .social-follow-action {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

/* Profile */
.profile-header {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    border-radius: 12px; padding: 2rem; margin-bottom: 1.5rem;
    color: #fff;
}
.profile-header .text-muted { color: rgba(255,255,255,.7) !important; }
.profile-stats { display: flex; gap: 2rem; }
.profile-stat .stat-value { font-size: 1.2rem; font-weight: 700; color: #fff; }
.profile-stat .stat-name { font-size: .75rem; color: rgba(255,255,255,.7); }

/* Badges */
.badge-author { background: var(--success); color: #fff; font-size: .7rem; padding: 2px 6px; border-radius: 4px; }
.badge-caylak { background: var(--text-muted); color: #fff; font-size: .7rem; padding: 2px 6px; border-radius: 4px; }

/* Pagination */
.pagination .page-link {
    background: var(--bg-white); border-color: var(--border-color);
    color: var(--text-secondary); font-size: .85rem;
}
.pagination .page-link:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.pagination .page-item.active .page-link { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Alert */
.alert { font-size: .9rem; }

/* Text helpers - override Bootstrap dark text utilities */
.text-white-50, .text-muted { color: var(--text-muted) !important; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section { padding: 2.5rem 1rem; min-height: 280px; }
    .hero-section h1 { font-size: 1.6rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-icon { width: 40px; height: 40px; font-size: 1rem; }
    .btn-hero-primary, .btn-hero-secondary { padding: 8px 20px; font-size: .85rem; }
    .entry-item { padding: 12px 14px; }
    .profile-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-card .stat-number { font-size: 1.4rem; }
    /* Başlık listesi mobil */
    .baslik-item { padding: 10px 12px; }
    .baslik-title { font-size: .88rem; line-height: 1.35; }
    .baslik-item-meta { gap: 4px; }
    .channel-badge { font-size: .65rem; padding: 1px 6px; }
    /* Entry footer mobil */
    .entry-footer-home { flex-direction: column; align-items: flex-start; gap: 4px; }
    .entry-footer-right { width: 100%; justify-content: space-between; }
}

/* Featured Section */
.featured-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--purple-bg) 0%, #fff 100%);
}
.featured-header h4 {
    font-size: 1rem;
    color: var(--purple);
}
.featured-header h4 i {
    color: #f59e0b;
    margin-right: 4px;
}
.featured-header span {
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.featured-card {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    text-decoration: none;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all .2s;
    position: relative;
}
.featured-card:nth-child(2n) { border-right: none; }
.featured-card:nth-last-child(-n+2) { border-bottom: none; }
.featured-card:nth-last-child(1):nth-child(odd) { border-bottom: none; grid-column: span 2; }
.featured-card:hover {
    background: var(--purple-bg);
}
.featured-card:hover .featured-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--purple);
}
.featured-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}
.featured-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.featured-badge {
    font-size: .65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.featured-badge.pin {
    background: #dbeafe;
    color: #2563eb;
}
.featured-badge.star {
    background: #fef3c7;
    color: #d97706;
}
.featured-channel {
    font-size: .7rem;
    font-weight: 600;
    flex-shrink: 0;
}
.featured-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.featured-card:hover .featured-title {
    color: var(--purple);
}
.featured-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.featured-entry-count {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.featured-entry-count i {
    font-size: .7rem;
    margin-right: 2px;
}
.featured-arrow {
    font-size: .85rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all .2s;
}

@media (max-width: 576px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .featured-card { border-right: none !important; }
    .featured-card:last-child { border-bottom: none; }
    .featured-card:nth-last-child(1):nth-child(odd) { grid-column: span 1; }
    .featured-card { padding: 14px 16px; }
    .featured-title { font-size: .9rem; }
}

/* Medical disclaimer banner */
.medical-banner {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: .85rem;
    color: #92400e;
}

/* ==================== YAZAR SİSTEMİ ==================== */

/* Avatar boyutları */
.avatar-md { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.avatar-xs { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: .7rem; flex-shrink: 0; }

/* Yazar kartları */
.author-card { transition: transform .15s, box-shadow .15s; }
.author-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124,58,237,.1); }

/* Badge purple */
.bg-purple { background: var(--purple) !important; }

/* Chat - Konuşma listesi */
.chat-conv-item {
    display: block; padding: 10px 12px; border-radius: 8px;
    text-decoration: none; color: var(--text-primary);
    margin-bottom: 2px; transition: background .15s;
}
.chat-conv-item:hover { background: var(--purple-bg); color: var(--text-primary); }
.chat-conv-item.active { background: var(--purple-bg); border-left: 3px solid var(--purple); }

/* Chat - Yazar listesi */
.chat-author-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 6px;
    text-decoration: none; color: var(--text-secondary);
    margin-bottom: 1px; transition: background .15s;
}
.chat-author-item:hover { background: var(--purple-bg); color: var(--purple); }
.chat-author-item.active { background: var(--purple-bg); color: var(--purple); font-weight: 600; }

/* Chat container */
.chat-container {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-white);
}
.chat-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
}
.chat-messages {
    height: 420px;
    overflow-y: auto;
    padding: 16px;
    background: var(--bg-body);
}
.chat-input {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
}

/* Chat bubbles */
.chat-bubble { max-width: 75%; margin-bottom: 12px; }
.chat-bubble.sent { margin-left: auto; }
.chat-bubble.received { margin-right: auto; }
.chat-bubble-content {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: .9rem;
    line-height: 1.5;
    word-wrap: break-word;
}
.chat-bubble.sent .chat-bubble-content {
    background: var(--purple);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-bubble.received .chat-bubble-content {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}
.chat-bubble-time {
    font-size: .7rem;
    color: var(--text-muted);
    margin-top: 3px;
    padding: 0 4px;
}
.chat-bubble.sent .chat-bubble-time { text-align: right; }

/* Min width helper */
.min-width-0 { min-width: 0; }

/* Responsive chat */
@media (max-width: 768px) {
    .chat-messages { height: 300px; }
    .chat-bubble { max-width: 90%; }
}

/* ==================== STRES KÖŞESİ (TikTok-style scroll) ==================== */

.stres-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    max-width: 1200px;
    margin: -1.5rem auto 0;
    padding: 0 16px;
    min-height: calc(100vh - 60px);
}

/* Sidebar */
.stres-sidebar {
    width: 260px;
    flex-shrink: 0;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
}
.stres-sidebar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.stres-sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124,58,237,.1);
}
.stres-sidebar-icon {
    font-size: 1.8rem;
    color: #7c3aed;
    margin-bottom: 8px;
}
.stres-sidebar-card h4 {
    font-size: .85rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.stres-sidebar-card p {
    font-size: .78rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}
.stres-sidebar-quote {
    background: linear-gradient(135deg, #7c3aed11, #ec489911);
    border: 1px solid #7c3aed22;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}
.stres-sidebar-quote i {
    font-size: 1.5rem;
    color: #7c3aed;
    opacity: .5;
}
.stres-sidebar-quote p {
    font-size: .82rem;
    color: #374151;
    font-style: italic;
    margin: 6px 0 4px;
    line-height: 1.5;
}
.stres-sidebar-quote small {
    font-size: .7rem;
    color: #9ca3af;
}

.stres-page-wrap {
    max-width: 520px;
    width: 100%;
    flex-shrink: 0;
    padding: 0;
}

.stres-container {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
}

.stres-header {
    padding: 14px 18px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.stres-page-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.stres-page-title i { color: var(--purple); }
.stres-page-desc {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
}
.stres-total-badge {
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(124,58,237,.2);
    color: #a78bfa;
    white-space: nowrap;
}

.stres-tabs {
    display: flex;
    gap: 6px;
    padding: 8px 14px;
    overflow-x: auto;
    background: #111;
    flex-shrink: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.stres-tabs::-webkit-scrollbar { display: none; }

.stres-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.08);
    transition: all .2s;
}
.stres-tab:hover {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.9);
}
.stres-tab.active {
    background: var(--tab-color, var(--purple));
    color: #fff;
    border-color: var(--tab-color, var(--purple));
}

.stres-scroll {
    flex: 1;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.stres-scroll::-webkit-scrollbar { display: none; }

.stres-card {
    height: 100%;
    min-height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}

.stres-video-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stres-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.stres-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 16px 16px;
    background: linear-gradient(transparent 0%, rgba(0,0,0,.85) 100%);
    pointer-events: none;
    z-index: 2;
}

.stres-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: .65rem;
    font-weight: 600;
    color: #fff;
    margin-right: 6px;
}
.stres-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: .6rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.15);
}

.stres-card-title {
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    margin: 8px 0 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    line-height: 1.3;
}

.stres-card-desc {
    color: rgba(255,255,255,.7);
    font-size: .78rem;
    margin: 0;
    line-height: 1.4;
}

.stres-counter {
    position: absolute;
    right: 12px;
    top: 110px;
    background: rgba(0,0,0,.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: .72rem;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
}
.stres-counter i { color: #a78bfa; margin-right: 2px; }

.stres-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    text-align: center;
    z-index: 10;
    animation: stresHintBounce 2s infinite;
    pointer-events: none;
}
.stres-scroll-hint i { font-size: 1.4rem; display: block; }
.stres-scroll-hint small { font-size: .7rem; }

@keyframes stresHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(-10px); opacity: .6; }
}

/* Facebook Video Card */
.stres-fb-video {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a0a;
}
.stres-fb-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.stres-fb-play-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    transition: transform .3s;
}
.stres-fb-poster:hover .stres-fb-play-overlay { transform: scale(1.1); }
.stres-fb-play-overlay i {
    font-size: 4rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.stres-fb-play-overlay small {
    color: rgba(255,255,255,.8);
    font-size: .75rem;
    background: rgba(24,119,242,.6);
    padding: 3px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.stres-fb-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,.4) 100%);
    pointer-events: none;
}
.stres-fb-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.stres-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111;
}

/* Desktop - Sidebar göster */
@media (min-width: 1100px) {
    .stres-sidebar {
        display: flex;
    }
    .stres-container {
        border: 1px solid rgba(255,255,255,.06);
    }
}

/* Tablet - sidebar gizle */
@media (min-width: 769px) and (max-width: 1099px) {
    .stres-container {
        border: 1px solid rgba(255,255,255,.06);
    }
    .stres-layout {
        justify-content: center;
    }
}

/* ==================== AUDIO PLAYER ==================== */

/* Audio card - her kart tam yükseklik */
.stres-audio-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 20px;
    position: relative;
    gap: 0;
}

/* Visualizer */
.stres-visualizer {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    max-height: 180px;
    min-height: 80px;
    padding: 0 10px;
}
.stres-vis-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 100%;
    width: 100%;
}
.stres-vis-bars span {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(124,58,237,.9) 0%, rgba(167,139,250,.4) 100%);
    height: var(--h, 30%);
    transition: height .3s ease;
    opacity: .3;
}
.stres-card.playing .stres-vis-bars span {
    animation: visBounce 1.2s ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
    opacity: 1;
}
@keyframes visBounce {
    0% { height: var(--h, 30%); opacity: .5; }
    50% { height: calc(var(--h, 30%) + 20%); opacity: 1; }
    100% { height: var(--h, 30%); opacity: .6; }
}

/* Audio info section */
.stres-audio-info {
    text-align: center;
    padding: 16px 10px;
    flex-shrink: 0;
}
.stres-freq-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, rgba(124,58,237,.6) 0%, rgba(139,92,246,.3) 100%);
    border: 1px solid rgba(167,139,250,.3);
    backdrop-filter: blur(4px);
    margin-bottom: 8px;
}
.stres-audio-info .stres-card-title {
    font-size: 1rem;
    margin: 6px 0 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.stres-audio-info .stres-card-desc {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
}

/* Player controls */
.stres-player {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    background: rgba(255,255,255,.08);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
}
.stres-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--purple);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
    box-shadow: 0 2px 10px rgba(124,58,237,.4);
}
.stres-play-btn:hover {
    background: #6d28d9;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(124,58,237,.5);
}
.stres-play-btn:active {
    transform: scale(.96);
}

.stres-player-middle {
    flex: 1;
    min-width: 0;
}

/* Progress bar */
.stres-progress-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,.15);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.stres-progress-wrap:hover {
    height: 8px;
}
.stres-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--purple) 0%, #a78bfa 100%);
    border-radius: 3px;
    transition: width .1s linear;
    position: relative;
}
.stres-progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    opacity: 0;
    transition: opacity .2s;
}
.stres-progress-wrap:hover .stres-progress-bar::after {
    opacity: 1;
}

/* Time display */
.stres-time {
    display: flex;
    justify-content: space-between;
    font-size: .65rem;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

/* Volume button */
.stres-vol-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
}
.stres-vol-btn:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
}
.stres-vol-btn.muted {
    color: rgba(255,255,255,.3);
}

/* Placeholder (no MP3 uploaded yet) */
.stres-player-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    color: rgba(255,255,255,.3);
    flex-shrink: 0;
}
.stres-player-placeholder i {
    font-size: 1.8rem;
}
.stres-player-placeholder small {
    font-size: .75rem;
}

/* SEO Article section */
.stres-seo-article .accordion-item {
    background: var(--bg-white);
    border-color: var(--border-color);
}
.stres-seo-article .accordion-button {
    background: var(--bg-white);
    color: var(--text-heading);
    font-weight: 500;
    font-size: .95rem;
}
.stres-seo-article .accordion-button:not(.collapsed) {
    background: var(--purple-bg);
    color: var(--purple-dark);
    box-shadow: none;
}
.stres-seo-article .accordion-body {
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
    .stres-layout {
        padding: 0;
        margin-top: -1.5rem;
        gap: 0;
    }
    .stres-page-wrap {
        max-width: 100%;
    }
    .stres-container {
        height: calc(100vh - 56px);
        height: calc(100dvh - 56px);
        border-radius: 0;
    }
    .stres-card-title { font-size: .9rem; }
    .stres-header { padding: 10px 14px; }
    .stres-page-title { font-size: .95rem; }
    .stres-player {
        gap: 8px;
        padding: 10px 12px;
    }
    .stres-play-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .stres-vol-btn {
        width: 28px;
        height: 28px;
        font-size: .8rem;
    }
    .stres-visualizer {
        max-height: 120px;
    }
    .stres-audio-info {
        padding: 10px 8px;
    }
}

/* ==================== FİLM KÖŞESİ ==================== */

/* Hero */
.film-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.film-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,.15) 0%, transparent 70%);
    pointer-events: none;
}
.film-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    color: #f59e0b;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.25);
    margin-bottom: 12px;
}
.film-hero h1 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.film-hero-desc {
    color: rgba(255,255,255,.7);
    font-size: .92rem;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}
.film-hero-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.film-hero-stats span {
    color: rgba(255,255,255,.8);
    font-size: .85rem;
    font-weight: 500;
}
.film-hero-stats span i {
    color: #f59e0b;
    margin-right: 4px;
}

/* Category Tabs */
.film-tabs {
    display: flex;
    gap: 8px;
    padding: 0 0 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.film-tabs::-webkit-scrollbar { display: none; }
.film-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    background: var(--bg-white);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all .2s;
}
.film-tab:hover {
    background: var(--purple-bg);
    color: var(--purple);
    border-color: var(--border-purple);
}
.film-tab.active {
    background: var(--tab-active-color, var(--purple));
    color: #fff;
    border-color: var(--tab-active-color, var(--purple));
}
.film-tab-count {
    font-size: .7rem;
    opacity: .7;
    font-weight: 600;
}

/* Film Cards */
.film-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.film-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--border-purple);
}
.film-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}
.film-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.3;
}
.film-card-original {
    font-size: .78rem;
    color: var(--text-muted);
    font-style: italic;
    display: block;
    margin-top: 2px;
}
.film-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}
.film-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.film-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.film-card-meta i { font-size: .75rem; }
.film-imdb {
    color: #f59e0b !important;
    font-weight: 600;
}
.film-card-desc {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}
.film-why-box {
    background: var(--purple-bg);
    border-left: 3px solid var(--purple);
    border-radius: 0 8px 8px 0;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.film-why-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--purple-dark);
    margin-bottom: 4px;
}
.film-why-box p {
    font-size: .82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.film-card-footer {
    display: flex;
    justify-content: flex-end;
}

/* Vote Button */
.film-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}
.film-vote-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239,68,68,.05);
}
.film-vote-btn.voted {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239,68,68,.08);
}
.film-vote-btn.voted i { color: #ef4444; }
.film-vote-btn i { font-size: 1rem; transition: transform .2s; }
.film-vote-btn.film-vote-animating i {
    animation: filmHeartBeat .3s ease;
}
@keyframes filmHeartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.film-vote-count { font-variant-numeric: tabular-nums; }

/* Film Sidebar */
.film-top-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.film-top-item:last-child { border-bottom: none; }
.film-top-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--purple-bg);
    color: var(--purple);
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.film-top-name {
    flex: 1;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}
.film-top-votes {
    font-size: .72rem;
    color: #ef4444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Film Category List */
.film-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}
.film-cat-item a {
    font-size: .85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.film-cat-count {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Film SEO Article */
.film-seo-article {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}
.film-seo-article h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.film-seo-article h2:first-of-type { border-top: none; margin-top: 1rem; }
.film-seo-article p {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.film-seo-article ul, .film-seo-article ol {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.film-seo-article li { margin-bottom: .4rem; }
.film-seo-article strong { color: var(--text-primary); }

/* Mobile Film */
@media (max-width: 768px) {
    .film-hero { padding: 2rem 1.2rem; border-radius: 12px; }
    .film-hero h1 { font-size: 1.25rem; }
    .film-hero-desc { font-size: .85rem; }
    .film-hero-stats { gap: 12px; }
    .film-hero-stats span { font-size: .78rem; }
    .film-tabs { gap: 6px; padding-bottom: 1rem; }
    .film-tab { padding: 6px 12px; font-size: .78rem; }
    .film-card { padding: 14px; margin-bottom: 12px; }
    .film-card-header { flex-direction: column; gap: 6px; }
    .film-card-title { font-size: .95rem; }
    .film-card-meta { gap: 8px; font-size: .75rem; }
    .film-card-desc { font-size: .83rem; }
    .film-why-box { padding: 10px 12px; }
    .film-seo-article { padding: 1.2rem; }
    .film-seo-article h2 { font-size: 1.1rem; }
}
