/* PREMIUM DARK & KIRMIZI TEMA - TÜM SORUNLAR ÇÖZÜLDÜ */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --accent-primary: #dc2626;
    --accent-secondary: #b91c1c;
    --accent-glow: rgba(220, 38, 38, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border-primary: #262626;
    --border-secondary: #404040;
    --success: #22c55e;
    --warning: #eab308;
    --gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-hover: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* PREMIUM HEADER - MOBİL UYUMLU */
.premium-header {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 55px; /* Daha ince */
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo-badge {
    background: var(--gradient);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* HEADER ARAMA */
.header-search {
    flex: 0 1 350px;
    margin: 0 20px;
}

.header-search-form {
    display: flex;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header-search-form:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.header-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 10px 14px;
    outline: none;
    font-size: 13px;
}

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

.header-search-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 13px;
}

.header-search-btn:hover {
    background: var(--gradient-hover);
}

/* NAVIGATION */
.nav-main {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-premium {
    background: var(--gradient);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* MOBILE NAV TOGGLE - GÜNCELLENDİ */
.mobile-nav-toggle {
    display: none;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    margin: 12px auto;
    width: 160px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.mobile-nav-toggle:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

/* MAIN LAYOUT */
.main-content {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 0;
    min-height: calc(100vh - 60px);
    max-width: 1400px;
    margin: 0 auto;
}

/* SOL SIDEBAR */
.content-left {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-primary);
    padding: 0;
}

.sidebar-nav {
    position: sticky;
    top: 80px;
    padding: 20px 0;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 25px;
}

.nav-section-title {
    padding: 10px 20px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 6px;
}

.nav-section ul {
    list-style: none;
}

.nav-section li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-section li a:hover,
.nav-section li a.active {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-left-color: var(--accent-primary);
}

.category-badge {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 3px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

/* SIDEBAR ARAMA */
.sidebar-search {
    padding: 0 20px;
    margin-bottom: 20px;
}

.sidebar-search-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-search-input,
.sidebar-search-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 10px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.sidebar-search-input:focus,
.sidebar-search-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.sidebar-search-btn {
    background: var(--gradient);
    border: none;
    border-radius: 6px;
    color: white;
    padding: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 13px;
}

.sidebar-search-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-1px);
}

/* ANA İÇERİK */
.content-center {
    background: var(--bg-primary);
    padding: 0;
}

/* HERO BANNER - DAHA GÜZEL */
.hero-banner {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--accent-primary);
    margin: 0;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 1;
}

.hero-banner > * {
    position: relative;
    z-index: 2;
}

.hero-banner h2 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-banner p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-banner .btn-premium {
    display: inline-flex;
    margin: 0 auto;
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ARAMA SONUÇLARI */
.search-results-header {
    background: var(--bg-secondary);
    padding: 18px 30px;
    border-bottom: 1px solid var(--border-primary);
}

.search-results-header h3 {
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
}

.search-results-header a {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-results-header a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* KATEGORİ FİLTRELERİ */
.category-filters {
    display: flex;
    gap: 6px;
    padding: 15px 30px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
    flex-wrap: wrap;
}

.category-filter-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-filter-btn:hover,
.category-filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

/* İTİRAF LİSTESİ */
.confessions-list {
    padding: 0;
}

.confessions-list-header {
    padding: 15px 30px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confessions-list-header h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.confession-count {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

/* İTİRAF KARTLARI - TEMA İLE TAM UYUMLU */
.confession-entry {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    background: var(--bg-primary);
    position: relative;
    margin: 0;
    border-left: 3px solid transparent;
}

.confession-entry:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border-left-color: var(--accent-primary);
}

.confession-entry.pinned {
    border-left: 4px solid var(--warning);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.05) 0%, rgba(234, 179, 8, 0.02) 100%);
}

.confession-entry:not(:last-child) {
    margin-bottom: 1px;
}

.pinned-badge {
    position: absolute;
    top: 15px;
    right: 30px;
    background: var(--warning);
    color: #000;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(234, 179, 8, 0.3);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

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

.category-tag {
    background: var(--gradient);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid var(--accent-primary);
}

.entry-date {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

/* SABİTLEME BUTONLARI */
.pin-form {
    display: inline;
}

.pin-btn {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 9px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pin-btn.unpin {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.pin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* İTİRAF İÇERİĞİ - DAHA BELİRGİN */
.confession-content-link {
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.entry-content {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
    padding: 8px 0;
    background: var(--bg-tertiary);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid var(--accent-primary);
}

.confession-content-link:hover .entry-content {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

.entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-primary);
}

.entry-stats {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.entry-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-primary);
}

.entry-actions {
    display: flex;
    gap: 6px;
}

.btn {
    background: var(--gradient);
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--accent-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px var(--accent-glow);
}

.btn:hover {
    background: var(--gradient-hover);
    color: white;
    border-color: var(--accent-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* SAYFALAMA */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
}

.page-info {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 12px;
}

/* SAĞ SIDEBAR - GÖRÜNÜR YAPILDI */
.sidebar {
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-primary);
    padding: 0;
    display: block !important; /* Görünür yap */
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
    padding: 20px 0;
}

.sidebar-widget {
    background: var(--bg-primary);
    margin: 0 15px 15px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.sidebar-widget h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* İSTATİSTİKLER */
.stats p {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-primary);
    font-weight: 600;
}

.stats p:last-child {
    border-bottom: none;
}

.stats strong {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 11px;
}

.stats p span {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 13px;
}

/* LİDERLİK TABLOSU - GÖRÜNÜR YAPILDI */
.top-users ol {
    list-style: none;
    counter-reset: item;
}

.top-users li {
    counter-increment: item;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 5px;
    background: var(--bg-secondary);
    border-radius: 5px;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-primary);
}

.top-users li:hover {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
    border-color: var(--accent-primary);
}

.top-users li::before {
    content: counter(item);
    font-weight: 800;
    color: white;
    background: var(--gradient);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 10px;
    margin-right: 8px;
}

.top-users li strong {
    flex: 1;
    color: var(--text-primary);
    font-weight: 700;
}

.points {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 11px;
}

/* TREND İTİRAFLAR - GÖRÜNÜR YAPILDI */
.popular-confessions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popular-item {
    display: block;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    border: 1px solid var(--border-primary);
}

.popular-item:hover {
    background: var(--bg-tertiary);
    border-left-color: var(--accent-primary);
    transform: translateX(3px);
}

.popular-content {
    color: var(--text-primary);
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
}

.popular-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    padding-top: 5px;
    border-top: 1px solid var(--border-primary);
    color: var(--text-muted);
    font-weight: 600;
}

/* NO DATA MESSAGE */
.no-data-message {
    text-align: center;
    padding: 40px 30px;
    color: var(--text-muted);
}

.no-data-message p {
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* RESPONSIVE TASARIM - MOBİL DÜZELTMELERİ */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 240px 1fr 280px;
    }
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .content-left {
        display: none;
        border-right: none;
        border-bottom: 1px solid var(--border-primary);
    }
    
    .content-left.active {
        display: block;
    }
    
    .sidebar {
        display: none;
        border-left: none;
        border-top: 1px solid var(--border-primary);
    }
    
    .sidebar.active {
        display: block;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .header-search {
        display: none;
    }
    
    .nav-main {
        margin-right: 0;
    }
    
    .header-container {
        height: auto;
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo-section {
        order: 1;
    }
    
    .header-actions {
        order: 2;
    }
    
    .nav-main {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-badge {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .btn-premium {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .confession-entry {
        padding: 15px 20px;
    }
    
    .entry-header {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    
    .entry-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .entry-stats {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .category-filters {
        padding: 12px 20px;
    }
    
    .hero-banner {
        padding: 20px;
    }
    
    .hero-banner h2 {
        font-size: 20px;
    }
    
    .confessions-list-header {
        padding: 12px 20px;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    
    .pinned-badge {
        position: static;
        margin-bottom: 6px;
        display: inline-block;
    }
    
    .mobile-nav-toggle {
        width: 140px;
        padding: 8px 12px;
        font-size: 12px;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .nav-main {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }
    
    .btn-premium {
        width: 100%;
        justify-content: center;
    }
    
    .category-filters {
        justify-content: center;
        padding: 10px 15px;
    }
    
    .category-filter-btn {
        flex: 1;
        min-width: 100px;
        text-align: center;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .hero-banner h2 {
        font-size: 18px;
    }
    
    .hero-banner p {
        font-size: 13px;
    }
    
    .confession-entry {
        padding: 12px 15px;
    }
    
    .entry-content {
        font-size: 13px;
        padding: 10px;
    }
}

/* BİLDİRİM SLIDER - ANİMASYONLU TEK BİLDİRİM */
.notifications-slider {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.notification-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.notification-item.active {
    transform: translateX(0);
    opacity: 1;
}

.notification-item.hiding {
    transform: translateX(100%);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.notification-text span {
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
}

.notification-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.notification-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-1px);
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Type-based colors */
.notification-item[data-type="bonus"] {
    border-left: 4px solid #ffd700;
}

.notification-item[data-type="promo"] {
    border-left: 4px solid #22c55e;
}

.notification-item[data-type="success"] {
    border-left: 4px solid #10b981;
}

.notification-item[data-type="warning"] {
    border-left: 4px solid #f59e0b;
}

.notification-item[data-type="info"] {
    border-left: 4px solid #3b82f6;
}

/* Progress bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 5s linear;
}

.notification-item.active .notification-progress {
    transform: scaleX(1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notifications-slider {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification-item {
        padding: 12px;
    }
    
    .notification-content {
        gap: 10px;
    }
    
    .notification-icon {
        font-size: 20px;
    }
    
    .notification-text strong {
        font-size: 13px;
    }
    
    .notification-text span {
        font-size: 11px;
    }
}
/* Koyu Tema Widgetlar */
.apple-widgets-section {
    padding: 20px;
    background: transparent !important;
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.widget-card {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 
        0 8px 32px rgba(255, 0, 0, 0.1),
        0 2px 8px rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 220px; /* Sabit yükseklik */
    display: flex;
    flex-direction: column;
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(255, 0, 0, 0.15),
        0 4px 12px rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.4);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-icon {
    font-size: 20px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.widget-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hava Durumu - Koyu Tema */
.weather-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.weather-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(255,0,0,0.3));
}

.temperature {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #f87171, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.detail-item {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.label {
    display: block;
    font-size: 11px;
    color: #a3a3a3;
    margin-bottom: 2px;
    font-weight: 500;
}

.value {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.weather-desc {
    text-align: center;
    font-size: 12px;
    color: #a3a3a3;
    margin: 0;
    text-transform: capitalize;
}

/* Namaz Vakitleri - Koyu Tema */
.prayer-times {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.prayer-name {
    font-size: 13px;
    color: #a3a3a3;
    font-weight: 500;
}

.prayer-time {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #f87171, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Döviz - Koyu Tema */
.currency-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.currency-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 0, 0, 0.3);
}

.currency-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.currency-value {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #f87171, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Eczane - Koyu Tema */
.pharmacy-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.1);
    height: 100%;
}

.pharmacy-frame iframe {
    background: #1a1a1a;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .widgets-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .widget-card {
        height: auto;
        min-height: 200px;
        padding: 16px;
    }
    
    .weather-details {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .temperature {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .apple-widgets-section {
        padding: 16px 12px;
    }
    
    .weather-main {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .currency-item {
        padding: 10px;
    }
    
    .currency-value {
        font-size: 14px;
    }
}

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

.widget-card {
    animation: fadeInUp 0.5s ease-out;
}

/* Eczane Iframe'i için koyu tema */
.pharmacy-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.1);
    height: 100%;
    background: #1a1a1a;
}

/* Özel Eczane Listesi Tasarımı */
.pharmacy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 160px;
    overflow-y: auto;
}

.pharmacy-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.pharmacy-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.4);
}

.pharmacy-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.pharmacy-phone {
    font-size: 13px;
    color: #f87171;
    font-weight: 500;
    margin-bottom: 2px;
}

.pharmacy-address {
    font-size: 12px;
    color: #a3a3a3;
}

/* Iframe için koyu tema fix */
.dark-iframe {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 8px;
}

.dark-iframe iframe {
    filter: invert(0.9) hue-rotate(180deg) brightness(0.85) contrast(1.1);
}

/* HEADER OVERRIDES - Mevcut header stillerini ezer */
.premium-header {
    all: unset !important;
}

.header-container {
    all: unset !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .premium-header {
        position: relative !important;
    }
    
    .header-container {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .logo-section {
        order: 1 !important;
    }
    
    .header-actions {
        order: 2 !important;
        margin-left: auto !important;
    }
    
    .mobile-menu-toggle {
        order: 3 !important;
    }
    
    .mobile-nav {
        top: 70px !important;
    }
}

.widget-card:nth-child(1) { animation-delay: 0.1s; }
.widget-card:nth-child(2) { animation-delay: 0.2s; }
.widget-card:nth-child(3) { animation-delay: 0.3s; }
.widget-card:nth-child(4) { animation-delay: 0.4s; }

/* YENİ: Mobil menü performans iyileştirmeleri */
.mobile-menu-toggle {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* YENİ: Bildirim slider düzeltmesi */
#notificationSlider {
    z-index: 9999 !important;
}

/* YENİ: Liderlik tablosu düzeltmeleri */
.leaderboard-item {
    display: grid !important;
    grid-template-columns: auto 40px 1fr;
    gap: 10px;
    align-items: center;
}

.leaderboard-info {
    grid-column: 3;
}

.leaderboard-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

/* YENİ: Mobil için tarih ve kategori satırı optimizasyonu */
@media (max-width: 768px) {
    .elite-post-meta-index {
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 4px;
    }
    
    .elite-category-badge-index {
        font-size: 10px;
        padding: 4px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
    
    .elite-post-content-index {
        max-height: 110px;
    }
}