/* Sikipedya v3 - Modern CSS Tasarım */

/* CSS Değişkenleri */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #6366f120;
    --secondary: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: #334155;
    --border-light: #475569;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
    
    --transition: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.5;
    min-height: 100vh;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    color: var(--primary);
    font-size: 1.4rem;
}

.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 32px;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
}

.header-search:hover {
    border-color: var(--primary);
    background: var(--bg-primary);
}

.header-search > i {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.header-search-placeholder {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-search-shortcut {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.65rem;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    transition: var(--transition);
    position: relative;
}

.header-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.header-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
}

.user-menu:hover {
    background: var(--bg-tertiary);
}

.user-menu img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-menu span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Layout */
.layout {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 24px;
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 24px;
}

.layout > * {
    min-width: 0;
}

.main-content {
    min-width: 0;
    overflow: visible;
}

/* Sol Menü */
.sidebar {
    position: relative;
    height: auto;
}

.sidebar-nav {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    margin-bottom: 2px;
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
    position: relative;
    animation: navActivePop 0.4s ease forwards;
}

.nav-item.active i {
    animation: navIconBounce 0.5s ease;
}

/* Aktif menü sol şerit göstergesi */
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 65%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 0 4px 4px 0;
    animation: indicatorSlide 0.4s cubic-bezier(.4,0,.2,1) forwards;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Aktif menü sağ nokta göstergesi */
.nav-item.active::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(99, 102, 241, 0.5);
}

@keyframes navActivePop {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes navIconBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.25); }
    75% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes indicatorSlide {
    0% { height: 0; opacity: 0; }
    60% { height: 80%; }
    100% { height: 65%; opacity: 1; }
}

@keyframes dotPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.6; }
}

/* Menü tıklama dalga efekti */
.nav-click-animate {
    animation: navRipple 0.5s ease forwards !important;
}

@keyframes navRipple {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); transform: scale(1.03); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); transform: scale(1); }
}

.nav-item i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.sidebar-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.sidebar-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 0 14px;
    margin-bottom: 6px;
}

/* İtiraflar */
.confession-item {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.15s;
}
.confession-item:last-child {
    border-bottom: none;
}
.confession-item:hover {
    background: var(--bg-hover);
}
.confession-text {
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.confession-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Sidebar Card (İtiraf Et vb.) */
.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
    margin: 12px 10px 16px;
}
.sidebar-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-card-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-card-item:last-child {
    border-bottom: none;
}
.sidebar-card-rank {
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(99,102,241,0.1);
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
}
.sidebar-card-content {
    flex: 1;
    min-width: 0;
}
.sidebar-card-content h4 {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.3;
}
.sidebar-card-content h4 a {
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-card-content h4 a:hover {
    color: var(--primary);
}
.sidebar-card-meta {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    font-size: 0.68rem;
    color: var(--text-muted);
}
.sidebar-card-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}
.sidebar-card-more {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(99,102,241,0.06);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.2s;
}
.sidebar-card-more:hover {
    background: rgba(99,102,241,0.12);
}

/* Alt Kategori Animasyonu */
.cat-item-wrap {
    position: relative;
}

.cat-item-wrap.has-sub .nav-item {
    cursor: pointer;
}

.cat-arrow {
    margin-left: auto;
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.cat-item-wrap.has-sub.open .cat-arrow {
    transform: rotate(180deg);
}

.sub-categories {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    padding-left: 12px;
}

.cat-item-wrap.open .sub-categories {
    max-height: 500px;
    opacity: 1;
}

.sub-cat-item {
    font-size: 0.8rem !important;
    padding: 7px 14px 7px 24px !important;
    position: relative;
}

.sub-cat-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    transform: translateY(-50%);
}

.sub-cat-item:hover::before {
    background: var(--primary);
}

/* Ana İçerik */
.main-content {
    min-width: 0;
}

/* Sağ Panel */
.right-panel {
    position: relative;
    height: auto;
}

.panel-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.panel-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-title i {
    color: var(--primary);
}

/* Platform İstatistikleri */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md, 10px);
    background: var(--bg-tertiary);
    transition: transform 0.2s ease, background 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.stat-posts .stat-icon {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.stat-users .stat-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.stat-comments .stat-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.stat-tags .stat-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Trend Konular */
.trending-list {
    list-style: none;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-rank {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 20px;
}

.trending-content {
    flex: 1;
    min-width: 0;
}

.trending-content h4 {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
}

.trending-content h4 a {
    color: inherit;
}

.trending-content h4 a:hover {
    color: var(--primary);
}

.trending-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

/* Hashtag Bulutu */
.hashtag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hashtag-item {
    padding: 5px 10px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hashtag-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.hashtag-item .count {
    color: var(--text-muted);
    margin-left: 4px;
}

/* Soru Kartı */
.question-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    transition: var(--transition);
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.question-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.post-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.category-badge {
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-body {
    padding: 16px;
}

.question-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
}

.question-title a {
    color: var(--text-primary);
}

.question-title a:hover {
    color: var(--primary);
}

.question-content {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 14px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.question-content a {
    color: var(--primary);
}

/* Fotoğraf Grid - Twitter Style */
.question-photos {
    display: grid;
    gap: 2px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    max-height: 500px;
}

/* Tek fotoğraf - tam genişlik */
.question-photos.photo-count-1 {
    grid-template-columns: 1fr;
    max-height: 500px;
}

.question-photos.photo-count-1 .photo-item {
    width: 100%;
    height: auto;
    max-height: 500px;
    aspect-ratio: auto;
}

.question-photos.photo-count-1 .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2 fotoğraf - yan yana */
.question-photos.photo-count-2 {
    grid-template-columns: 1fr 1fr;
    max-height: 300px;
}

.question-photos.photo-count-2 .photo-item {
    height: 300px;
}

/* 3 fotoğraf - sol büyük, sağ 2 küçük */
.question-photos.photo-count-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-height: 350px;
}

.question-photos.photo-count-3 .photo-item:first-child {
    grid-row: 1 / 3;
}

.question-photos.photo-count-3 .photo-item {
    height: 100%;
}

/* 4+ fotoğraf - 2x2 grid */
.question-photos.photo-count-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-height: 350px;
}

.question-photos.photo-count-4 .photo-item {
    height: 100%;
}

.photo-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-item:hover img {
    transform: scale(1.02);
}

.photo-more {
    position: relative;
}

.photo-count {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    backdrop-filter: blur(2px);
}

/* Etiketler */
.question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Kart Footer - Aksiyonlar */
.card-footer {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    gap: 4px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.action-btn.active {
    color: var(--primary);
}

.action-btn.active[data-action="like"] {
    color: var(--danger);
}

.action-btn.active[data-action="favorite"] {
    color: var(--warning);
}

.action-btn .count {
    font-weight: 500;
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

/* Formlar */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 40px;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Toggle Switch - Estetik */
.toggle-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.toggle-option:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 5%, var(--bg-tertiary));
}

.toggle-option-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.toggle-option-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.toggle-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.toggle-option-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
}

.toggle-option-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border-color);
    border-radius: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* Fotoğraf Yükleme */
.photo-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.photo-upload:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.photo-upload i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.photo-upload p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.photo-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-item .remove-photo {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Alert */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.alert-success {
    background: #10b98120;
    border: 1px solid #10b981;
    color: #10b981;
}

.alert-error {
    background: #ef444420;
    border: 1px solid #ef4444;
    color: #ef4444;
}

.alert-warning {
    background: #f59e0b20;
    border: 1px solid #f59e0b;
    color: #f59e0b;
}

.alert-info {
    background: #3b82f620;
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.alert-close {
    margin-left: auto;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    color: inherit;
}

.alert-close:hover {
    opacity: 1;
}

/* Auth Sayfaları - Twitter Tarzı Split Layout */

.auth-split {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Auth Promo Panel (Sağ Taraf) */
.auth-promo {
    max-width: 480px;
    animation: authCardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.auth-promo-content {
    text-align: center;
}

.auth-promo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    animation: iconPulse 2s ease-in-out infinite;
}

.auth-promo-icon i {
    font-size: 1.5rem;
    color: white;
}

.auth-promo h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-promo-desc {
    color: var(--text-secondary);
    font-size: 0.72rem;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature List */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    text-align: left;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    animation: featureSlide 0.5s ease forwards;
    opacity: 0;
}

.auth-feature:nth-child(1) { animation-delay: 0.5s; }
.auth-feature:nth-child(2) { animation-delay: 0.65s; }
.auth-feature:nth-child(3) { animation-delay: 0.8s; }
.auth-feature:nth-child(4) { animation-delay: 0.95s; }

@keyframes featureSlide {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.auth-feature:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.7);
    transform: translateX(4px);
}

.auth-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-feature-icon i {
    font-size: 0.75rem;
    color: var(--primary);
}

.auth-feature h4 {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.auth-feature p {
    font-size: 0.62rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Stats */
.auth-promo-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    animation: featureSlide 0.5s ease forwards;
    opacity: 0;
    animation-delay: 1.1s;
}

.auth-stat {
    text-align: center;
}

.auth-stat-num {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.auth-stat-label {
    font-size: 0.58rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile: Only form, hide promo */
@media (max-width: 900px) {
    .auth-split {
        flex-direction: column;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        min-height: 100vh;
    }
    
    .auth-card {
        max-width: 400px;
        width: 100%;
    }
    
    .auth-bg {
        display: none;
    }
    
    .auth-body {
        background: var(--bg-primary);
    }
}

/* Animated Background */
.auth-body {
    background: var(--bg-primary);
    overflow-x: hidden;
}

.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.auth-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: authGlow 8s ease-in-out infinite alternate;
}

.auth-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.auth-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation-delay: 4s;
}

@keyframes authGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.2); }
}

/* Floating Particles */
.auth-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 12s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 10s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 12s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 11s; }
.particle:nth-child(4) { left: 40%; animation-delay: 0.5s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1.5s; animation-duration: 10s; }
.particle:nth-child(6) { left: 60%; animation-delay: 3s; animation-duration: 14s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 11s; }
.particle:nth-child(8) { left: 80%; animation-delay: 0.8s; animation-duration: 12s; }
.particle:nth-child(9) { left: 85%; animation-delay: 1.8s; animation-duration: 10s; }
.particle:nth-child(10) { left: 90%; animation-delay: 3.5s; animation-duration: 13s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Auth Card - Glassmorphism */
.auth-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 36px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
                0 0 100px rgba(99, 102, 241, 0.05);
}

/* Card Entrance Animation */
.auth-animate {
    animation: authCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes authCardIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: iconPulse 2s ease-in-out infinite;
}

.auth-icon i {
    font-size: 1.5rem;
    color: white;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(99, 102, 241, 0.2); }
}

.auth-header h1 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.7rem;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    animation: fieldSlideIn 0.5s ease forwards;
    opacity: 0;
}

.auth-field:nth-child(1) { animation-delay: 0.1s; }
.auth-field:nth-child(2) { animation-delay: 0.2s; }
.auth-field:nth-child(3) { animation-delay: 0.3s; }
.auth-field:nth-child(4) { animation-delay: 0.4s; }
.auth-field:nth-child(5) { animation-delay: 0.5s; }

@keyframes fieldSlideIn {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

.auth-field .form-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.auth-field .form-label i {
    color: var(--primary);
    font-size: 0.62rem;
}

.auth-input {
    background: rgba(51, 65, 85, 0.5) !important;
    border: 1px solid rgba(99, 102, 241, 0.1) !important;
    transition: all 0.3s ease !important;
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
}

.auth-input:focus {
    background: rgba(51, 65, 85, 0.8) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--primary);
}

/* Password Strength */
.password-strength {
    height: 3px;
    border-radius: 3px;
    margin-top: 6px;
    transition: all 0.3s ease;
    width: 0;
}

.password-strength.weak {
    background: var(--danger);
}

.password-strength.medium {
    background: var(--warning);
}

.password-strength.strong {
    background: var(--success);
}

/* Auth Options Row */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fieldSlideIn 0.5s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.auth-options .checkbox-group span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.auth-link {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--primary-hover);
}

/* Auth Button */
.auth-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    animation: fieldSlideIn 0.5s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.auth-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.auth-btn:hover::before {
    opacity: 1;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Auth Alert Animation */
.auth-alert {
    animation: alertShake 0.4s ease;
}

@keyframes alertShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    font-size: 0.7rem;
    animation: fieldSlideIn 0.5s ease forwards;
    opacity: 0;
    animation-delay: 0.7s;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Auth */
@media (max-width: 768px) {
    .auth-card {
        padding: 28px 20px;
        max-width: 100%;
        border-radius: var(--radius-lg);
    }
    
    .auth-icon {
        width: 52px;
        height: 52px;
    }
    
    .auth-icon i {
        font-size: 1.2rem;
    }
    
    .auth-header h1 {
        font-size: 1.2rem;
    }
}

/* Category Modal */
.cat-modal {
    max-width: 480px;
}

.cat-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cat-modal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.cat-modal-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cat-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.cat-modal-item span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Registration Steps */
.reg-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
    padding: 0 10px;
}

.reg-step {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.reg-step.active {
    opacity: 1;
}

.reg-step.completed {
    opacity: 0.7;
}

.reg-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reg-step.active .reg-step-num {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.reg-step.completed .reg-step-num {
    background: rgba(99, 102, 241, 0.3);
    color: #fff;
}

.reg-step-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.reg-step.active .reg-step-label {
    color: var(--text-primary);
}

.reg-step-line {
    width: 30px;
    height: 2px;
    background: var(--border-color);
    margin: 0 8px;
    border-radius: 2px;
}

/* Registration Panels */
.reg-panel {
    animation: regFadeIn 0.35s ease forwards;
}

@keyframes regFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Registration Button Row */
.reg-btn-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.reg-btn-row .reg-prev {
    flex-shrink: 0;
}

.reg-btn-row .auth-btn {
    flex: 1;
}

/* Avatar Upload */
.avatar-upload-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed var(--border-color);
    color: var(--text-muted);
    font-size: 1.4rem;
}

.avatar-preview.has-image {
    border-style: solid;
    border-color: var(--primary);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-btn {
    cursor: pointer;
    font-size: 0.7rem !important;
}

/* Social Hint */
.reg-social-hint {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-align: center;
}

/* Profil Sayfası */
.profile-header {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    position: relative;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.profile-details h1 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-details .username {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.profile-details .bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.profile-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Soru Detay Sayfası */
.question-detail {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.question-detail .question-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.question-detail .question-content {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.question-detail .question-photos {
    max-height: 600px;
}

.question-detail .photo-item {
    height: auto;
}

/* Yorumlar */
.comments-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.comments-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.comment-form {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.comment-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.08);
}

.comment-form-avatar {
    flex-shrink: 0;
}

.comment-form-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.comment-form-inner {
    flex: 1;
    min-width: 0;
}

.comment-textarea-wrap {
    position: relative;
}

.comment-textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    resize: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    background: var(--bg-card);
}

.comment-textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.comment-textarea-hint {
    display: flex;
    justify-content: flex-end;
    padding: 4px 2px 0;
}

.comment-char-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.comment-anon-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.comment-anon-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.comment-anon-toggle:hover .comment-anon-label {
    color: var(--text-secondary);
}

.comment-anon-label i {
    font-size: 0.75rem;
}

.toggle-switch-sm {
    width: 36px;
    height: 20px;
}

.toggle-switch-sm .toggle-slider:before {
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
}

.toggle-switch-sm input:checked + .toggle-slider:before {
    transform: translateX(16px);
}

.comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.2s !important;
}

.comment-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.comment-item:hover {
    border-color: color-mix(in srgb, var(--primary) 20%, var(--border-color));
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.comment-item:last-child {
    margin-bottom: 0;
}

/* Reply (nested) comments */
.comment-reply {
    margin-left: 40px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--bg-card) 95%, var(--primary));
    border-left: 3px solid var(--primary);
}

.comment-reply img {
    width: 30px;
    height: 30px;
}

.comment-reply-to {
    font-size: 0.72rem;
    color: var(--primary);
    margin-left: 6px;
    font-weight: 500;
}

.comment-reply-to i {
    font-size: 0.65rem;
    margin-right: 2px;
}

/* Reply button */
.comment-reply-btn {
    cursor: pointer;
    transition: color 0.15s;
}

.comment-reply-btn:hover {
    color: var(--primary);
}

/* Reply indicator in form */
.reply-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: color-mix(in srgb, var(--primary) 10%, var(--bg-card));
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    color: var(--primary);
}

.reply-indicator i {
    font-size: 0.75rem;
}

.reply-indicator span {
    flex: 1;
}

.reply-username {
    font-weight: 600;
}

.reply-cancel-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.15s;
}

.reply-cancel-btn:hover {
    background: var(--bg-hover);
    color: var(--danger);
}

.comment-item img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-author {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s;
}

.comment-author:hover {
    color: var(--primary);
}

.comment-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.comment-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 6px;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: break-word;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--border-color) 50%, transparent);
}

.comment-action {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.comment-action:hover {
    color: var(--primary);
}

.comment-action.active {
    color: var(--danger);
}

/* Yorum Menüsü */
.comment-menu-wrap {
    position: relative;
    margin-left: auto;
}

.comment-menu-btn {
    padding: 2px 6px;
    border-radius: 4px;
}

.comment-menu-btn:hover {
    background: var(--bg-tertiary);
}

.comment-dropdown {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.comment-dropdown.show {
    display: block;
}

.comment-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.comment-dropdown-item:hover {
    background: var(--bg-tertiary);
}

.comment-dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.comment-dropdown-danger:hover {
    background: color-mix(in srgb, var(--danger) 10%, transparent);
}

.comment-dropdown-danger:hover,
.comment-dropdown-danger:hover i {
    color: var(--danger);
}

.comment-dropdown-warning:hover {
    background: color-mix(in srgb, #f59e0b 10%, transparent);
}

.comment-dropdown-warning:hover,
.comment-dropdown-warning:hover i {
    color: #f59e0b;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bildirim Dropdown */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: none;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.notification-item:hover {
    background: var(--bg-hover);
}

.notification-item.unread {
    background: var(--primary-light);
}

.notification-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-content {
    flex: 1;
}

.notification-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-text strong {
    color: var(--text-primary);
}

.notification-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Sayfalama */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.pagination .active {
    background: var(--primary);
    color: white;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Daha Fazla Göster Butonu */
.load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary);
    background: transparent;
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    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); }
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--info); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Kategori Slider - sadece mobilde görünür */
.category-slider-mobile {
    display: none;
}

/* Mobil Menü Overlay - masaüstünde gizli */
.mobile-menu-overlay {
    display: none;
}

/* ============================== */
/* RESPONSIVE - TABLET */
/* ============================== */
@media (max-width: 1200px) {
    .layout {
        grid-template-columns: 220px 1fr 260px;
        gap: 16px;
    }
    .right-panel {
        width: 260px;
    }
}

/* ============================== */
/* SMALL TABLET */
/* ============================== */
@media (max-width: 960px) {
    .layout {
        grid-template-columns: 200px 1fr 240px;
        gap: 12px;
        padding: 0 12px;
    }
    .right-panel {
        width: 240px;
    }
}

/* ============================== */
/* MOBILE - NATIVE APP TASARIMI */
/* ============================== */
@media (max-width: 768px) {
    /* Body - App feel */
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        overscroll-behavior-y: contain;
        padding-bottom: 80px; /* bottom nav space */
    }

    /* Header - Compact app bar */
    .header {
        height: 56px;
        padding: 0 12px;
        position: sticky;
    }
    
    .header-content {
        gap: 8px;
    }
    
    .logo {
        font-size: 1.2rem;
        gap: 6px;
    }
    
    .logo i {
        font-size: 1.4rem;
    }
    
    .header-search {
        display: none;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .header-actions .btn-primary span {
        display: none;
    }
    
    .header-actions .btn-primary,
    .header-write-btn {
        display: none !important;
    }
    
    .header-write-btn i {
        font-size: 0.9rem;
        margin: 0 !important;
    }
    
    .header-btn {
        width: 36px;
        height: 36px;
    }
    
    .user-menu {
        display: none;
    }
    
    .user-menu img {
        width: 28px;
        height: 28px;
    }

    /* Layout - mobilde tek sütün, sidebar gizli */
    .layout {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding: 0 0 80px;
        gap: 0;
    }

    /* Sidebar - mobilde gizli */
    .sidebar {
        display: none;
    }

    /* Kategori Slider (Mobil) */
    .category-slider-mobile {
        display: block;
        position: relative;
        overflow: hidden;
        padding: 10px 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        margin: 0 -12px 12px;
        width: calc(100% + 24px);
    }
    
    .category-slider-track {
        display: flex;
        gap: 8px;
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .category-slider-track::-webkit-scrollbar {
        display: none;
    }
    
    .category-chip {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text-primary);
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    
    .category-chip i {
        font-size: 0.85rem;
    }
    
    .category-chip:hover,
    .category-chip:active {
        background: var(--primary-light);
        border-color: var(--primary);
        color: var(--primary);
        transform: scale(1.05);
    }
    
    .category-chip.active {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
    }
    
    .category-chip.active i {
        color: #fff;
    }
    
    /* Hamburger Menü Butonu */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 36px;
        height: 36px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 16px;
        height: 2px;
        background: var(--text-secondary);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(.4,0,.2,1);
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
        background: var(--primary);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
        background: var(--primary);
    }
    
    /* Mobil Menü Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 2000;
        animation: fadeIn 0.2s ease;
        align-items: flex-start;
        justify-content: center;
        padding-top: 10vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu-overlay.open {
        display: flex;
    }
    
    /* Mobil Menü Popup */
    .mobile-menu-popup {
        width: calc(100% - 32px);
        max-width: 340px;
        background: var(--bg-card);
        border-radius: 16px;
        border: 1px solid var(--border-color);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        animation: popupScale 0.25s cubic-bezier(.4,0,.2,1);
        margin-bottom: 10vh;
    }
    
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
    }
    
    .mobile-menu-user {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mobile-menu-user img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,0.3);
        object-fit: cover;
    }
    
    .mobile-menu-username {
        font-weight: 600;
        font-size: 0.9rem;
        color: #fff;
    }
    
    .mobile-menu-role {
        font-size: 0.7rem;
        color: rgba(255,255,255,0.7);
        text-transform: capitalize;
    }
    
    .mobile-menu-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        border: none;
        color: #fff;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }
    .mobile-menu-close:hover {
        background: rgba(255,255,255,0.25);
    }
    
    .mobile-menu-nav {
        padding: 8px;
    }
    
    .mobile-menu-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .mobile-menu-link i {
        width: 20px;
        text-align: center;
        font-size: 1rem;
        color: var(--text-muted);
    }
    
    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        background: var(--primary-light);
        color: var(--primary);
    }
    .mobile-menu-link:hover i,
    .mobile-menu-link:active i {
        color: var(--primary);
    }
    
    .mobile-menu-link.active {
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
    }
    .mobile-menu-link.active i {
        color: var(--primary);
    }
    
    .mobile-menu-divider {
        height: 1px;
        background: var(--border-color);
        margin: 4px 12px;
    }
    
    @keyframes slideDown {
        0% { opacity: 0; transform: translateY(-12px) scale(0.96); }
        100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    
    @keyframes fadeIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }
    
    /* Sağ panel - mobilde gizli */
    .right-panel {
        display: none;
    }
    
    /* Main content */
    .main-content {
        min-width: 0;
        overflow: visible;
        padding: 8px 0;
    }

    /* Filter tabs - horizontal scroll */
    .filter-tabs {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: 8px;
        padding: 8px 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
    }
    
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .filter-tab {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    /* Question cards - full width, no border radius */
    .question-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: 10px;
    }
    
    .question-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .card-header {
        padding: 10px 12px;
    }
    
    .card-body {
        padding: 0 12px 10px;
    }
    
    .card-footer {
        padding: 8px 10px;
    }
    
    .question-title {
        font-size: 1rem;
    }
    
    .question-content {
        font-size: 0.85rem;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
    }
    
    .author-name {
        font-size: 0.85rem;
    }

    /* Photos - Twitter style */
    .question-photos {
        gap: 2px;
        border-radius: 12px;
        margin: 0 0 12px;
        max-height: 280px;
    }
    
    .question-photos.photo-count-2 {
        max-height: 200px;
    }
    
    .question-photos.photo-count-2 .photo-item {
        height: 200px;
    }
    
    .question-photos.photo-count-3,
    .question-photos.photo-count-4 {
        max-height: 250px;
    }

    /* Action buttons - bigger touch targets */
    .action-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-height: 44px;
    }

    /* Category badge */
    .category-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Bottom Navigation Bar - Animasyonlu Şık Tasarım */
    .bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(99, 102, 241, 0.15);
        z-index: 1500;
        align-items: center;
        justify-content: space-around;
        padding: 0 4px env(safe-area-inset-bottom, 0);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 10px;
        color: rgba(148, 163, 184, 0.7);
        text-decoration: none;
        min-width: 52px;
        position: relative;
        border-radius: 16px;
        transition: all 0.35s cubic-bezier(.4,0,.2,1);
        -webkit-tap-highlight-color: transparent;
    }
    
    .bottom-nav-item i {
        font-size: 1.15rem;
        transition: all 0.35s cubic-bezier(.4,0,.2,1);
    }
    
    .bottom-nav-item span {
        font-size: 0.55rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: all 0.3s ease;
        opacity: 0.7;
    }
    
    /* Aktif öğe - pill şekli + gradient */
    .bottom-nav-item.active {
        color: #fff;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        transform: translateY(-4px);
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
    }
    
    .bottom-nav-item.active i {
        font-size: 1.25rem;
        animation: bottomNavBounce 0.5s cubic-bezier(.4,0,.2,1);
    }
    
    .bottom-nav-item.active span {
        opacity: 1;
        color: #fff;
    }
    
    /* Aktif öğe üst göstergesi */
    .bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background: #fff;
        border-radius: 0 0 4px 4px;
        animation: indicatorGrow 0.3s ease forwards;
    }
    
    /* Tıklama efekti */
    .bottom-nav-item:active {
        transform: scale(0.85);
        transition: transform 0.1s ease;
    }
    
    .bottom-nav-item:active:not(.active) {
        background: rgba(99, 102, 241, 0.1);
    }
    
    /* Rozet - aktif öğede özel */
    .bottom-nav-item .badge {
        position: absolute;
        top: 0px;
        right: 4px;
        background: linear-gradient(135deg, #ef4444, #f97316);
        color: white;
        font-size: 0.5rem;
        font-weight: 700;
        padding: 1px 5px;
        border-radius: 10px;
        min-width: 16px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
        animation: badgePulse 2s ease-in-out infinite;
    }
    
    @keyframes bottomNavBounce {
        0% { transform: scale(0.6) translateY(4px); }
        50% { transform: scale(1.3) translateY(-2px); }
        70% { transform: scale(0.9); }
        100% { transform: scale(1) translateY(0); }
    }
    
    @keyframes indicatorGrow {
        0% { width: 0; opacity: 0; }
        100% { width: 20px; opacity: 1; }
    }
    
    @keyframes badgePulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.15); }
    }
    
    /* FAB - Floating Ask Button */
    .mobile-fab {
        display: flex !important;
        position: fixed;
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
        background: var(--primary);
        color: white;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
        z-index: 1400;
        transition: var(--transition);
        text-decoration: none;
    }
    
    .mobile-fab:active {
        transform: scale(0.9);
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    }

    /* Auth pages */
    .auth-container {
        padding: 16px;
    }
    
    .auth-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }
    
    .auth-header h1 {
        font-size: 1.25rem;
    }

    /* Profile */
    .profile-header {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 20px 16px;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-stats {
        justify-content: center;
    }

    .profile-top-right {
        top: 16px;
        right: 16px;
        gap: 6px;
    }

    /* Question detail */
    .question-detail {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 16px;
    }
    
    .question-detail .question-title {
        font-size: 1.2rem;
    }
    
    .comments-section {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Search */
    .mobile-search {
        display: flex !important;
        padding: 8px 12px;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-search input {
        flex: 1;
        padding: 10px 14px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xl);
        color: var(--text-primary);
        font-size: 0.9rem;
    }
    
    .mobile-search input:focus {
        outline: none;
        border-color: var(--primary);
    }

    /* Pagination - compact */
    .pagination {
        padding: 12px;
        gap: 4px;
    }
    
    .pagination a, .pagination span {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 36px;
        text-align: center;
    }

    /* Empty state */
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-state i {
        font-size: 3rem;
    }
    
    .empty-state h3 {
        font-size: 1.1rem;
    }

    /* Toast - full width bottom */
    .toast-container {
        bottom: 136px;
        right: 12px;
        left: 12px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }

    /* Notification dropdown - full width */
    .notification-dropdown {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        max-height: calc(100vh - 56px);
    }

    /* User dropdown - full width */
    .user-dropdown {
        position: fixed;
        top: 56px;
        right: 0;
        left: auto;
        width: 220px;
        border-radius: 0 0 0 var(--radius-md);
    }

    /* Forms - bigger touch targets */
    .form-control {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .btn-lg {
        padding: 14px 24px;
    }

    /* Photo upload */
    .photo-upload {
        padding: 20px;
    }
    
    .photo-preview {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Modal - full screen on mobile */
    .modal {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 64px);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin-top: auto;
    }
    
    .modal-overlay {
        align-items: flex-end;
    }
    
    .ask-modal .modal-body {
        max-height: none;
        overflow-y: visible;
    }

    /* Hashtag cloud */
    .hashtag-cloud {
        gap: 6px;
    }
    
    .hashtag-item {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    /* Trending */
    .trending-item {
        padding: 10px 0;
    }
    
    .trending-content h4 {
        font-size: 0.78rem;
    }

    /* Scrollbar hide for cleaner look */
    ::-webkit-scrollbar {
        width: 0;
        display: none;
    }
    
    /* MOBIL: Animasyonlari devre disi birak */
    .header,
    .logo i,
    .sidebar .nav-item,
    .sidebar-title,
    .right-panel .panel-card,
    .trending-item,
    .hashtag-item,
    .question-card,
    .filter-tabs,
    .empty-state,
    .pagination,
    .comment-item,
    .new-users-slider,
    footer {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
    }
    
    /* Mobil: scroll-reveal devre disi */
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Mobil: hover transform devre disi (kartlar) */
    .question-card:hover {
        transform: none !important;
    }
    
    /* Mobil: nav-item hover basitle */
    .sidebar .nav-item:hover {
        transform: none !important;
    }
    
    /* Mobil: trending-item hover basitle */
    .trending-item:hover {
        transform: none !important;
    }
    
    /* Mobil: action-btn hover basitle */
    .action-btn:hover {
        transform: none !important;
    }
    
    /* Mobil: hashtag hover basitle */
    .hashtag-item:hover {
        transform: none !important;
    }
    
    /* Mobil: nav-item active göstergeleri kaldir */
    .sidebar .nav-item.active::before,
    .sidebar .nav-item.active::after {
        display: none;
    }
    
    /* Mobil: right-panel scroll yok */
    .right-panel {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* Mobil: panel-card hover devre disi */
    .right-panel .panel-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* ============================== */
/* VERY SMALL SCREENS (< 360px) */
/* ============================== */
@media (max-width: 360px) {
    .layout {
        padding: 0 0 80px;
    }
    
    .header {
        padding: 0 6px;
    }
    
    .logo {
        font-size: 0.95rem;
    }
    
    .bottom-nav-item {
        min-width: 40px;
        padding: 5px 6px;
        border-radius: 12px;
    }
    
    .bottom-nav-item i {
        font-size: 1rem;
    }
    
    .bottom-nav-item span {
        font-size: 0.48rem;
    }
    
    .bottom-nav-item.active {
        transform: translateY(-3px);
    }
    
    .action-btn {
        padding: 6px 8px;
        gap: 3px;
        font-size: 0.7rem;
    }
    
    .card-header {
        padding: 8px 10px;
    }
    
    .card-body {
        padding: 0 10px 8px;
    }
    
    .question-title {
        font-size: 0.85rem;
    }
    
    .new-users-slider {
        padding: 8px;
    }
    
    .new-user-item {
        min-width: 48px;
        max-width: 48px;
    }
    
    .new-user-item img {
        width: 36px;
        height: 36px;
    }
    
    .new-user-item span {
        font-size: 0.55rem;
        max-width: 48px;
    }
}

/* ============================== */
/* DESKTOP - Hide mobile elements */
/* ============================== */
@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
    
    .mobile-fab {
        display: none !important;
    }
    
    .mobile-search {
        display: none !important;
    }
}

/* ============================== */
/* APP-LIKE GLOBAL STYLES */
/* ============================== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Active state for touch feedback */
a:active, button:active {
    opacity: 0.7;
    transition: opacity 0.1s;
}

/* Prevent text selection on nav items */
.bottom-nav-item, .nav-item, .action-btn, .filter-tab {
    -webkit-user-select: none;
    user-select: none;
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(60px + env(safe-area-inset-bottom));
    }
    
    body {
        padding-bottom: calc(120px + env(safe-area-inset-bottom));
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* Animasyonlar */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Kullanıcı Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: none;
    padding: 8px;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.user-dropdown a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.user-dropdown a i {
    width: 18px;
    text-align: center;
}

/* Filtre Tabs */
.filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    animation: slideDown 0.4s ease forwards;
    opacity: 0;
    animation-delay: 0.1s;
    position: relative;
    z-index: 50;
}

.filter-tab {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

.filter-tab:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
    transform: scale(1.04);
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(99,102,241,0.3);
}

/* Scope Filter */
.scope-filter-wrap {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
}

.scope-filter-btn {
    border: 1px dashed var(--border-color);
    background: transparent;
    color: var(--text-muted);
}

.scope-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
    transform: scale(1.04);
}

.scope-filter-btn.active {
    border-style: solid;
    border-color: var(--primary);
}

.scope-popup {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 9999;
    min-width: 200px;
    padding: 6px;
    animation: slideDown 0.2s ease forwards;
}

.scope-popup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.83rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.scope-popup-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.scope-popup-item.active {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.scope-popup-item i:first-child {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

.scope-popup-item span {
    flex: 1;
}

.scope-check {
    font-size: 0.7rem;
    color: var(--primary);
}

/* ============================== */
/* SITE İÇİ ANİMASYONLAR */
/* ============================== */

/* --- Keyframes --- */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popupScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.5); }
    70% { transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes heartPop {
    0% { transform: scale(1); }
    25% { transform: scale(1.35); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes bounceIn {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes floatUp {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Header animasyonu --- */
.header {
    animation: slideDown 0.5s ease forwards;
}

.logo i {
    animation: popIn 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* --- Sol Sidebar nav animasyonları --- */
.sidebar .nav-item {
    opacity: 0;
    animation: slideLeft 0.35s ease forwards;
}

.sidebar .nav-item:nth-child(1) { animation-delay: 0.05s; }
.sidebar .nav-item:nth-child(2) { animation-delay: 0.1s; }
.sidebar .nav-item:nth-child(3) { animation-delay: 0.15s; }
.sidebar .nav-item:nth-child(4) { animation-delay: 0.2s; }
.sidebar .nav-item:nth-child(5) { animation-delay: 0.25s; }
.sidebar .nav-item:nth-child(6) { animation-delay: 0.3s; }
.sidebar .nav-item:nth-child(7) { animation-delay: 0.35s; }
.sidebar .nav-item:nth-child(8) { animation-delay: 0.4s; }
.sidebar .nav-item:nth-child(9) { animation-delay: 0.45s; }
.sidebar .nav-item:nth-child(10) { animation-delay: 0.5s; }

.sidebar .nav-item:hover {
    transform: translateX(4px);
}

.sidebar-title {
    opacity: 0;
    animation: slideLeft 0.35s ease forwards;
    animation-delay: 0.3s;
}

/* --- Sağ Panel animasyonları --- */
.right-panel .panel-card {
    opacity: 0;
    animation: slideRight 0.4s ease forwards;
}

.right-panel .panel-card:nth-child(1) { animation-delay: 0.1s; }
.right-panel .panel-card:nth-child(2) { animation-delay: 0.25s; }
.right-panel .panel-card:nth-child(3) { animation-delay: 0.4s; }

.right-panel .panel-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

/* --- Trend items animasyonu --- */
.trending-item {
    opacity: 0;
    animation: slideRight 0.3s ease forwards;
    transition: all 0.25s ease;
}

.trending-item:nth-child(1) { animation-delay: 0.2s; }
.trending-item:nth-child(2) { animation-delay: 0.3s; }
.trending-item:nth-child(3) { animation-delay: 0.4s; }
.trending-item:nth-child(4) { animation-delay: 0.5s; }
.trending-item:nth-child(5) { animation-delay: 0.6s; }

.trending-item:hover {
    transform: translateX(4px);
}

/* --- Hashtag animasyonları --- */
.hashtag-item {
    opacity: 0;
    animation: popIn 0.35s ease forwards;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

.hashtag-item:nth-child(1) { animation-delay: 0.05s; }
.hashtag-item:nth-child(2) { animation-delay: 0.1s; }
.hashtag-item:nth-child(3) { animation-delay: 0.15s; }
.hashtag-item:nth-child(4) { animation-delay: 0.2s; }
.hashtag-item:nth-child(5) { animation-delay: 0.25s; }
.hashtag-item:nth-child(6) { animation-delay: 0.3s; }
.hashtag-item:nth-child(7) { animation-delay: 0.35s; }
.hashtag-item:nth-child(8) { animation-delay: 0.4s; }

.hashtag-item:hover {
    transform: scale(1.08);
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(99,102,241,0.15);
}

/* --- Soru kartı animasyonları --- */
.question-card {
    opacity: 0;
    animation: floatUp 0.45s ease forwards;
}

.question-card:nth-child(1) { animation-delay: 0.05s; }
.question-card:nth-child(2) { animation-delay: 0.12s; }
.question-card:nth-child(3) { animation-delay: 0.19s; }
.question-card:nth-child(4) { animation-delay: 0.26s; }
.question-card:nth-child(5) { animation-delay: 0.33s; }
.question-card:nth-child(6) { animation-delay: 0.4s; }
.question-card:nth-child(7) { animation-delay: 0.47s; }
.question-card:nth-child(8) { animation-delay: 0.54s; }

.question-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* --- Aksiyon butonları --- */
.action-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

.action-btn:hover {
    background: var(--bg-hover);
    transform: scale(1.06);
}

.action-btn:active {
    transform: scale(0.95);
}

/* Beğeni aktif animasyonu */
.action-btn.like-animate {
    animation: heartPop 0.5s ease forwards;
}

.action-btn.like-animate[data-action="like"].active {
    color: var(--danger);
    animation: heartPop 0.5s ease forwards, pulseGlow 0.6s ease;
}

/* Favori aktif animasyonu */
.action-btn.fav-animate {
    animation: bounceIn 0.5s ease forwards;
}

/* --- Bildirim badge pulse --- */
.notification-btn .badge {
    animation: badgePulse 1.5s ease-in-out infinite;
}

/* Bildirim badge pulse animasyonu */
@keyframes notifPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.notif-pulse {
    animation: notifPulse 0.4s ease !important;
}

/* Bildirim toast */
.notif-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.notif-toast.show {
    transform: translateX(0);
}

.notif-toast i {
    color: var(--primary);
    font-size: 1rem;
}

/* --- Empty state animasyonu --- */
.empty-state {
    opacity: 0;
    animation: scaleIn 0.5s ease forwards;
    animation-delay: 0.15s;
}

/* --- Pagination animasyonu --- */
.pagination {
    opacity: 0;
    animation: slideUp 0.4s ease forwards;
    animation-delay: 0.3s;
}

.pagination a {
    transition: all 0.25s ease;
}

.pagination a:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(99,102,241,0.2);
}

/* --- Toast animasyonu --- */
.toast {
    animation: slideRight 0.35s ease forwards;
    transition: all 0.3s ease;
}

/* --- Dropdown animasyonları --- */
.notification-dropdown,
.user-dropdown {
    animation: scaleIn 0.2s ease forwards;
    transform-origin: top right;
}

/* --- Alert animasyonu --- */
.alert {
    animation: slideDown 0.35s ease forwards;
}

/* --- Comment animasyonu --- */
.comment-item {
    opacity: 0;
    animation: slideUp 0.3s ease forwards;
}

.comment-item:nth-child(1) { animation-delay: 0.05s; }
.comment-item:nth-child(2) { animation-delay: 0.1s; }
.comment-item:nth-child(3) { animation-delay: 0.15s; }
.comment-item:nth-child(4) { animation-delay: 0.2s; }
.comment-item:nth-child(5) { animation-delay: 0.25s; }

.comment-item:hover {
    background: var(--bg-hover);
    transition: background 0.2s ease;
}

/* --- Scroll reveal (JS ile tetiklenecek) --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(.4,0,.2,1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hover ripple efekti --- */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    width: 20px;
    height: 20px;
    pointer-events: none;
    animation: ripple 0.6s ease-out forwards;
}

/* --- Footer animasyonu --- */
footer {
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
    animation-delay: 0.4s;
}

/* --- Soru Sor Modal --- */
.ask-modal {
    max-width: 560px;
    width: 100%;
}

.ask-modal .modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 14px 20px;
    border-bottom: none;
}

.ask-modal .modal-header h3 {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.ask-modal .modal-header h3 i {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.ask-modal .modal-close {
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

.ask-modal .modal-close:hover {
    background: rgba(255,255,255,0.25);
}

.ask-modal .modal-body {
    padding: 16px 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.ask-modal .form-group {
    margin-bottom: 12px;
}

.ask-modal .form-label {
    font-size: 0.72rem;
    margin-bottom: 5px;
}

.ask-modal .form-control {
    font-size: 0.78rem;
    padding: 9px 12px;
}

.ask-modal textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.ask-modal .modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.ask-modal .modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    font-size: 0.8rem;
    padding: 8px 18px;
}

.ask-modal .modal-footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

@media (max-width: 768px) {
    .ask-modal {
        max-width: 100%;
        margin: 12px;
        border-radius: var(--radius-md);
    }
    
    .ask-modal .modal-header {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    
    .ask-modal .modal-body {
        padding: 16px;
        max-height: none;
        overflow-y: visible;
    }
    
    .ask-modal .modal-footer {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        padding: 12px 16px;
    }
}

/* ============================== */
/* YENİ ÜYELER SLIDER */
/* ============================== */
.new-users-slider {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 16px;
    animation: floatUp 0.45s ease forwards;
    opacity: 0;
}

.new-users-slider-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.new-users-slider-header i {
    color: var(--primary);
    font-size: 0.85rem;
}

.new-users-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.new-users-track::-webkit-scrollbar {
    display: none;
}

.new-user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 64px;
    max-width: 64px;
    scroll-snap-align: start;
    text-decoration: none;
    transition: all 0.25s ease;
}

.new-user-item:hover {
    transform: translateY(-3px);
}

.new-user-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.new-user-item:hover img {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.new-user-item span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.new-user-item:hover span {
    color: var(--primary);
}

@media (max-width: 768px) {
    .new-users-slider {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .new-users-track {
        gap: 10px;
    }
    
    .new-user-item {
        min-width: 56px;
        max-width: 56px;
    }
    
    .new-user-item img {
        width: 40px;
        height: 40px;
    }
    
    .new-user-item span {
        font-size: 0.6rem;
        max-width: 56px;
    }
}

/* ============================== */
/* REDUCED MOTION - Erisilebilirlik */
/* ============================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        opacity: 1 !important;
    }
    
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================== */
/* SAFE AREA - Notched Phones */
/* ============================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav {
        height: calc(64px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }
}

/* ============================== */
/* @ MENTION AUTOCOMPLETE */
/* ============================== */
.mention-dropdown {
    animation: mentionSlideUp 0.2s ease;
}

.mention-item:hover {
    background: var(--bg-hover) !important;
}

@keyframes mentionSlideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================== */
/* MOBİL ARAMA POPUP */
/* ============================== */
.search-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-popup-overlay.open {
    opacity: 1;
}

.search-popup {
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
}

.search-popup-overlay.open .search-popup {
    transform: translateY(0);
}

.search-popup-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.search-popup-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 10px 14px;
}

.search-popup-input-wrap i {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.search-popup-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}

.search-popup-input-wrap input::placeholder {
    color: var(--text-muted);
}

.search-popup-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.search-popup-results {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

.search-popup-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    justify-content: center;
}

.search-popup-hint i {
    font-size: 1rem;
    color: var(--primary);
}

.search-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 10px 16px 6px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: background 0.15s;
}

.search-result-item:hover {
    background: var(--bg-hover);
}

.search-result-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    transition: background 0.15s;
}

.search-result-all:hover {
    background: var(--bg-hover);
}

/* Desktop: search popup centered */
@media (min-width: 768px) {
    .search-popup-overlay {
        align-items: flex-start;
        justify-content: center;
        padding-top: 15vh;
        backdrop-filter: blur(6px);
    }
    .search-popup {
        border-radius: 20px;
        max-height: 70vh;
        max-width: 560px;
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .search-popup-overlay.open .search-popup {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    .search-popup-header {
        padding: 16px 20px;
    }
    .search-popup-input-wrap {
        padding: 12px 16px;
        border-radius: 14px;
    }
    .search-popup-input-wrap input {
        font-size: 1rem;
    }
}

/* ============================== */
/* BİLDİRİMLER SAYFASI */
/* ============================== */
.notification-page-list {
    display: flex;
    flex-direction: column;
}

.notif-page-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}

.notif-page-item:last-child {
    border-bottom: none;
}

.notif-page-item:hover {
    background: var(--bg-hover);
}

.notif-page-item.notif-unread {
    background: rgba(99, 102, 241, 0.04);
}

.notif-page-item.notif-unread:hover {
    background: rgba(99, 102, 241, 0.08);
}

.notif-page-avatar {
    position: relative;
    flex-shrink: 0;
}

.notif-page-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.notif-page-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: white;
    border: 2px solid var(--bg-card);
}

.notif-page-content {
    flex: 1;
    min-width: 0;
}

.notif-page-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.notif-page-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.notif-page-question {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-page-question i {
    flex-shrink: 0;
    font-size: 0.7rem;
}

.notif-page-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
}

@media (max-width: 768px) {
    .notif-page-item {
        padding: 14px 16px;
    }
}

/* ============================== */
/* POPÜLER FİLTRELER */
/* ============================== */
.popular-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.popular-filter {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.popular-filter:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.popular-filter.active {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

/* ============================== */
/* FAVORİ ROZETİ */
/* ============================== */
.card-fav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    font-size: 0.7rem;
    flex-shrink: 0;
    animation: favPop 0.3s ease;
}

@keyframes favPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ===== Rutbe Sistemi (Rank Badges) ===== */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}
.rank-badge .rank-emoji { font-size: 0.75rem; }
.rank-badge .rank-name { color: var(--text-secondary); }
.rank-badge .rank-level { color: var(--text-muted); font-size: 0.58rem; }
.rank-badge .rank-progress {
    width: 100%;
    height: 3px;
    background: var(--bg-primary);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}
.rank-badge .rank-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Profil ust sag - rutbe ve ayarlar yan yana */
.profile-top-right {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 24px;
    right: 24px;
}
.profile-top-right .rank-badge {
    margin-top: 0;
    font-size: 0.58rem;
    padding: 2px 7px;
    gap: 4px;
}
.profile-top-right .rank-badge .rank-emoji { font-size: 0.65rem; }
.profile-top-right .rank-badge .rank-level { font-size: 0.52rem; }
.profile-top-right .rank-badge .rank-progress { display: none; }
.btn-profile-sm {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
    white-space: nowrap;
}

/* Rutbe renkleri */
.rank-badge.rank-1 { border-color: #9ca3af40; }
.rank-badge.rank-1 .rank-progress-bar { background: #9ca3af; }
.rank-badge.rank-2 { border-color: #86efac40; }
.rank-badge.rank-2 .rank-progress-bar { background: #86efac; }
.rank-badge.rank-3 { border-color: #facc1540; }
.rank-badge.rank-3 .rank-progress-bar { background: #facc15; }
.rank-badge.rank-4 { border-color: #fb923c40; }
.rank-badge.rank-4 .rank-progress-bar { background: #fb923c; }
.rank-badge.rank-5 { border-color: #f472b640; }
.rank-badge.rank-5 .rank-progress-bar { background: #f472b6; }
.rank-badge.rank-6 { border-color: #a855f740; }
.rank-badge.rank-6 .rank-progress-bar { background: #a855f7; }
.rank-badge.rank-7 { border-color: #ef444440; }
.rank-badge.rank-7 .rank-progress-bar { background: #ef4444; }
.rank-badge.rank-8 { border-color: #1e3a5f60; }
.rank-badge.rank-8 .rank-progress-bar { background: #3b82f6; }
.rank-badge.rank-9 { border-color: #eab30840; background: #eab30810; }
.rank-badge.rank-9 .rank-progress-bar { background: #eab308; }
.rank-badge.rank-10 {
    border-color: #c084fc40;
    background: linear-gradient(135deg, #c084fc10, #eab30810);
    animation: rankGlow 2s ease-in-out infinite alternate;
}
.rank-badge.rank-10 .rank-progress-bar { background: linear-gradient(90deg, #a855f7, #eab308); }

@keyframes rankGlow {
    0% { box-shadow: 0 0 4px #c084fc20; }
    100% { box-shadow: 0 0 12px #eab30830; }
}

/* Kart uzerindeki kucuk rutbe rozeti */
.card-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    padding: 1px 6px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    flex-shrink: 0;
}
.card-rank-badge .card-rank-name { display: none; }
.card-rank-badge.rank-9 .card-rank-name,
.card-rank-badge.rank-10 .card-rank-name { display: inline; }

/* Kart rütbe renkleri - mobilde görünürlük için */
.card-rank-badge.rank-1 { color: #9ca3af; border-color: #9ca3af40; }
.card-rank-badge.rank-2 { color: #86efac; border-color: #86efac40; }
.card-rank-badge.rank-3 { color: #facc15; border-color: #facc1540; }
.card-rank-badge.rank-4 { color: #fb923c; border-color: #fb923c40; }
.card-rank-badge.rank-5 { color: #f472b6; border-color: #f472b640; }
.card-rank-badge.rank-6 { color: #a855f7; border-color: #a855f740; }
.card-rank-badge.rank-7 { color: #ef4444; border-color: #ef444440; }
.card-rank-badge.rank-8 { color: #3b82f6; border-color: #3b82f640; }
.card-rank-badge.rank-9 { color: #eab308; border-color: #eab30840; background: #eab30815; }
.card-rank-badge.rank-10 { color: #c084fc; border-color: #c084fc40; background: #c084fc15; }

@media (min-width: 768px) {
    .card-rank-badge .card-rank-name { display: inline; }
}

/* ============================== */
/* SAYFA GIRIS ANIMASYONLARI     */
/* ============================== */
.page-content {
    animation: pageFadeIn 0.4s ease forwards;
}

@keyframes pageFadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================== */
/* PANEL KART STAGGER ANIMASYONU  */
/* ============================== */
.sidebar .panel-card,
.right-panel .panel-card {
    opacity: 0;
    animation: panelSlideIn 0.45s ease forwards;
}
.sidebar .panel-card:nth-child(1) { animation-delay: 0.1s; }
.sidebar .panel-card:nth-child(2) { animation-delay: 0.2s; }
.sidebar .panel-card:nth-child(3) { animation-delay: 0.3s; }
.right-panel .panel-card:nth-child(1) { animation-delay: 0.15s; }
.right-panel .panel-card:nth-child(2) { animation-delay: 0.25s; }
.right-panel .panel-card:nth-child(3) { animation-delay: 0.35s; }
.right-panel .panel-card:nth-child(4) { animation-delay: 0.45s; }

@keyframes panelSlideIn {
    0% { opacity: 0; transform: translateX(-16px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ============================== */
/* AVATAR HOVER EFEKTLERI         */
/* ============================== */
.author-avatar {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.author-avatar:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 3px var(--primary), 0 0 12px rgba(99,102,241,0.3);
}

/* ============================== */
/* FOTO ZOOM HOVER                */
/* ============================== */
.photo-item img {
    transition: transform 0.35s ease;
}
.photo-item:hover img {
    transform: scale(1.06);
}

/* ============================== */
/* KATEGORI BADGE HOVER           */
/* ============================== */
.category-badge {
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.category-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ============================== */
/* HASHTAG CLOUD ITEM ANIMASYONU  */
/* ============================== */
.hashtag-item {
    opacity: 0;
    animation: hashtagFadeIn 0.35s ease forwards;
}
.hashtag-item:nth-child(1) { animation-delay: 0.05s; }
.hashtag-item:nth-child(2) { animation-delay: 0.1s; }
.hashtag-item:nth-child(3) { animation-delay: 0.15s; }
.hashtag-item:nth-child(4) { animation-delay: 0.2s; }
.hashtag-item:nth-child(5) { animation-delay: 0.25s; }
.hashtag-item:nth-child(6) { animation-delay: 0.3s; }
.hashtag-item:nth-child(7) { animation-delay: 0.35s; }
.hashtag-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes hashtagFadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* ============================== */
/* TRENDING ITEM HOVER            */
/* ============================== */
.trending-item {
    transition: transform 0.2s ease, background 0.2s ease;
}
.trending-item:hover {
    transform: translateX(4px);
}

/* ============================== */
/* FILTER TAB ENHANCED            */
/* ============================== */
.filter-tab {
    position: relative;
    overflow: hidden;
}
.filter-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}
.filter-tab:hover::after,
.filter-tab.active::after {
    width: 60%;
}

/* ============================== */
/* CARD BODY LINK HOVER           */
/* ============================== */
.question-title a {
    transition: color 0.2s ease;
}
.question-title a:hover {
    color: var(--primary);
}

/* ============================== */
/* SCROLL-REVEAL QUESTION CARDS   */
/* ============================== */
.question-card.scroll-reveal-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.4,0,.2,1);
}
.question-card.scroll-reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================== */
/* HEADER SEARCH FOCUS GLOW       */
/* ============================== */
.search-input {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.search-input:focus {
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
    border-color: var(--primary);
}

/* ============================== */
/* SIDEBAR NAV HOVER SLIDE        */
/* ============================== */
.sidebar .nav-item {
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.sidebar .nav-item:hover {
    transform: translateX(4px);
}

/* ============================== */
/* MOBILE BOTTOM NAV BOUNCE       */
/* ============================== */
@keyframes bottomNavBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.3) translateY(-3px); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ============================== */
/* PROFILE HEADER ANIMASYON       */
/* ============================== */
.profile-header {
    animation: profileHeaderIn 0.5s ease forwards;
}

@keyframes profileHeaderIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================== */
/* STATS COUNTER PULSE            */
/* ============================== */
.stat-value {
    transition: transform 0.3s ease, color 0.3s ease;
}
.stat-value:hover {
    transform: scale(1.08);
    color: var(--primary);
}

/* ============================== */
/* SHARE BTN SPIN ON CLICK        */
/* ============================== */
.share-btn {
    transition: transform 0.25s ease;
}
.share-btn:active {
    transform: rotate(15deg) scale(0.9);
}

/* ============================== */
/* LOADING SKELETON SHIMMER       */
/* ============================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================== */
/* POST MENU (Edit/Delete)        */
/* ============================== */
.post-menu {
    position: relative;
    margin-left: auto;
}

.post-menu-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: all 0.15s;
}

.post-menu-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.post-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    z-index: 100;
    overflow: hidden;
    animation: scaleIn 0.15s ease;
}

.post-menu-dropdown.show {
    display: block;
}

.post-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    text-decoration: none;
}

.post-menu-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Edit Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.2s;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

/* ============================== */
/* NEW POSTS NOTIFICATION BAR     */
/* ============================== */
.new-posts-bar {
    margin-bottom: 12px;
    animation: slideDown 0.3s ease;
}

.new-posts-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #10b981, #06b6d4, #8b5cf6, #10b981);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.new-posts-bar-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    animation: gradientShift 1.5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.new-posts-bar-inner i {
    animation: bounceUp 1s ease infinite;
}

@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Kayit Tebrik Popup ===== */
.welcome-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.welcome-popup-overlay.show {
    opacity: 1;
}

.welcome-popup-overlay.closing {
    opacity: 0;
}

.welcome-popup-overlay.closing .welcome-popup {
    transform: scale(0.85) translateY(30px);
    opacity: 0;
}

.welcome-popup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: scale(0.7) translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.welcome-popup-overlay.show .welcome-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.welcome-confetti {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.welcome-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: welcomeBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.welcome-icon i {
    font-size: 1.8rem;
    color: white;
}

.welcome-emoji-burst {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.welcome-emoji-burst span {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    animation: emojiBurst 1.2s ease-out 0.6s both;
}

.welcome-emoji-burst span:nth-child(1) { top: 0; left: 50%; animation-delay: 0.6s; }
.welcome-emoji-burst span:nth-child(2) { top: 20%; right: 0; animation-delay: 0.75s; }
.welcome-emoji-burst span:nth-child(3) { bottom: 0; left: 50%; animation-delay: 0.9s; }
.welcome-emoji-burst span:nth-child(4) { top: 20%; left: 0; animation-delay: 1.05s; }
.welcome-emoji-burst span:nth-child(5) { top: 50%; right: -5px; animation-delay: 1.2s; }

@keyframes emojiBurst {
    0% { opacity: 0; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.2) translate(var(--tx, 5px), var(--ty, -10px)); }
    100% { opacity: 0; transform: scale(0.8) translate(var(--tx, 10px), var(--ty, -20px)); }
}

.welcome-emoji-burst span:nth-child(1) { --tx: 0px; --ty: -18px; }
.welcome-emoji-burst span:nth-child(2) { --tx: 16px; --ty: -10px; }
.welcome-emoji-burst span:nth-child(3) { --tx: 0px; --ty: 18px; }
.welcome-emoji-burst span:nth-child(4) { --tx: -16px; --ty: -10px; }
.welcome-emoji-burst span:nth-child(5) { --tx: 18px; --ty: 5px; }

@keyframes welcomeBounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-username {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.welcome-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.welcome-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===== Paylaş Popup ===== */
.share-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-popup-overlay.show {
    opacity: 1;
}

.share-popup-overlay.closing {
    opacity: 0;
}

.share-popup-overlay.closing .share-popup {
    transform: translateY(100%);
}

.share-popup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 28px;
    max-width: 420px;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-popup-overlay.show .share-popup {
    transform: translateY(0);
}

.share-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.share-popup-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.share-popup-header h4 i {
    color: var(--primary);
}

.share-popup-close {
    background: var(--bg-tertiary);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.share-popup-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.share-popup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.share-option:hover {
    transform: translateY(-2px);
    border-color: transparent;
}

.share-option i {
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.share-twitter i { background: #000; }
.share-twitter:hover { background: #0002; border-color: #0003; }

.share-facebook i { background: #1877f2; }
.share-facebook:hover { background: #1877f220; border-color: #1877f240; }

.share-whatsapp i { background: #25d366; }
.share-whatsapp:hover { background: #25d36620; border-color: #25d36640; }

.share-telegram i { background: #0088cc; }
.share-telegram:hover { background: #0088cc20; border-color: #0088cc40; }

.share-linkedin i { background: #0a66c2; }
.share-linkedin:hover { background: #0a66c220; border-color: #0a66c240; }

.share-copy i { background: var(--primary); }
.share-copy:hover { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.3); }

/* Desktop: popup ortada */
@media (min-width: 768px) {
    .share-popup-overlay {
        align-items: center;
    }
    .share-popup {
        border-radius: 20px;
        max-width: 380px;
    }
    .share-popup-overlay.closing .share-popup {
        transform: scale(0.9);
        opacity: 0;
    }
    .share-popup-overlay.show .share-popup {
        transform: scale(1);
    }
    .share-popup {
        transform: scale(0.85);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .share-popup-overlay.show .share-popup {
        transform: scale(1);
        opacity: 1;
    }
}

/* Report Modal */
.report-reason-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.report-reason-option:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
}
.report-reason-option input[type="radio"] {
    accent-color: var(--primary);
}
.report-reason-option:has(input:checked) {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    color: var(--text-primary);
}

/* Trend Gradient Text */
.trending-gradient-text {
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* Devamini oku linki */
.read-more-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
}
.read-more-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}
.read-more-link::after {
    content: ' \2192';
    font-size: 0.75rem;
}

/* YouTube Embed */
.youtube-embed {
    position: relative;
    width: 100%;
    margin: 12px 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Kullanici Sorulari - Cevaplanmis Kartlar */
.answered-question-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 14px;
}

.uq-question {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.uq-from {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.uq-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.uq-user:hover {
    color: var(--primary);
}

.uq-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.uq-anon {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.uq-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.uq-text {
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.uq-answer {
    position: relative;
}

.uq-answer-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uq-answer-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

/* Rank Up Kutlama Popup */
.rankup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: rankupFadeIn 0.4s ease;
}

.rankup-overlay.rankup-closing {
    animation: rankupFadeOut 0.4s ease forwards;
}

.rankup-overlay.rankup-closing .rankup-popup {
    animation: rankupPopOut 0.4s ease forwards;
}

.rankup-popup {
    position: relative;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    animation: rankupPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 0 60px rgba(var(--primary-rgb, 99, 102, 241), 0.4), 0 0 120px rgba(var(--primary-rgb, 99, 102, 241), 0.2);
}

.rankup-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 255, 127, 0.3) 0%, transparent 50%);
    animation: rankupConfetti 2s ease infinite;
    pointer-events: none;
}

.rankup-content {
    position: relative;
    z-index: 1;
}

.rankup-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.rankup-star {
    position: absolute;
    font-size: 1.5rem;
    color: gold;
    animation: rankupStarFloat 3s ease-in-out infinite;
    opacity: 0.7;
}

.rankup-star.star-1 { top: 10%; left: 10%; animation-delay: 0s; }
.rankup-star.star-2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.rankup-star.star-3 { bottom: 30%; left: 20%; animation-delay: 1s; }
.rankup-star.star-4 { bottom: 15%; right: 10%; animation-delay: 1.5s; }
.rankup-star.star-5 { top: 50%; left: 5%; animation-delay: 2s; }

.rankup-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: rankupEmojiBounce 1s ease infinite;
}

.rankup-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(var(--primary-rgb, 99, 102, 241), 0.5);
    animation: rankupTitlePulse 2s ease infinite;
}

.rankup-rank-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.rankup-level {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.rankup-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 10px;
}

.rankup-btn {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    animation: rankupBtnPulse 1.5s ease infinite;
}

/* Rank Up Animasyonlar */
@keyframes rankupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rankupFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes rankupPopIn {
    0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
    50% { transform: scale(1.1) rotate(3deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes rankupPopOut {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.5) translateY(-50px); opacity: 0; }
}

@keyframes rankupConfetti {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes rankupStarFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-15px) rotate(180deg); opacity: 1; }
}

@keyframes rankupEmojiBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

@keyframes rankupTitlePulse {
    0%, 100% { text-shadow: 0 0 20px rgba(var(--primary-rgb, 99, 102, 241), 0.5); }
    50% { text-shadow: 0 0 40px rgba(var(--primary-rgb, 99, 102, 241), 0.8), 0 0 60px rgba(var(--primary-rgb, 99, 102, 241), 0.4); }
}

@keyframes rankupBtnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 99, 102, 241), 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb, 99, 102, 241), 0); }
}

@keyframes notifPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.5); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Profil Tablari */
.profile-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.profile-tab {
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-tab:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.profile-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.profile-tab .tab-count {
    font-size: 0.75rem;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.profile-tab.active .tab-count {
    background: var(--primary);
    color: white;
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
    animation: profileTabFade 0.3s ease;
}

@keyframes profileTabFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Takipci/Takip Popup */
.stat-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.stat-clickable:hover {
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    transform: scale(1.05);
}

.stat-clickable:hover .stat-value {
    color: var(--primary);
}

.follow-popup-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s ease;
}

.follow-popup-user:hover {
    background: var(--bg-tertiary);
}

.follow-popup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.follow-popup-info {
    flex: 1;
    min-width: 0;
}

.follow-popup-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gunun Etiketi */
.daily-tag-card {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 99, 102, 241), 0.05), rgba(var(--secondary-rgb, 168, 85, 247), 0.05));
}

.daily-tag-card .panel-title {
    color: var(--primary);
    font-size: 0.85rem;
}

.daily-tag-link {
    display: block;
    text-decoration: none;
    padding: 4px 0 8px;
    transition: transform 0.2s ease;
}

.daily-tag-link:hover {
    transform: scale(1.02);
}

.daily-tag-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb, 99, 102, 241), 0.3);
}

.daily-tag-hash {
    font-size: 0.95rem;
    margin-right: 2px;
    opacity: 0.8;
}

.daily-tag-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 8px;
    line-height: 1.4;
}

.daily-tag-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.daily-tag-questions {
    margin-top: 14px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.daily-tag-questions-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.daily-tag-questions-title i {
    color: #ef4444;
    font-size: 0.8rem;
}

.daily-tag-questions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.daily-tag-questions-list li {
    padding: 8px 10px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    transition: background 0.15s;
}

.daily-tag-questions-list li:hover {
    background: var(--bg-hover);
}

.daily-tag-questions-list a {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.daily-tag-questions-list a:hover {
    color: var(--primary);
}

.daily-tag-q-meta {
    display: flex;
    gap: 10px;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.daily-tag-q-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Diğer aktif etiketler */
.daily-tag-others {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.daily-tag-other-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.15s;
    font-size: 0.8rem;
}

.daily-tag-other-item:hover {
    background: var(--bg-tertiary);
}

.daily-tag-other-hash {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.daily-tag-other-text {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.daily-tag-other-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* ========================================
   PAYLAŞIM TÜRÜ SEÇİM MODAL
   ======================================== */
.ask-type-modal {
    max-width: 420px;
}

.ask-type-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ask-type-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ask-type-card:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ask-type-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ask-type-info {
    flex: 1;
}

.ask-type-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ask-type-info p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.ask-type-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.ask-type-card:hover .ask-type-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* ========================================
   ANKET MODAL
   ======================================== */
.poll-modal {
    max-width: 560px;
}

.poll-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.poll-option-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.poll-option-row input {
    flex: 1;
}

.poll-option-remove {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}

.poll-option-remove:hover {
    background: #ef4444;
    color: white;
}

.btn-add-poll-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-poll-option:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.poll-settings-group {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 16px;
}

/* ========================================
   ANKET GÖRÜNÜMÜ (KARTLARDA)
   ======================================== */
.poll-container {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 12px 0;
}

.poll-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #10b981;
}

.poll-header i {
    font-size: 1rem;
}

.poll-time-left {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Oy verme butonları (sonuç gösterilmeden önce) */
.poll-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.poll-option-btn:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    transform: translateY(-1px);
}

.poll-option-multi {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.2s;
}

.poll-option-multi:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.poll-option-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #10b981;
    cursor: pointer;
}

/* Sonuçlar */
.poll-option-result {
    position: relative;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.poll-option-voted {
    border-color: #10b981;
}

.poll-option-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    transition: width 0.5s ease;
}

.poll-option-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.poll-option-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    flex: 1;
}

.poll-option-check {
    color: #10b981;
    font-size: 0.9rem;
}

.poll-option-percent {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 40px;
    text-align: right;
}

.poll-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   DOĞRULAMA ROZETİ
   ======================================== */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #10b981;
    font-size: 0.85rem;
    margin-left: 4px;
}

.verified-badge i {
    filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.3));
}

/* Mobil uyum */
@media (max-width: 768px) {
    .ask-type-modal {
        max-width: 100%;
        margin: 0 12px;
    }
    
    .poll-modal {
        max-width: 100%;
        margin: 0 12px;
    }
    
    .poll-container {
        padding: 12px;
    }
    
    .poll-option-btn,
    .poll-option-multi {
        padding: 10px 14px;
        font-size: 0.82rem;
    }
}
