/* Ankara Kuyumculuk — canlı fiyat arayüzü
   Palet: beyaz zemin, altın sarısı vurgu, nadiren siyah */

:root {
    color-scheme: light;

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Nötr / metin */
    --ink: #17130a;          /* neredeyse siyah, nadir */
    --ink-soft: #3b352a;
    --muted: #8b8069;
    --line: #efe8d6;
    --line-strong: #e4d9bd;

    /* Yüzeyler */
    --bg: #faf7ef;
    --surface: #ffffff;
    --surface-2: #fffdf7;

    /* Altın skalası */
    --gold: #c69a2e;
    --gold-bright: #e3c05a;
    --gold-deep: #9a7413;
    --gold-tint: #fbf4de;
    --gold-tint-2: #f7ecc9;

    /* Durum renkleri */
    --up: #1c7d4d;
    --up-bg: #e7f4ec;
    --down: #c0392b;
    --down-bg: #fbecea;

    --shadow-sm: 0 1px 2px rgba(23, 19, 10, .05);
    --shadow-md: 0 10px 30px -12px rgba(23, 19, 10, .18);
    --shadow-gold: 0 18px 40px -18px rgba(154, 116, 19, .45);

    --radius: 16px;
    --radius-sm: 11px;
    --wrap: min(1200px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    letter-spacing: -.006em;
    color: var(--ink);
    background:
        radial-gradient(1200px 460px at 82% -8%, var(--gold-tint) 0%, rgba(251, 244, 222, 0) 60%),
        var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv01", "tnum" 0;
}

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

::selection { background: var(--gold-tint-2); color: var(--ink); }

/* ---------- Üst şerit ---------- */
.topbar {
    background: var(--ink);
    color: #f3e6c0;
    font-size: 13px;
}

.topbar-inner {
    width: var(--wrap);
    margin: 0 auto;
    height: 42px;
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
}

/* ---------- Canlı kayan fiyat şeridi (ticker) ---------- */
.ticker-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #17130a;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.ticker-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e03131;
    box-shadow: 0 0 0 0 rgba(224, 49, 49, .6);
    animation: livePulse 2s infinite;
}

.ticker {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.ticker::before,
.ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42px;
    z-index: 2;
    pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(23,19,10,0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(23,19,10,0)); }

.ticker-track {
    display: inline-flex;
    align-items: center;
    height: 42px;
    white-space: nowrap;
    will-change: transform;
    animation: tickerScroll var(--tk-duration, 60s) linear infinite;
}

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

.tk-item { display: inline-flex; align-items: baseline; gap: 7px; padding: 0 2px; }
.tk-name { color: #e6d8ac; font-weight: 700; font-size: 12px; letter-spacing: .01em; }
.tk-val { color: #ffffff; font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tk-chg { font-weight: 700; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.tk-chg.up { color: #4ade80; }
.tk-chg.down { color: #ff6b6b; }
.tk-chg.flat { color: #b9ad8c; }
.tk-sep { color: #6b6035; padding: 0 12px; font-size: 9px; }

.topbar-date {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0 4px 0 16px;
    white-space: nowrap;
    color: #ccbf9d;
}
.topbar-date strong { color: #fff; font-weight: 600; margin-left: 4px; }

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
    .topbar-date { display: none; }
    .ticker-badge { padding: 0 11px; letter-spacing: .08em; }
}

.topbar-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .01em;
}

.topbar-left .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #43d17f;
    box-shadow: 0 0 0 0 rgba(67, 209, 127, .6);
    animation: livePulse 2s infinite;
}

.topbar-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ccbf9d;
}

.topbar-right strong { color: #fff; font-weight: 600; }

@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(67, 209, 127, .55); }
    70%  { box-shadow: 0 0 0 7px rgba(67, 209, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 209, 127, 0); }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav {
    width: var(--wrap);
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand { display: inline-flex; align-items: center; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-text .name {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: clamp(22px, 3vw, 27px);
    letter-spacing: -.01em;
    color: var(--ink);
}

.brand-text .name em { font-style: normal; color: var(--gold-deep); }

.brand-text .tag {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-actions { display: inline-flex; align-items: center; gap: 10px; }

.clock {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
}

.clock .label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.clock .value {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
    width: var(--wrap);
    margin: 0 auto;
    padding: 46px 0 20px;
}

.hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: end;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--gold-tint);
    border: 1px solid var(--line-strong);
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow .spark {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(198, 154, 46, .18);
}

h1 {
    margin: 0;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(34px, 5.4vw, 60px);
    line-height: 1.03;
    letter-spacing: -.015em;
    color: var(--ink);
}

h1 .accent {
    background: linear-gradient(120deg, var(--gold-deep), var(--gold) 55%, var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-deep);
}

.lead {
    max-width: 560px;
    margin: 20px 0 0;
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    text-align: right;
}

.refresh-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

.refresh-pill .live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--up);
    box-shadow: 0 0 0 0 rgba(28, 125, 77, .5);
    animation: livePulse 2s infinite;
}

.updated-line {
    font-size: 13px;
    color: var(--muted);
}

.updated-line strong {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* ---------- Öne çıkanlar ---------- */
.featured {
    width: var(--wrap);
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.f-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 17px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.f-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--line-strong);
    transition: background .25s ease;
}

.f-card.up::before   { background: var(--up); }
.f-card.down::before { background: var(--down); }

.f-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}

.f-card .f-name {
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.f-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.f-card .f-code {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.f-card .f-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.f-card .f-cur {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-deep);
}

.f-foot {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.f-cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.f-cell span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.f-cell b {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.f-cell + .f-cell {
    align-items: flex-end;
    text-align: right;
    padding-left: 12px;
    border-left: 1px solid var(--line);
}

.f-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.f-badge.up   { color: var(--up);   background: var(--up-bg); }
.f-badge.down { color: var(--down); background: var(--down-bg); }
.f-badge.flat { color: var(--muted); background: var(--gold-tint); }

/* ---------- Fiyat bölümü ---------- */
.board {
    width: var(--wrap);
    margin: 34px auto 40px;
}

.board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.tab {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 9px 17px;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.tab:hover { color: var(--gold-deep); }

.tab.is-active {
    color: #fff;
    background: linear-gradient(140deg, var(--gold), var(--gold-deep));
    box-shadow: 0 8px 18px -8px rgba(154, 116, 19, .7);
}

.toolbar-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.search svg {
    position: absolute;
    left: 13px;
    width: 17px;
    height: 17px;
    color: var(--muted);
    pointer-events: none;
}

.search input {
    width: 240px;
    max-width: 60vw;
    padding: 11px 14px 11px 38px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

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

.search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(198, 154, 46, .16);
}

.legend {
    display: inline-flex;
    gap: 14px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.legend span { display: inline-flex; align-items: center; gap: 6px; }

.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legend .lg-up { background: var(--up); }
.legend .lg-down { background: var(--down); }

.status {
    width: var(--wrap);
    margin: 0 auto 14px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.status.error { color: var(--down); }

/* Kategori panelleri */
.panels { display: grid; gap: 22px; }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.panel.is-hidden { display: none; }

.panel-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.panel-head .p-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(150deg, var(--gold-tint), var(--gold-tint-2));
    color: var(--gold-deep);
}

.panel-head .p-icon svg { width: 22px; height: 22px; }

.panel-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--ink);
}

.panel-head .p-sub {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
}

.panel-head .count {
    margin-left: auto;
    min-width: 30px;
    height: 28px;
    padding: 0 11px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--gold-tint);
    color: var(--gold-deep);
    font-weight: 800;
    font-size: 13px;
}

.table-wrap { overflow-x: auto; }

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.price-table thead th {
    position: sticky;
    top: 0;
    padding: 12px 22px;
    text-align: right;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.price-table thead th:first-child { text-align: left; }

.price-table tbody td {
    padding: 14px 22px;
    text-align: right;
    border-bottom: 1px solid var(--line);
    font-variant-numeric: tabular-nums;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
}

.price-table tbody tr:last-child td { border-bottom: 0; }

.price-table tbody tr { transition: background .18s ease; }
.price-table tbody tr:hover { background: var(--gold-tint); }

.price-table td:first-child { text-align: left; }

.prod {
    display: flex;
    align-items: center;
    gap: 13px;
}

.prod-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--gold-tint);
    color: var(--gold-deep);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .02em;
}

.prod-icon.metal { background: #eef1f4; color: #566072; }
.prod-icon.fx { background: #eaf3ee; color: #2f7a53; }

.prod-text { display: flex; flex-direction: column; line-height: 1.2; }
.prod-text .p-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.prod-text .p-code { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; color: var(--muted); }

.cell-buy { color: var(--ink-soft); }
.cell-sell { color: var(--ink); font-weight: 800; }

.change {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13.5px;
    min-width: 74px;
    justify-content: center;
}

.change.up   { color: var(--up);   background: var(--up-bg); }
.change.down { color: var(--down); background: var(--down-bg); }
.change.flat { color: var(--muted); background: #f4f0e5; }

.change .arrow { font-size: 11px; line-height: 1; }

.empty {
    padding: 26px 22px !important;
    text-align: center !important;
    color: var(--muted);
    font-weight: 600;
}

.no-result {
    display: none;
    width: var(--wrap);
    margin: 6px auto 0;
    padding: 30px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

.no-result.show { display: block; }

/* Değişim vurgusu */
.flash-up td { animation: flashUp 1.5s ease-out; }
.flash-down td { animation: flashDown 1.5s ease-out; }

@keyframes flashUp {
    0% { background: rgba(28, 125, 77, .16); }
    100% { background: transparent; }
}

@keyframes flashDown {
    0% { background: rgba(192, 57, 43, .14); }
    100% { background: transparent; }
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-inner {
    width: var(--wrap);
    margin: 0 auto;
    padding: 34px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-brand .fb-top { display: inline-flex; align-items: center; gap: 11px; }

.footer-brand .fb-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--ink);
}

.footer-brand .fb-name em { font-style: normal; color: var(--gold-deep); }

.footer-brand p {
    margin: 0;
    max-width: 460px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

.footer-note {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.7;
    background: var(--gold-tint);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 15px 17px;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.footer-bottom-inner {
    width: var(--wrap);
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
}

.footer-bottom-inner strong { color: var(--ink-soft); font-weight: 700; }

.powered {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--gold-tint);
    border: 1px solid var(--line-strong);
    color: var(--gold-deep);
    font-weight: 700;
    letter-spacing: .02em;
}

.powered strong { color: var(--gold-deep); font-weight: 800; letter-spacing: .04em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .hero-top { grid-template-columns: 1fr; gap: 18px; }
    .hero-meta { align-items: flex-start; text-align: left; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --wrap: min(1200px, calc(100% - 28px)); }
    .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .hero { padding-top: 32px; }
    .lead { font-size: 16px; }
    .board-toolbar { flex-direction: column; align-items: stretch; }
    .toolbar-right { justify-content: space-between; }
    .search input { width: 100%; max-width: none; }
    .tabs { justify-content: flex-start; overflow-x: auto; }
    .clock { display: none; }
    .price-table tbody td, .price-table thead th { padding-left: 16px; padding-right: 16px; }
    .prod-icon { width: 34px; height: 34px; }
}

@media (max-width: 420px) {
    .featured { grid-template-columns: 1fr; }
    .f-card .f-price { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .f-card { transition: none; }
}

/* ---------- SEO / Tanıtım & SSS ---------- */
.seo {
    width: var(--wrap);
    margin: 6px auto 48px;
}

.seo-inner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px 42px;
}

.seo h2 {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(24px, 3.4vw, 34px);
    letter-spacing: -.015em;
    color: var(--ink);
}

.seo-lead {
    max-width: 840px;
    margin: 16px 0 0;
    font-size: 16.5px;
    line-height: 1.72;
    color: var(--ink-soft);
}

.seo-lead strong { color: var(--ink); font-weight: 700; }

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.seo-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    transition: border-color .2s ease, transform .2s ease;
}

.seo-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.seo-card h3 {
    margin: 0 0 9px;
    font-size: 17px;
    font-weight: 800;
    color: var(--gold-deep);
}

.seo-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.66;
    color: var(--muted);
}

.content-block {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.content-block h2 {
    margin: 0;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: -.01em;
    color: var(--ink);
}

.content-block p {
    max-width: 900px;
    margin: 14px 0 0;
    font-size: 15.5px;
    line-height: 1.78;
    color: var(--ink-soft);
}

.content-block strong {
    color: var(--ink);
    font-weight: 800;
}

.compare-wrap {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
}

.compare-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.compare-table tr:last-child td {
    border-bottom: 0;
}

.compare-table th {
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--gold-tint);
}

.compare-table td {
    font-size: 14px;
    color: var(--ink-soft);
}

.compare-table td:first-child {
    font-weight: 800;
    color: var(--ink);
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.keyword-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: var(--gold-tint);
    border: 1px solid var(--line-strong);
    color: var(--gold-deep);
    font-size: 13px;
    font-weight: 700;
}

.faq { margin-top: 38px; }

.faq h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: -.01em;
    color: var(--ink);
}

.faq details {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    overflow: hidden;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold-deep);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.faq details[open] summary { color: var(--gold-deep); }
.faq details[open] summary::after { content: "–"; }

.faq details p {
    margin: 0;
    padding: 0 20px 18px;
    font-size: 14.5px;
    line-height: 1.72;
    color: var(--muted);
}

@media (max-width: 860px) {
    .seo-inner { padding: 26px 20px; }
    .seo-grid { grid-template-columns: 1fr; }
}

/* ---------- Kategorili menü ---------- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -.005em;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.nav-link:hover { color: var(--gold-deep); background: var(--gold-tint); }
.nav-link.is-active { color: var(--gold-deep); background: var(--gold-tint); }

.nav-drop-toggle svg { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-item { position: relative; }
.nav-item:hover .nav-drop-toggle svg,
.nav-item.open .nav-drop-toggle svg { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    z-index: 60;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -14px; left: 0; right: 0;
    height: 14px;
}

.nav-dropdown-wide { grid-template-columns: 1fr 1fr; min-width: 360px; }

.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown { display: grid; }

.nav-dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.nav-dropdown a:hover { background: var(--gold-tint); color: var(--gold-deep); }
.nav-dropdown a.is-active { background: var(--gold-tint); color: var(--gold-deep); }

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 880px) {
    .nav-toggle { display: flex; }
    .nav-actions { display: none; }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        display: none;
        padding: 12px 16px 18px;
        background: var(--surface);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.open { display: flex; }

    .nav-link { width: 100%; justify-content: space-between; padding: 13px 12px; }
    .nav-item { width: 100%; }

    .nav-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 2px 0 8px 12px;
        min-width: 0;
    }

    .nav-item:hover .nav-dropdown { display: none; }
    .nav-item.open .nav-dropdown { display: grid; }
    .nav-dropdown-wide { grid-template-columns: 1fr 1fr; min-width: 0; }
}

/* ---------- Detay sayfası ---------- */
.crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs span[aria-current] { color: var(--ink-soft); font-weight: 700; }

.detail-hero {
    width: var(--wrap);
    margin: 0 auto;
    padding: 28px 0 8px;
}

.detail-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
    gap: 34px;
    align-items: start;
}

.detail-intro h1 {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(30px, 4.4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.015em;
    color: var(--ink);
}

.detail-intro .lead {
    max-width: 560px;
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
}

/* Canlı fiyat kartı */
.pricecard {
    position: relative;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.pricecard::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-bright), var(--gold), var(--gold-deep));
}

.pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.pc-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--gold-tint);
    color: var(--gold-deep);
    font-weight: 800; font-size: 15px;
}

.pricecard.currency .pc-icon { background: #eaf3ee; color: #2f7a53; }
.pricecard.metal .pc-icon { background: #eef1f4; color: #566072; }

.pc-meta { display: flex; flex-direction: column; min-width: 0; }
.pc-name { font-weight: 800; font-size: 17px; color: var(--ink); }
.pc-code { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }

.pc-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--up); }
.pc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(28,125,77,.5); animation: livePulse 2s infinite; }

.pc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pc-cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pc-cell span { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.pc-cell b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.pc-cell .pc-strong { color: var(--ink); }

.pc-change { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; }
.pc-change.up { color: var(--up); }
.pc-change.down { color: var(--down); }
.pc-change.flat { color: var(--muted); }

.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.pc-foot strong { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700; }
.pc-unit { color: var(--gold-deep); font-weight: 700; white-space: nowrap; }

.pc-source { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

.pc-note {
    margin: 10px 0 0;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--muted);
    background: var(--gold-tint);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 10px 12px;
}

.detail-body { width: var(--wrap); margin: 10px auto 48px; }

.detail-content {
    max-width: 900px;
    padding: 36px 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.detail-content h2 {
    margin: 30px 0 12px;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(21px, 2.6vw, 28px);
    letter-spacing: -.01em;
    color: var(--ink);
}

.detail-content > h2:first-child { margin-top: 0; }

.detail-content p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.detail-content p a { color: var(--gold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.factor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 8px; }
.factor { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.factor h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; color: var(--gold-deep); }
.factor p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.detail-content ul.tips { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; }
.detail-content ul.tips li { position: relative; padding-left: 27px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.detail-content ul.tips li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: var(--gold-deep); font-weight: 800;
}

.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 8px; }
.related-chip {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--gold-tint);
    border: 1px solid var(--line-strong);
    color: var(--gold-deep);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .18s ease;
}
.related-chip:hover { background: var(--gold-tint-2); }

.detail-content .faq { margin-top: 22px; }

.notfound { width: var(--wrap); margin: 40px auto; text-align: center; padding: 54px 20px; }
.notfound h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 44px); margin: 0 0 12px; color: var(--ink); }
.notfound p { color: var(--muted); font-size: 16px; margin: 0; }
.nf-btn {
    display: inline-block; margin-top: 18px; padding: 12px 24px; border-radius: 999px;
    background: linear-gradient(140deg, var(--gold), var(--gold-deep));
    color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(154,116,19,.7);
}

@media (max-width: 860px) {
    .detail-top { grid-template-columns: 1fr; gap: 22px; }
    .detail-content { padding: 24px 20px; }
    .factor-list { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .pc-grid { gap: 8px; }
    .pc-cell b { font-size: 18px; }
}
