/* ========================================
   dunyahaberi.com - KURUMSAL TEMA
   Renk Paleti: #00d2d3 / #01a3a4 / #576574 / #8395a7 / #222f3e
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --teal-bright: #00d2d3;
    --teal-dark: #01a3a4;
    --navy: #222f3e;
    --slate: #576574;
    --silver: #8395a7;

    /* UI Colors */
    --bg: #eef1f4;
    --surface: #ffffff;
    --surface-alt: #f7f9fb;
    --border: #dce3ea;
    --border-strong: #c4cdd6;
    --text-primary: #1a2332;
    --text-secondary: #576574;
    --text-muted: #8395a7;
    --teal-hover: #00b8b9;
    --teal-light: #e8fafa;

    /* Admin & General */
    --accent: #01a3a4;
    --accent-hover: #008f90;
    --accent-light: #e8fafa;
    --bg-primary: #f4f7f9;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f0f4f7;
    --text-muted-admin: #8395a7;
    --border-color: #dce3ea;
    --radius: 6px;
    --shadow-sm: 0 1px 3px rgba(34,47,62,0.06);
    --shadow-md: 0 4px 12px rgba(34,47,62,0.10);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Fonts */
    --font-ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, serif;

    /* Reddit compat refs */
    --reddit-bg: var(--bg);
    --reddit-nav: var(--surface);
    --reddit-main: var(--surface);
    --reddit-orange: var(--teal-dark);
    --reddit-orange-hover: var(--teal-hover);
    --reddit-blue: var(--teal-bright);
    --reddit-text: var(--text-primary);
    --reddit-meta: var(--text-muted);
    --reddit-border: var(--border);
    --reddit-hover: var(--surface-alt);
    --reddit-green: #26de81;
}

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

body.reddit-theme {
    font-family: var(--font-ui);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ======================================== */
/* ---- Header ---- */
/* ======================================== */
.reddit-header {
    background: var(--navy);
    border-bottom: 2px solid var(--teal-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    box-shadow: 0 2px 12px rgba(34,47,62,0.25);
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08); /* Yumuşatılmış modern gölge */
    border: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-ui);
    letter-spacing: -0.3px;
    white-space: nowrap;
    margin-right: auto;
    flex-shrink: 0;
}

.reddit-logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-logo-img {
    width: 271px;
    height: 69px;
    object-fit: contain;
    object-position: left center;
    display: block;
    flex-shrink: 0;
}

/* Search bar aligned with right sidebar width */
.search-bar {
    width: 312px;
    flex-shrink: 0;
    margin-left: 20px;
}

.search-bar input {
    width: 100%;
    background: rgba(255,255,255,0.10);
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-family: var(--font-ui);
    color: #ffffff;
    transition: all 0.2s;
    outline: none;
}

.search-bar input::placeholder {
    color: rgba(255,255,255,0.45);
}

.search-bar input:focus {
    background: rgba(255,255,255,0.16);
    border-color: var(--teal-bright);
    box-shadow: 0 0 0 3px rgba(0,210,211,0.18);
}

/* Mobile search – hidden on desktop */
.mobile-search-btn { display: none; }
.mobile-search-overlay { display: none; }

.header-actions {
    display: none; /* Giriş Yap kaldırıldı */
}

/* ======================================== */
/* ---- Son Dakika Şeridi ---- */
/* ======================================== */
.son-dakika-strip {
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
}

.son-dakika-strip::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-bright) 20%, var(--teal-bright) 80%, transparent);
    opacity: 0.35;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.son-dakika-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    height: 38px;
    overflow: hidden;
}
@media (min-width: 768px) {
    .son-dakika-inner {
        padding: 0 20px;
    }
}

.son-dakika-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-dark);
    color: #ffffff;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 28px 0 14px;
    width: 140px;
    flex-shrink: 0;
    white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    z-index: 2;
}

.son-dakika-label-icon {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: livePulse 1.5s infinite ease-out;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.son-dakika-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.son-dakika-slide {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.45s ease, transform 0.45s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.son-dakika-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.son-dakika-slide.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.son-dakika-slide::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--teal-bright);
    border-radius: 50%;
    flex-shrink: 0;
}

.son-dakika-slide a {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-family: var(--font-ui);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.son-dakika-slide a:hover {
    color: var(--teal-bright);
}

.son-dakika-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    flex-shrink: 0;
}

.son-dakika-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--silver);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.son-dakika-dot.active {
    background: var(--teal-bright);
    transform: scale(1.3);
}

/* ======================================== */
/* ---- Kripto Fiyat Şeridi ---- */
/* ======================================== */
.kripto-strip {
    background: #1a2332;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.kripto-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    height: 38px;
    overflow: hidden;
}
@media (min-width: 768px) {
    .kripto-inner {
        padding: 0 20px;
    }
}

.kripto-label {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f7b731;
    color: #1a2332;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 28px 0 14px;
    width: 140px;
    white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    flex-shrink: 0;
    z-index: 2;
}

.kripto-label-icon {
    font-size: 1rem;
    font-weight: 900;
}

/* Marquee container */
.kripto-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0, black 2%, black 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 2%, black 98%, transparent 100%);
}

.kripto-ticker-track {
    display: flex;
    gap: 0;
    animation: kriptoMarquee 60s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.kripto-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes kriptoMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.kripto-coin-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.kripto-coin-rank {
    color: rgba(255,255,255,0.3);
    font-size: 0.68rem;
    font-weight: 600;
    min-width: 18px;
    text-align: right;
}

.kripto-coin-name {
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.kripto-coin-symbol {
    color: rgba(255,255,255,0.4);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.kripto-coin-price {
    color: #f7b731;
    font-weight: 700;
    font-size: 0.82rem;
}

.kripto-coin-change {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}

.kripto-coin-change.positive {
    color: #26de81;
    background: rgba(38,222,129,0.12);
}

.kripto-coin-change.negative {
    color: #ff6b6b;
    background: rgba(255,107,107,0.12);
}

.kripto-loading {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    font-family: var(--font-ui);
    padding: 0 20px;
}

.kripto-counter {
    display: none; /* Noktalar kaldırıldı */
}

/* Eski trend container (uyumluluk) */
.trend-container { display: none; }


/* ======================================== */
/* ---- Layout ---- */
/* ======================================== */
.reddit-layout {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 20px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.reddit-feed {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reddit-sidebar {
    width: 312px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ======================================== */
/* ---- Post Card ---- */
/* ======================================== */
.reddit-post {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    cursor: pointer;
    margin-bottom: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.reddit-post:hover {
    border-color: var(--teal-bright);
    box-shadow: 0 4px 16px rgba(0,210,211,0.10);
    transform: translateY(-1px);
}

.detail-post {
    cursor: default;
    margin-bottom: 0;
}
.detail-post:hover {
    border-color: var(--border);
    box-shadow: none;
    transform: none;
}

.post-sidebar {
    width: 46px;
    background: var(--navy);
    border-radius: 5px 0 0 5px;
    padding: 12px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.source-sidebar {
    background: var(--navy);
}

.source-tag-vertical {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.12em;
    transform: rotate(180deg);
    white-space: nowrap;
    font-family: var(--font-ui);
}

.post-main {
    flex: 1;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.post-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 7px;
    font-family: var(--font-ui);
    font-weight: 500;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: var(--font-serif);
}

.detail-title {
    font-size: 1.7rem;
    font-weight: 700;
    font-family: var(--font-serif);
    line-height: 1.3;
    color: var(--navy);
}

.post-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #e0e8ef;
}

.post-image img {
    width: 100%;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.detail-image img {
    max-height: 520px;
    object-fit: contain;
    background: #111;
}

.post-text-content {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 16px;
    font-family: var(--font-serif);
    color: var(--text-secondary);
    text-align: justify;
}

.post-text-content p {
    margin-bottom: 16px;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* ======================================== */
/* ---- Social Share ---- */
/* ======================================== */
.share-options {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}
.share-title {
    display: block;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--slate);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-ui);
}
.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    font-family: var(--font-ui);
    transition: opacity 0.2s, transform 0.15s;
}
.share-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #0f1419; }
.share-btn.whatsapp { background: #25D366; }

/* ======================================== */
/* ---- Emoji Reactions ---- */
/* ======================================== */
.emoji-reactions {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.reaction-title {
    display: block;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    font-family: var(--font-ui);
}

.reactions-grid {
    display: flex;
    gap: 6px;
    justify-content: space-around;
    width: 100%;
}

.reaction-btn {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    transition: border-color 0.2s, background 0.2s;
}

.reaction-btn:hover {
    border-color: var(--teal-bright);
    background: var(--teal-light);
}

.reaction-btn.reacted {
    border-color: var(--teal-dark);
    background: var(--teal-light);
}

.reaction-btn .count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--slate);
    font-family: var(--font-ui);
}

/* ======================================== */
/* ---- Font Resizer ---- */
/* ======================================== */
.font-resizer-elegant {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 10px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.resizer-btn-minimal {
    background: none;
    border: none;
    color: var(--slate);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 12px;
    font-family: var(--font-ui);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.resizer-btn-minimal:hover {
    background: var(--teal-light);
    color: var(--teal-dark);
}

/* ======================================== */
/* ---- Widgets / Sidebar ---- */
/* ======================================== */
.widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.widget-header {
    background: var(--navy);
    color: rgba(255,255,255,0.9);
    padding: 12px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-ui);
    border-bottom: 2px solid var(--teal-dark);
}

.widget-content {
    padding: 16px;
}

.widget-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--slate);
    font-family: var(--font-ui);
    text-align: justify;
}

.community-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.community-stats > div {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-ui);
}
.community-stats strong {
    font-size: 1.05rem;
    color: var(--navy);
    font-family: var(--font-ui);
}

/* Live readers indicator */
.live-readers {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--slate);
}

.live-readers strong {
    color: var(--navy);
    font-size: 1rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #26de81;
    border-radius: 50%;
    flex-shrink: 0;
    animation: livePulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(38, 222, 129, 0.5);
}

@keyframes livePulse {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0   rgba(38,222,129,0.55); }
    50%  { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(38,222,129,0);    }
    100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(38,222,129,0);    }
}

.sidebar-footer {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 4px;
    font-family: var(--font-ui);
}

/* ======================================== */
/* ---- Disclaimer Page ---- */
/* ======================================== */
.disclaimer-page {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.disclaimer-header {
    background: var(--navy);
    padding: 36px 32px 28px;
    text-align: center;
    border-bottom: 3px solid var(--teal-dark);
}

.disclaimer-icon {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.disclaimer-header h1 {
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.disclaimer-subtitle {
    color: var(--silver);
    font-size: 0.88rem;
    font-family: var(--font-ui);
}

.disclaimer-body {
    padding: 32px;
}

.disclaimer-body p {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.disclaimer-contact {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--surface-alt);
    border-left: 4px solid var(--teal-dark);
    border-radius: 0 6px 6px 0;
}

.disclaimer-contact p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.contact-email {
    display: inline-block;
    color: var(--teal-dark);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.contact-email:hover {
    color: var(--teal-bright);
}

.disclaimer-back {
    padding: 16px 32px;
    border-top: 1px solid var(--border);
    background: var(--surface-alt);
}

.disclaimer-back a {
    color: var(--teal-dark);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
}

.disclaimer-back a:hover {
    color: var(--teal-bright);
}


/* ======================================== */
/* ---- Site Footer ---- */
/* ======================================== */
.site-footer {
    background: var(--navy);
    border-top: 2px solid var(--teal-dark);
    margin-top: 32px;
    padding: 20px 0;
}

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--silver);
}

.site-footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.site-footer-links a {
    color: var(--silver);
    font-weight: 500;
    transition: color 0.2s;
}

.site-footer-links a:hover {
    color: var(--teal-bright);
}

/* ======================================== */
/* ---- Buttons ---- */
/* ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--teal-bright), var(--teal-dark));
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    font-size: 0.88rem;
    transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--teal-dark);
    border: 1.5px solid var(--teal-dark);
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: var(--teal-light);
}

.full-width { width: 100%; }

/* ======================================== */
/* ---- Utilities ---- */
/* ======================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-family: var(--font-ui);
}

.scroll-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.88rem;
    font-family: var(--font-ui);
}

.loader-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid var(--border);
    border-top-color: var(--teal-bright);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ======================================== */
/* ---- Scroll to Top ---- */
/* ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: white;
    border: 1.5px solid var(--teal-bright);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* ======================================== */
/* ---- Piyasa & Hava Durumu Widget ---- */
/* ======================================== */
.piyasa-widget .widget-content {
    padding: 0;
    background: transparent;
    border: none;
}
.piyasa-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    padding: 12px;
}
.pw-header {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--slate);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pw-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pw-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.pw-title {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.85rem;
    font-family: var(--font-ui);
}
.pw-val-box {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pw-val {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.9rem;
}
.pw-change {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 45px;
    justify-content: center;
}
.pw-change.up { color: #059669; background: #d1fae5; }
.pw-change.down { color: #e11d48; background: #ffe4e6; }
.pw-change.neutral { color: #64748b; background: #f1f5f9; }

.pw-cities {
    display: flex;
    gap: 8px;
}
.pw-city {
    flex: 1;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.pw-city-icon { font-size: 1.4rem; }
.pw-city-info { display: flex; flex-direction: column; align-items: flex-start;}
.pw-city-name {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}
.pw-city-temp {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height:1;
    margin-top: 2px;
}

/* ======================================== */
/* ---- ADMIN PANEL ---- */
/* ======================================== */
.admin-login {
    max-width: 380px;
    margin: 80px auto;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.admin-login h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
    color: var(--navy);
    font-family: var(--font-ui);
}

.admin-login input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--bg-primary);
    color: var(--navy);
    margin-bottom: 16px;
    transition: border-color 0.2s;
    font-family: var(--font-ui);
}

.admin-login input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.admin-login button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-ui);
    transition: all 0.2s;
}

.admin-login button:hover {
    background: var(--accent-hover);
}

.admin-error {
    color: #dc3545;
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-family: var(--font-ui);
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
    flex-shrink: 0;
}

.admin-sidebar-logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.admin-sidebar-logo h2 {
    font-size: 1rem;
    color: var(--navy);
    font-family: var(--font-ui);
}

.admin-sidebar-logo p {
    color: var(--text-muted-admin);
    font-size: 0.7rem;
    font-family: var(--font-ui);
}

.admin-nav {
    display: flex;
    flex-direction: column;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-ui);
    transition: all 0.2s;
}

.admin-nav a:hover, .admin-nav a.active {
    background: var(--accent-light);
    color: var(--accent);
}

.nav-icon { font-size: 1.1rem; }

.admin-main {
    flex: 1;
    padding: 32px 40px;
    background: var(--bg-primary); /* Daha ferah bir çalışma alanı için padding artırıldı */
}

.admin-main h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--navy);
    font-family: var(--font-ui);
}

/* Admin Cards & Stats */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.stat-card h4 {
    color: var(--text-muted-admin);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-family: var(--font-ui);
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--font-ui);
}

/* Admin Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    font-family: var(--font-ui);
}

.admin-table th {
    background: var(--bg-primary);
    color: var(--text-muted-admin);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--slate);
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-hover); }

/* Admin Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-ui);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #c82333; }

.btn-success { background: #28a745; color: #fff; }
.btn-success:hover { background: #218838; }

.btn-sm { padding: 4px 10px; font-size: 0.78rem; }

/* Admin Forms */
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 6px;
    font-family: var(--font-ui);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--slate);
    font-size: 0.9rem;
    font-family: var(--font-ui);
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-light);
    background: #fff;
}

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

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-ui);
}

.badge-success { background: #28a745; color: #fff; }
.badge-warning { background: #ffc107; color: #212529; }
.badge-danger  { background: #dc3545; color: #fff; }

/* ========================================
   RESPONSIVE - MOBILE FIRST
   ======================================== */

/* Tablet & Medium */
@media (max-width: 960px) {
    .reddit-layout {
        flex-direction: column;
        padding: 0 14px;
        margin: 16px auto;
    }
    .reddit-sidebar { width: 100%; }
    .search-bar { width: 240px; }
    .son-dakika-inner { padding: 0; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header */
    .header-inner {
        padding: 0 14px;
        gap: 10px;
    }
    .site-logo-img { width: 180px; height: auto; }
    /* Masaüstü search barı gizle, ikon göster */
    .search-bar { display: none; }
    .mobile-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: rgba(255,255,255,0.10);
        border: 1.5px solid rgba(255,255,255,0.18);
        border-radius: 50%;
        color: rgba(255,255,255,0.85);
        font-size: 1.1rem;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s;
    }
    .mobile-search-btn:hover { background: rgba(255,255,255,0.18); }
    .mobile-search-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0;
        background: var(--navy);
        padding: 14px 16px;
        z-index: 200;
        gap: 10px;
        align-items: center;
        border-bottom: 2px solid var(--teal-dark);
    }
    .mobile-search-overlay.open { display: flex; }
    .mobile-search-overlay input {
        flex: 1;
        background: rgba(255,255,255,0.10);
        border: 1.5px solid rgba(255,255,255,0.2);
        border-radius: 24px;
        padding: 9px 18px;
        font-size: 0.95rem;
        font-family: var(--font-ui);
        color: #fff;
        outline: none;
    }
    .mobile-search-overlay input::placeholder { color: rgba(255,255,255,0.45); }
    .mobile-search-close {
        background: none;
        border: none;
        color: rgba(255,255,255,0.7);
        font-size: 1.4rem;
        cursor: pointer;
        padding: 0 4px;
        line-height: 1;
    }

    /* İki şerit aynı yükseklik ve label genişliği */
    .son-dakika-inner,
    .kripto-inner { height: 36px; }
    .son-dakika-label,
    .kripto-label {
        width: 110px;
        font-size: 0.58rem;
        padding: 0 24px 0 10px;
        letter-spacing: 0;
        clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    }
    .kripto-coin-item { padding: 0 14px; font-size: 0.74rem; }

    /* Layout */
    .reddit-layout {
        padding: 0 10px;
        margin: 10px auto;
        gap: 16px;
    }

    /* Post cards */
    .reddit-post {
        margin-bottom: 10px;
        border-radius: 4px;
    }
    .post-sidebar {
        width: 36px;
        padding: 10px 2px;
    }
    .source-tag-vertical {
        font-size: 0.55rem;
        letter-spacing: 0.08em;
    }
    .post-main { padding: 10px 12px; }
    .post-title { font-size: 1.1rem; line-height: 1.35; }
    .post-image img { max-height: 220px; }
    .detail-title { font-size: 1.3rem !important; }

    /* Admin */
    .admin-layout { flex-direction: column; }
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 10px;
    }
    .admin-nav a { white-space: nowrap; padding: 8px 14px; }

    /* Sidebar widget on mobile */
    .widget-content p { font-size: 0.82rem; }
    .emoji-reactions { padding: 14px; }
    .reaction-btn { font-size: 1.8rem; padding: 8px 4px; }
    .reactions-grid { gap: 3px; }

    /* Share buttons */
    .share-buttons { flex-direction: column; align-items: stretch; }
    .share-btn { justify-content: center; }

    /* Post text */
    .post-text-content { font-size: 0.98rem; line-height: 1.75; }
}

/* Small mobile */
@media (max-width: 480px) {
    /* Header */
    .header-inner { padding: 0 10px; }
    .logo { gap: 6px; }
    .site-logo-img { width: 150px; }

    /* Layout */
    .reddit-layout { padding: 0 8px; margin: 8px auto; gap: 12px; }

    /* İki şerit aynı yükseklik ve label genişliği (küçük mobil) */
    .son-dakika-label,
    .kripto-label {
        width: 95px;
        font-size: 0.52rem;
        padding: 0 20px 0 8px;
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    }
    .son-dakika-slide a { font-size: 0.8rem; }

    /* Post cards */
    .post-sidebar { width: 30px; }
    .source-tag-vertical { font-size: 0.5rem; }
    .post-title { font-size: 1rem; }
    .post-image img { max-height: 180px; }
    .post-meta { font-size: 0.7rem; }

    /* Article detail */
    .detail-title { font-size: 1.15rem !important; }
    .font-resizer-elegant { gap: 12px; }

    /* Scroll top */
    .scroll-top-btn { bottom: 16px; right: 16px; width: 38px; height: 38px; }

}
