/* ═══════════════════════════════════════════════════════════
   ICONACODEX — Modern Dark Academia × Premium Dark
   Playfair Display + Inter | Glassmorphism | Gold Glow
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS DEĞİŞKENLERİ ──────────────────────────────────── */
:root {
    /* Dark varsayılan */
    --bg:           #080705;
    --bg-2:         #0e0c09;
    --surface:      rgba(20, 17, 12, 0.85);
    --surface-2:    rgba(30, 26, 18, 0.9);
    --surface-solid: #14110c;
    --border:       rgba(212, 168, 83, 0.15);
    --border-bright: rgba(212, 168, 83, 0.35);
    --text:         #ede8de;
    --text-muted:   #8a7f6a;
    --text-dim:     #5a5246;
    --accent:       #d4a853;
    --accent-dim:   #a07830;
    --accent-light: rgba(212, 168, 83, 0.1);
    --accent-glow:  rgba(212, 168, 83, 0.25);
    --link:         #d4a853;
    --link-hover:   #f0c97a;
    --shadow:       0 2px 12px rgba(0,0,0,.4);
    --shadow-md:    0 8px 32px rgba(0,0,0,.6);
    --shadow-glow:  0 0 24px rgba(212, 168, 83, 0.15);
    --radius:       10px;
    --radius-sm:    6px;
    --radius-lg:    16px;
    --navbar-h:     64px;
    --glass:        blur(12px) saturate(1.4);
}

[data-theme="light"] {
    --bg:           #faf7f0;
    --bg-2:         #f2ece0;
    --surface:      rgba(255, 252, 245, 0.92);
    --surface-2:    rgba(242, 236, 224, 0.95);
    --surface-solid: #fffcf5;
    --border:       rgba(180, 140, 70, 0.2);
    --border-bright: rgba(180, 140, 70, 0.4);
    --text:         #1a1509;
    --text-muted:   #6b5e40;
    --text-dim:     #9a8c72;
    --accent:       #b8860b;
    --accent-dim:   #8b6508;
    --accent-light: rgba(184, 134, 11, 0.1);
    --accent-glow:  rgba(184, 134, 11, 0.2);
    --link:         #8b6508;
    --link-hover:   #b8860b;
    --shadow:       0 2px 12px rgba(0,0,0,.08);
    --shadow-md:    0 8px 32px rgba(0,0,0,.14);
    --shadow-glow:  0 0 24px rgba(184, 134, 11, 0.12);
}

[data-theme="anthracite"] {
    --bg:           #1e2124;
    --bg-2:         #282b30;
    --surface:      rgba(36, 39, 43, 0.9);
    --surface-2:    rgba(44, 47, 52, 0.95);
    --surface-solid: #242729;
    --border:       rgba(160, 170, 185, 0.12);
    --border-bright: rgba(160, 170, 185, 0.28);
    --text:         #dde1e7;
    --text-muted:   #8a939e;
    --text-dim:     #555f6b;
    --accent:       #7eb8d4;
    --accent-dim:   #5a96b0;
    --accent-light: rgba(126, 184, 212, 0.1);
    --accent-glow:  rgba(126, 184, 212, 0.18);
    --link:         #7eb8d4;
    --link-hover:   #a8d4e8;
    --shadow:       0 2px 12px rgba(0,0,0,.5);
    --shadow-md:    0 8px 32px rgba(0,0,0,.65);
    --shadow-glow:  0 0 24px rgba(126, 184, 212, 0.12);
}

[data-theme="anthracite"] body {
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126,184,212,.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 80% 100%, rgba(80,110,140,.05) 0%, transparent 50%);
}

[data-theme="anthracite"] .ic-navbar {
    background: rgba(20, 22, 25, 0.85);
}

/* ─── TEMEL ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212,168,83,.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 80% 100%, rgba(212,168,83,.04) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    transition: background-color .3s, color .3s;
    min-height: 100vh;
}

/* Arka plan dokusu (ince grain) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: .5;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color .2s;
}
a:hover { color: var(--link-hover); text-decoration: none; }

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

/* ─── NAVBAR ────────────────────────────────────────────── */
.ic-navbar {
    height: var(--navbar-h);
    background: rgba(8, 7, 5, 0.8);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 1.5rem;
}

[data-theme="light"] .ic-navbar {
    background: rgba(255, 252, 245, 0.82);
}

.ic-navbar .brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: .3px;
}
.ic-navbar .brand span {
    color: var(--accent);
    font-style: italic;
}

.ic-navbar nav { display: flex; gap: .1rem; flex: 1; }
.ic-navbar nav a {
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: .4rem .7rem;
    border-radius: var(--radius-sm);
    transition: all .2s;
    position: relative;
}
.ic-navbar nav a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 1px;
    background: var(--accent);
    transition: left .2s, right .2s;
}
.ic-navbar nav a:hover::after,
.ic-navbar nav a.active::after {
    left: .7rem; right: .7rem;
}
.ic-navbar nav a:hover,
.ic-navbar nav a.active {
    color: var(--text);
    background: var(--accent-light);
    text-decoration: none;
}

/* Arama */
.ic-search-wrap {
    position: relative;
    flex: 0 0 220px;
}
.ic-search-wrap input {
    width: 100%;
    padding: .45rem .85rem .45rem 2.1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
    font-size: .82rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-family: 'Inter', sans-serif;
}
.ic-search-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.ic-search-wrap .search-icon {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: .8rem;
    pointer-events: none;
}
.ic-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--surface-solid);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    max-height: 340px;
    overflow-y: auto;
    z-index: 200;
    display: none;
    backdrop-filter: var(--glass);
}
.ic-search-results.show { display: block; }
.ic-search-results a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .85rem;
    font-size: .83rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.ic-search-results a:last-child { border-bottom: none; }
.ic-search-results a:hover { background: var(--accent-light); text-decoration: none; }
.ic-search-results .tur-badge {
    font-size: .68rem;
    padding: .1rem .45rem;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--border-bright);
    flex-shrink: 0;
    font-weight: 600;
    letter-spacing: .3px;
}

/* Tema toggle */
.ic-theme-btn {
    background: none;
    border: 1px solid var(--border-bright);
    border-radius: 20px;
    padding: .38rem .75rem;
    color: var(--text-muted);
    cursor: pointer;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: all .2s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}
.ic-theme-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ─── LAYOUT ────────────────────────────────────────────── */
.ic-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Liste / tablo sayfaları için tam genişlik */
.ic-container-full {
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
@media (max-width: 600px) { .ic-container-full { padding: 0 1rem; } }

.ic-page { padding: 3rem 0; }

/* ─── KARTLAR ───────────────────────────────────────────── */
.ic-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .3s, transform .3s, border-color .3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ic-card:hover {
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-3px);
    border-color: var(--border-bright);
}
.ic-card-body { padding: 1.35rem; }
.ic-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.ic-card:hover .ic-card-img { transform: scale(1.03); }

/* Olay kartı */
.ic-event-card { display: flex; flex-direction: column; height: 100%; }
.ic-event-card .ic-card-body { flex: 1; display: flex; flex-direction: column; }
.ic-event-card .title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 .3rem;
    line-height: 1.35;
    color: var(--text);
}
.ic-event-card .date {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.ic-event-card .icons { margin-top: auto; padding-top: .75rem; display: flex; flex-wrap: wrap; gap: 4px; }

/* Keşfet kartları (büyük ikon) */
.ic-explore-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.ic-explore-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 110%, var(--accent-glow) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .3s;
}
.ic-explore-card:hover::before { opacity: 1; }
.ic-explore-card .icon {
    font-size: 2.75rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transition: transform .3s, filter .3s;
}
.ic-explore-card:hover .icon {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 0 16px var(--accent-glow));
}
.ic-explore-card .label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .35rem;
}
.ic-explore-card .sub {
    color: var(--text-muted);
    font-size: .82rem;
}

/* ─── ENTİTY İKONLARI ───────────────────────────────────── */
.ic-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--surface-solid);
    box-shadow: 0 0 0 1px var(--border);
    flex-shrink: 0;
}
.ic-icon-sm { width: 22px; height: 22px; }
.ic-icon-lg { width: 44px; height: 44px; }

.ic-icon-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }

/* İkon + isim chip */
.ic-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .22rem .6rem .22rem .3rem;
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.ic-chip:hover {
    background: var(--border-bright);
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
    box-shadow: 0 0 8px var(--accent-glow);
}
.ic-chip img { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }

/* ─── HERO (Ana Sayfa) ──────────────────────────────────── */
.ic-hero {
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated gradient arka plan */
.ic-hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(212,168,83,.06) 60deg,
        transparent 120deg,
        rgba(212,168,83,.04) 180deg,
        transparent 240deg,
        rgba(212,168,83,.06) 300deg,
        transparent 360deg
    );
    animation: heroSpin 30s linear infinite;
}
.ic-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(212,168,83,.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212,168,83,.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(212,168,83,.06) 0%, transparent 50%);
}

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

.ic-hero > * { position: relative; z-index: 1; }
.ic-hero .ic-container { position: relative; z-index: 1; }

/* Dekoratif çizgi */
.ic-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.ic-hero-eyebrow::before,
.ic-hero-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent);
    opacity: .5;
}

.ic-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 0 0 1rem;
    line-height: 1.15;
    color: var(--text);
}
.ic-hero h1 em {
    color: var(--accent);
    font-style: italic;
    position: relative;
}
/* Altın underline efekti */
.ic-hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: .5;
}
.ic-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Hero arama */
.ic-hero-search {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px var(--border-bright), var(--shadow-md), 0 0 40px var(--accent-glow);
    overflow: visible;
}
.ic-hero-search .ic-search-wrap {
    flex: 1;
    border-radius: var(--radius) 0 0 var(--radius);
    overflow: hidden;
}
.ic-hero-search .ic-search-wrap input {
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
    background: var(--surface-solid);
    padding: .85rem 1rem .85rem 2.5rem;
    font-size: .95rem;
    height: 100%;
}
.ic-hero-search .ic-search-wrap .search-icon {
    font-size: .9rem;
    left: .9rem;
}
.ic-hero-search button {
    padding: .85rem 1.5rem;
    background: var(--accent);
    color: #080705;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    transition: all .2s;
    flex-shrink: 0;
}
.ic-hero-search button:hover {
    background: var(--link-hover);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ─── ÖNE ÇIKAN OLAY ────────────────────────────────────── */
.ic-featured {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    margin-bottom: 3.5rem;
    backdrop-filter: blur(8px);
    transition: border-color .3s;
}
.ic-featured:hover { border-color: var(--border-bright); }
@media (max-width: 768px) { .ic-featured { grid-template-columns: 1fr; } }

.ic-featured-img {
    min-height: 300px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform .5s;
}
.ic-featured:hover .ic-featured-img { transform: scale(1.02); }

.ic-featured-img-placeholder {
    min-height: 300px;
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--surface-solid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 4rem;
}
.ic-featured-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ic-featured-body .label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.ic-featured-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 .4rem;
    line-height: 1.25;
    color: var(--text);
}
.ic-featured-body .date {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.ic-featured-body .desc {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ic-featured-connections { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.75rem; }
.ic-featured-connections .conn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.ic-featured-connections .conn-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-dim);
    min-width: 80px;
}

/* ─── BÖLÜM BAŞLIKLARI ──────────────────────────────────── */
.ic-section-title {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: .6rem;
}
.ic-section-title::before {
    content: '';
    display: block;
    width: 3px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-glow);
    flex-shrink: 0;
}
.ic-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-bright) 0%, transparent 60%);
}

/* ─── PROFIL SAYFASI ────────────────────────────────────── */
.ic-profile-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) { .ic-profile-layout { grid-template-columns: 1fr; } }

.ic-profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}
.ic-profile-header .entity-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-bright);
    box-shadow: 0 0 16px var(--accent-glow);
}
.ic-profile-header .meta { flex: 1; }
.ic-profile-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 .2rem;
}
.ic-profile-header .subtitle { color: var(--text-muted); font-size: .88rem; }

/* Sidebar */
.ic-sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}
.ic-sidebar-card .ic-sidebar-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}
.ic-sidebar-list { list-style: none; margin: 0; padding: 0; }
.ic-sidebar-list li { border-bottom: 1px solid var(--border); }
.ic-sidebar-list li:last-child { border-bottom: none; }
.ic-sidebar-list a {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    font-size: .83rem;
    color: var(--text);
    transition: background .15s, color .15s;
}
.ic-sidebar-list a:hover { background: var(--accent-light); color: var(--accent); text-decoration: none; }
.ic-sidebar-list .date-tag { color: var(--text-muted); font-size: .72rem; margin-left: auto; }

/* ─── TİMELINE ──────────────────────────────────────────── */
.ic-timeline { position: relative; padding-left: 1.75rem; }
.ic-timeline::before {
    content: '';
    position: absolute;
    left: 5px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-bright) 10%, var(--border-bright) 90%, transparent);
}
.ic-tl-cag {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin: 2.5rem 0 1.25rem;
    position: relative;
}
.ic-tl-cag::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
.ic-tl-item {
    position: relative;
    margin-bottom: 1rem;
}
.ic-tl-item::before {
    content: '';
    position: absolute;
    left: -1.75rem; top: .7rem;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--border-bright);
}
.ic-tl-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .9rem 1.1rem;
    transition: all .2s;
    backdrop-filter: blur(6px);
}
.ic-tl-card:hover {
    box-shadow: var(--shadow), var(--shadow-glow);
    border-color: var(--border-bright);
    transform: translateX(3px);
}
.ic-tl-card .title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: .2rem;
}
.ic-tl-card .title a { color: var(--text); }
.ic-tl-card .date { font-size: .75rem; color: var(--accent); font-weight: 600; letter-spacing: .3px; }
.ic-tl-card .icons { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: 3px; }

/* ─── BUTONLAR ──────────────────────────────────────────── */
.ic-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    border: 1px solid transparent;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: .2px;
}
.ic-btn-primary {
    background: var(--accent);
    color: #080705;
    border-color: var(--accent);
}
.ic-btn-primary:hover {
    background: var(--link-hover);
    border-color: var(--link-hover);
    color: #080705;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
}
.ic-btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-bright);
}
.ic-btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ─── FORM (Admin) ──────────────────────────────────────── */
.ic-form-group { margin-bottom: 1.35rem; }
.ic-form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: .5rem;
    color: var(--text-muted);
}
.ic-form-control {
    width: 100%;
    padding: .6rem .85rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .9rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-family: 'Inter', sans-serif;
}
.ic-form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea.ic-form-control { resize: vertical; min-height: 120px; }

/* ─── FOOTER ────────────────────────────────────────────── */
.ic-footer {
    margin-top: 5rem;
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-dim);
    font-size: .8rem;
    position: relative;
}
.ic-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--accent);
    opacity: .6;
    box-shadow: 0 0 8px var(--accent-glow);
}

/* ─── YARDIMCI ──────────────────────────────────────────── */
.ic-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
    position: relative;
}
.ic-text-muted { color: var(--text-muted); }
.ic-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.ic-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ic-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) {
    .ic-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ic-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ic-grid-2, .ic-grid-3, .ic-grid-4 { grid-template-columns: 1fr; }
    .ic-container { padding: 0 1.25rem; }
    .ic-navbar { padding: 0 1.25rem; }
    .ic-hero { padding: 3.5rem 0 3rem; }
}

/* ─── ANİMASYONLAR ──────────────────────────────────────── */

/* Scroll reveal — başlangıç durumu */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}
/* Stagger — grid çocuklarına gecikme */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s;    opacity:1; transform:none; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: .08s;  opacity:1; transform:none; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: .16s;  opacity:1; transform:none; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: .24s;  opacity:1; transform:none; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: .32s;  opacity:1; transform:none; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: .40s;  opacity:1; transform:none; }

/* Görsel yüklenme fade */
.ic-card-img, .ic-featured-img {
    opacity: 0;
    transition: opacity .5s ease, transform .4s ease;
}
.ic-card-img.img-loaded, .ic-featured-img.img-loaded { opacity: 1; }

/* Navbar shrink */
.ic-navbar {
    transition: height .3s ease, box-shadow .3s ease, padding .3s ease;
}
.ic-navbar.scrolled {
    height: 52px;
    box-shadow: 0 4px 24px rgba(0,0,0,.35), 0 1px 0 var(--border);
}

/* Explore card tilt — JS tarafından inline style ile */
.ic-explore-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Button ripple */
.ic-btn { overflow: hidden; position: relative; }
.ic-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    transform: scale(0);
    animation: rippleAnim .55s linear;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* Navbar link slide indicator */
.ic-navbar nav { position: relative; }
.ic-nav-indicator {
    position: absolute;
    bottom: 10px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--accent-glow);
    transition: left .25s cubic-bezier(.22,1,.36,1), width .25s cubic-bezier(.22,1,.36,1);
    pointer-events: none;
}

/* Arama sonuçları item animasyonu */
.ic-search-results a {
    animation: slideInResult .18s ease forwards;
    opacity: 0;
}
@keyframes slideInResult {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: none; }
}
.ic-search-results a:nth-child(1) { animation-delay: 0s; }
.ic-search-results a:nth-child(2) { animation-delay: .04s; }
.ic-search-results a:nth-child(3) { animation-delay: .08s; }
.ic-search-results a:nth-child(4) { animation-delay: .12s; }
.ic-search-results a:nth-child(5) { animation-delay: .16s; }

/* Chip hover pulse */
.ic-chip:hover {
    animation: chipPulse .3s ease;
}
@keyframes chipPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* Section title çizgi büyüme */
.ic-section-title::after {
    transform-origin: left;
    animation: none;
}
.ic-section-title.revealed::after {
    animation: lineGrow .6s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes lineGrow {
    from { opacity: 0; transform: scaleX(0); }
    to   { opacity: 1; transform: scaleX(1); }
}

/* Profil ikon glow pulse */
.ic-profile-header .entity-icon {
    animation: iconGlow 3s ease-in-out infinite alternate;
}
@keyframes iconGlow {
    from { box-shadow: 0 0 8px var(--accent-glow); }
    to   { box-shadow: 0 0 22px var(--accent-glow), 0 0 40px rgba(212,168,83,.1); }
}

/* Timeline dot pulse */
.ic-tl-cag::before {
    animation: tlDotPulse 2.5s ease-in-out infinite;
}
@keyframes tlDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50%       { box-shadow: 0 0 0 6px transparent; }
}

/* ─── BAĞLANTI GRAFİĞİ MODAL ────────────────────────────── */
#ic-graph-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}
#ic-graph-modal.open { display: flex; }

#ic-graph-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
    animation: graphFadeIn .25s ease;
}

#ic-graph-panel {
    position: relative;
    width: min(92vw, 900px);
    height: min(85vh, 620px);
    background: #0d0b08;
    border: 1px solid rgba(212,168,83,.3);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 60px rgba(212,168,83,.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: graphSlideIn .3s cubic-bezier(.22,1,.36,1);
}

@keyframes graphFadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes graphSlideIn { from { opacity:0; transform:scale(.95) translateY(12px); } to { opacity:1; transform:none; } }

#ic-graph-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1.25rem;
    border-bottom: 1px solid rgba(212,168,83,.15);
    background: rgba(212,168,83,.04);
    flex-shrink: 0;
}

#ic-graph-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .95rem;
    font-weight: 700;
    color: #ede8de;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

#ic-graph-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    flex: 2;
}
.ic-graph-leg-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    color: #8a7f6a;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.ic-graph-leg-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

#ic-graph-close {
    background: none;
    border: 1px solid rgba(212,168,83,.25);
    border-radius: 50%;
    width: 28px; height: 28px;
    color: #8a7f6a;
    cursor: pointer;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}
#ic-graph-close:hover { border-color: var(--accent); color: var(--accent); }

#ic-graph-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#ic-graph-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #8a7f6a;
    font-size: .85rem;
}
.ic-graph-spinner {
    width: 32px; height: 32px;
    border: 2px solid rgba(212,168,83,.15);
    border-top-color: #d4a853;
    border-radius: 50%;
    animation: graphSpin .8s linear infinite;
}
@keyframes graphSpin { to { transform: rotate(360deg); } }

#ic-graph-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* SVG içi stiller */
.ig-node-label { pointer-events: none; font-family: 'Inter', sans-serif; }
.ig-link-labels text { pointer-events: none; font-family: 'Inter', sans-serif; }

#ic-graph-tooltip {
    position: absolute;
    background: rgba(13,11,8,.9);
    border: 1px solid rgba(212,168,83,.3);
    border-radius: 6px;
    padding: .3rem .65rem;
    font-size: .75rem;
    color: #d4a853;
    pointer-events: none;
    display: none;
    white-space: nowrap;
    z-index: 10;
}

/* Grafiği aç butonu */
.ic-graph-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border: 1px solid rgba(212,168,83,.3);
    border-radius: 20px;
    background: rgba(212,168,83,.07);
    color: #d4a853;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    letter-spacing: .3px;
}
.ic-graph-btn:hover {
    border-color: #d4a853;
    background: rgba(212,168,83,.15);
    box-shadow: 0 0 16px rgba(212,168,83,.2);
    text-decoration: none;
    color: #d4a853;
}
.ic-graph-btn i { font-size: .85rem; }

/* ─── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: var(--border-bright);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* ─── SEÇİM RENGİ ───────────────────────────────────────── */
::selection {
    background: var(--accent-glow);
    color: var(--text);
}
