/* =============================================
   fatmadesign.info - The Creative Lab
   Premium Dark Glassmorphism + Bento Grid
   ============================================= */

/* ---- CSS Custom Properties ---- */
:root {
    --bg-deep: #0A0A0B;
    --bg-surface: #111113;
    --glass-white: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --accent-violet: #8B5CF6;
    --accent-fuchsia: #D946EF;
    --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #D946EF 100%);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --radius-bento: 1.5rem;
    --font-display: 'Syne', 'Inter', sans-serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-deep);
    color: var(--text-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---- Font Aileleri ---- */
.font-display {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}
.font-mono {
    font-family: var(--font-mono);
}

/* ---- Animated Gradient Auras ---- */
.gradient-aura {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: auraFloat 20s ease-in-out infinite alternate;
    will-change: transform, opacity;
}
.gradient-aura--violet {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    top: -10%;
    left: -5%;
}
.gradient-aura--fuchsia {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217,70,239,0.1) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes auraFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(30px, -20px) scale(1.05); opacity: 0.8; }
    66% { transform: translate(-20px, 30px) scale(0.95); opacity: 0.5; }
    100% { transform: translate(10px, -10px) scale(1.02); opacity: 0.7; }
}

/* ---- Glassmorphism Utilities ---- */
.glass {
    background: var(--glass-white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}
.glass-hover:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 32px rgba(139,92,246,0.15), 0 0 0 1px rgba(139,92,246,0.1);
}

/* ---- Gradient Utilities ---- */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-btn {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.gradient-btn:hover {
    box-shadow: 0 8px 30px rgba(139,92,246,0.45), 0 0 60px rgba(217,70,239,0.15);
    transform: translateY(-2px);
}
.gradient-border {
    background: var(--accent-gradient);
}

/* ---- Navigasyon ---- */
.nav-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link:hover::after {
    width: 100%;
}

/* ---- Sayfalama ---- */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--radius-bento);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.pagination-btn:hover {
    background: rgba(139,92,246,0.12);
    border-color: rgba(139,92,246,0.4);
    color: var(--text-primary);
}
.pagination-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    pointer-events: none;
}

/* ---- Bento Grid ---- */
.bento-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

.bento-card {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-bento);
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.15), 0 0 80px rgba(139,92,246,0.08);
}
.bento-card:hover::before {
    opacity: 0.04;
}
.bento-card > * {
    position: relative;
    z-index: 1;
}
.bento-card--featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 280px;
}
@media (max-width: 768px) {
    .bento-card--featured {
        grid-column: span 2;
        grid-row: span 1;
        min-height: auto;
    }
}

/* ---- Blog Kartları ---- */
.blog-card {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-bento);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.15);
    background: rgba(255,255,255,0.05);
}
.blog-card img {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(30%);
}
.blog-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ---- Kategori Kartları (Legacy compat) ---- */
.category-card {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-bento);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 8px 32px rgba(139,92,246,0.15);
    transform: translateY(-2px);
}

/* ---- Makale İçerik Stili ---- */
.article-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    font-family: var(--font-body);
}

.article-content h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #E2E8F0;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--glass-border);
    line-height: 1.25;
    letter-spacing: -0.025em;
    scroll-margin-top: 5rem;
}

.article-content h2 .heading-anchor {
    color: var(--text-muted);
    font-size: 0.85em;
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
}
.article-content h2:hover .heading-anchor {
    opacity: 1;
    color: var(--accent-violet);
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.article-content h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.25rem;
    padding-left: 1.75rem;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.article-content li::marker {
    color: var(--accent-violet);
}

/* Link hover: soldan sağa dolan alt çizgi */
.article-content a {
    color: var(--accent-violet);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}
.article-content a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}
.article-content a:hover {
    color: #A78BFA;
}
.article-content a:hover::after {
    width: 100%;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-content em {
    font-style: italic;
    color: var(--text-secondary);
}

/* Neon border-left blockquote / İpucu kutuları */
.article-content blockquote {
    border-left: 4px solid var(--accent-violet);
    background: rgba(139,92,246,0.08);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-bento) var(--radius-bento) 0;
    font-style: italic;
    color: #C4B5FD;
    box-shadow: -4px 0 20px rgba(139,92,246,0.15);
}

.article-content code {
    background: rgba(139,92,246,0.12);
    color: #C4B5FD;
    padding: 0.15rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.85em;
    font-family: var(--font-mono);
}

.article-content pre {
    background: #06060A;
    color: #E2E8F0;
    padding: 1.25rem;
    border-radius: var(--radius-bento);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
    border: 1px solid var(--glass-border);
    font-family: var(--font-mono);
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.article-content img {
    border-radius: var(--radius-bento);
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: filter 0.5s ease;
}
.article-content img:hover {
    filter: brightness(1.05);
}

.article-content hr {
    border: none;
    border-top: 2px solid var(--glass-border);
    margin: 2rem 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.article-content table th,
.article-content table td {
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    text-align: left;
}

.article-content table th {
    background: rgba(255,255,255,0.04);
    font-weight: 600;
    color: var(--text-primary);
}

.article-content table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.article-content table td {
    color: var(--text-secondary);
}

/* ---- İpucu / Not Kutuları ---- */
.tip-box, .note-box {
    border-left: 4px solid var(--accent-violet);
    background: rgba(139,92,246,0.06);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-bento) var(--radius-bento) 0;
    box-shadow: -4px 0 25px rgba(139,92,246,0.12);
    position: relative;
}
.tip-box::before {
    content: '💡 İpucu';
    display: block;
    font-weight: 700;
    color: var(--accent-violet);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}
.note-box::before {
    content: '📝 Not';
    display: block;
    font-weight: 700;
    color: var(--accent-fuchsia);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}
.note-box {
    border-left-color: var(--accent-fuchsia);
    background: rgba(217,70,239,0.06);
    box-shadow: -4px 0 25px rgba(217,70,239,0.12);
}

/* ---- İlgili Yazılar Bloğu ---- */
.related-articles {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-bento);
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.related-articles h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: -0.02em;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.related-articles li:last-child {
    border-bottom: none;
}

.related-articles a {
    color: var(--accent-violet);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.related-articles a:hover {
    color: #A78BFA;
}

.related-articles a::before {
    content: '→ ';
    color: var(--accent-fuchsia);
}

/* ---- Backlink Bölümü ---- */
.backlinks {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-bento);
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
}
.backlinks a {
    color: var(--accent-violet);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.backlinks a:hover {
    color: #A78BFA;
}

/* ---- Line Clamp ---- */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Scroll Animasyonlar ---- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Fallback: JS yoksa veya geç yüklenirse içerik görünsün */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Staggered delay */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ---- Badge'ler (Frontend) ---- */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-bento);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-body);
}
.category-badge-purple { background: rgba(139,92,246,0.12); color: #C4B5FD; border: 1px solid rgba(139,92,246,0.2); }
.category-badge-blue { background: rgba(59,130,246,0.12); color: #93C5FD; border: 1px solid rgba(59,130,246,0.2); }
.category-badge-green { background: rgba(34,197,94,0.12); color: #86EFAC; border: 1px solid rgba(34,197,94,0.2); }
.category-badge-orange { background: rgba(249,115,22,0.12); color: #FDBA74; border: 1px solid rgba(249,115,22,0.2); }
.category-badge-pink { background: rgba(236,72,153,0.12); color: #F9A8D4; border: 1px solid rgba(236,72,153,0.2); }
.category-badge-cyan { background: rgba(6,182,212,0.12); color: #67E8F9; border: 1px solid rgba(6,182,212,0.2); }

/* ---- Article Meta Badges (Reading Time, Difficulty) ---- */
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-bento);
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: var(--font-body);
}
.meta-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}
.meta-badge--beginner {
    background: rgba(34,197,94,0.08);
    border-color: rgba(34,197,94,0.2);
    color: #86EFAC;
}
.meta-badge--intermediate {
    background: rgba(249,115,22,0.08);
    border-color: rgba(249,115,22,0.2);
    color: #FDBA74;
}
.meta-badge--advanced {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.2);
    color: #FCA5A5;
}

/* ---- Selection Rengi ---- */
::selection {
    background: rgba(139,92,246,0.35);
    color: var(--text-primary);
}

/* =============================================
   ADMIN PANEL STİLLERİ
   ============================================= */

/* ---- Sidebar ---- */
.admin-sidebar {
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    min-height: 100vh;
    width: 16rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0,0,0,0.15);
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: #c7d2fe;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.admin-sidebar a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-left-color: #818cf8;
}
.admin-sidebar a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-left-color: #6366f1;
    font-weight: 500;
}
.admin-sidebar a svg {
    flex-shrink: 0;
}

/* ---- Admin İçerik ---- */
.admin-content {
    margin-left: 16rem;
    padding: 2rem;
    min-height: 100vh;
    background: #f1f5f9;
}

/* ---- Admin Kart ---- */
.admin-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ---- Admin Tablo ---- */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}
.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #334155;
    vertical-align: middle;
}
.admin-table tr:hover {
    background: #f8fafc;
}
.admin-table tr:last-child td {
    border-bottom: none;
}

/* ---- Butonlar ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.5;
}
.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 1px 3px rgba(79,70,229,0.3);
}
.btn-primary:hover {
    background: #4338ca;
    box-shadow: 0 4px 6px rgba(79,70,229,0.3);
}

.btn-success {
    background: #059669;
    color: #fff;
    box-shadow: 0 1px 3px rgba(5,150,105,0.3);
}
.btn-success:hover {
    background: #047857;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}
.btn-danger:hover {
    background: #b91c1c;
}

.btn-outline {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
}
.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* ---- Badge'ler ---- */
.badge {
    display: inline-block;
    padding: 0.2rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}
.badge-draft {
    background: #fef3c7;
    color: #92400e;
}
.badge-published {
    background: #d1fae5;
    color: #065f46;
}
.badge-pending {
    background: #e0e7ff;
    color: #3730a3;
}
.badge-failed {
    background: #fee2e2;
    color: #991b1b;
}
.badge-archived {
    background: #f3f4f6;
    color: #6b7280;
}

/* ---- İstatistik Kartları ---- */
.stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
}
.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e1b4b;
    line-height: 1.2;
}
.stat-card .stat-label {
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.375rem;
    font-weight: 500;
}

/* ---- Form Elemanları ---- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15) !important;
}

/* ---- Spinner Animasyon ---- */
.spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Toast Bildirim ---- */
.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 24rem;
}
.toast-success {
    background: linear-gradient(135deg, #059669, #047857);
}
.toast-error {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ---- Scroll to Top Buton ---- */
#scrollTop {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139,92,246,0.4);
}
#scrollTop:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(139,92,246,0.5);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    .admin-table {
        font-size: 0.8125rem;
    }
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
    .article-content h2 {
        font-size: 1.375rem;
    }
    .article-content h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .article-content {
        font-size: 1rem;
    }
    .pagination-btn {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.8125rem;
    }
}

/* ---- Print Stili ---- */
@media print {
    nav, footer, .admin-sidebar, .backlinks, .related-articles, #scrollTop {
        display: none !important;
    }
    .admin-content {
        margin-left: 0;
    }
    .article-content {
        font-size: 12pt;
    }
}
