/* Goldes canli fiyat sayfasi — renkler/yazi goldeskuyumculuk.com temasindan (goldescomtr). */
:root {
	--ink: #231F20;
	--muted: #737373;
	--gold: #CDBD7E;
	--gold-deep: #A8925A;
	--gold-soft: #FFF5E2;
	--line: #E7E7E7;
	--band: #F8F8F8;
	--footer: #242220;
	--up: #1E7B3A;
	--down: #C62828;
	--radius: 1.5rem;
	--radius-sm: .75rem;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---- Ust serit (goldes .text-bg-primary) ---- */
.topbar { background: var(--gold); color: var(--ink); font-size: .8125rem; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.topbar .sep { width: 10px; height: 10px; flex: none; background: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M5.08 9.4L4.46 5.53.61 4.92v-.06l3.85-.6L5.08.38h.09l.61 3.88 3.84.6v.06l-3.84.61-.61 3.87z" fill="%23231F20"/></svg>') center/contain no-repeat; }
@media (max-width: 600px) { .topbar .sep, .topbar-text { display: none; } }

/* ---- Canli gostergesi ---- */
.live { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(30,123,58,.5); animation: pulse 2s infinite; }
.live.is-stale .dot { background: #A39B86; animation: none; }
.live.is-wait .dot { background: var(--gold-deep); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,123,58,.5); } 70% { box-shadow: 0 0 0 7px rgba(30,123,58,0); } 100% { box-shadow: 0 0 0 0 rgba(30,123,58,0); } }

/* ---- Baslik ---- */
.site-header { background: #fff; position: relative; z-index: 2; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 6rem; }
.logo { grid-column: 2; display: block; margin-top: -26px; }
.logo img { width: 128px; height: auto; }
.header-back, .header-call { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; transition: color .2s; }
.header-back { justify-self: start; color: var(--muted); }
.header-back:hover { color: var(--ink); }
.header-call { justify-self: end; border: 1px solid var(--line); border-radius: .5rem; padding: .55rem 1rem; }
.header-call:hover { border-color: var(--gold); background: var(--gold-soft); }
.main-nav { border-top: 1px solid #f0f0f0; }
.main-nav ul { list-style: none; display: flex; justify-content: center; gap: 2.5rem; margin: 0 auto; padding-top: 14px; padding-bottom: 14px; }
.main-nav a { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.main-nav a:hover { color: var(--gold-deep); }
@media (max-width: 767px) {
	.header-inner { min-height: 4.5rem; }
	.logo { margin-top: -18px; }
	.logo img { width: 92px; }
	.header-back span, .header-call span { display: none; }
	.header-call { padding: .5rem; }
	.main-nav ul { justify-content: flex-start; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
	.main-nav ul::-webkit-scrollbar { display: none; }
}

/* ---- Hero (goldes .usp-strip bandi) ---- */
.hero { position: relative; overflow: hidden; background: var(--band); padding: 3rem 0; }
.hero-bg { position: absolute; left: -60px; top: 20px; width: 460px; max-width: none; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; }
.eyebrow { margin: 0 0 .5rem; color: var(--gold-deep); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0 0 .75rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.lead { margin: 0 0 1.5rem; color: var(--muted); font-weight: 300; max-width: 30rem; }
.status { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 50rem; padding: .5rem 1rem; font-size: .875rem; font-weight: 500; }
.status .clock { color: var(--muted); font-variant-numeric: tabular-nums; }

.spotlight { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spot { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; min-height: 118px; overflow: hidden; }
.spot::after { content: ""; position: absolute; right: -28px; top: -28px; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, rgba(205,189,126,.28), rgba(205,189,126,0) 70%); }
.spot-name { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-sell { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spot-sell small { font-size: .55em; font-weight: 500; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.spot-buy { margin-top: .35rem; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.spot-buy b { color: var(--ink); font-weight: 600; }
.spot-label { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.spot.is-up .spot-sell { color: var(--up); }
.spot.is-down .spot-sell { color: var(--down); }
.spot-sell { transition: color .4s; }
.spot.is-skeleton { background: linear-gradient(90deg, #f1f1f1 25%, #fafafa 50%, #f1f1f1 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-color: transparent; }

@media (max-width: 900px) {
	.hero { padding: 2rem 0 1.5rem; }
	.hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
	.hero-bg { width: 300px; top: auto; bottom: -40px; }
	.lead { margin-bottom: 1rem; }
}
@media (max-width: 420px) {
	.spot { padding: .9rem 1rem; min-height: 100px; border-radius: 1rem; }
	.spot-name { font-size: .72rem; letter-spacing: .03em; }
}

/* ---- Doviz cubugu ---- */
.fx { display: flex; flex-wrap: wrap; gap: 8px; margin: 2rem 0 0; }
.fx-chip { display: inline-flex; align-items: baseline; gap: 8px; border: 1px solid var(--line); border-radius: 50rem; padding: .4rem .9rem; font-size: .875rem; font-variant-numeric: tabular-nums; }
.fx-chip b { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--gold-deep); }

/* ---- Fiyat tabelalari ---- */
.boards { display: grid; gap: 1.5rem; margin: 2.5rem 0 1rem; }
@media (min-width: 1000px) { .boards.is-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 40px rgba(35,31,32,.05); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.board-head h2 { margin: 0; font-size: 1.375rem; font-weight: 500; letter-spacing: -.03em; }
.board-head .count { font-size: .8125rem; color: var(--muted); white-space: nowrap; }

.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 1rem 1.5rem; text-align: right; vertical-align: middle; }
.ptable thead th { background: var(--gold-soft); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable tbody tr + tr td { border-top: 1px solid #f0f0f0; }
.ptable tbody tr { transition: background-color .2s; }
.ptable tbody tr:hover { background: #fcfbf7; }
.pname { font-weight: 600; letter-spacing: .01em; }
.psub { display: none; margin-top: 2px; font-size: .75rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price { font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .4s; }
.price.cc { color: var(--muted); font-weight: 500; }
.price .arrow { display: inline-block; width: .9em; margin-right: 4px; font-size: .65em; vertical-align: .12em; opacity: 0; transition: opacity .4s; }
.price.is-up { color: var(--up); }
.price.is-down { color: var(--down); }
.price.is-up .arrow, .price.is-down .arrow { opacity: 1; }
.price.is-up .arrow::before { content: "\25B2"; }
.price.is-down .arrow::before { content: "\25BC"; }
.price.is-flash, .spot.is-flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { background-color: rgba(205,189,126,.38); } 100% { background-color: transparent; } }
.empty { padding: 2rem 1.5rem; text-align: center; color: var(--muted); }

.skeleton-rows { padding: 1rem 1.5rem; display: grid; gap: 14px; }
.skeleton-rows span { height: 18px; border-radius: 6px; background: linear-gradient(90deg, #f1f1f1 25%, #fafafa 50%, #f1f1f1 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (max-width: 600px) {
	.boards { margin-top: 1.5rem; }
	.board { border-radius: 1rem; }
	.board-head { padding: 1rem; }
	.board-head h2 { font-size: 1.15rem; }
	.ptable th, .ptable td { padding: .85rem .5rem; }
	.ptable th:first-child, .ptable td:first-child { padding-left: 1rem; }
	.ptable th:last-child, .ptable td:last-child { padding-right: 1rem; }
	.ptable thead th { font-size: .66rem; letter-spacing: .06em; }
	.pname { font-size: .875rem; line-height: 1.3; }
	.price { font-size: .95rem; }
	.price .arrow { display: none; }
	.ptable .cc { display: none; }
	.psub { display: block; }
}

.note { margin: 0 auto 3rem; max-width: 46rem; text-align: center; font-size: .8125rem; color: var(--muted); }

/* ---- Bilgi kartlari ---- */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 4rem; }
.info-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: var(--band); border-radius: var(--radius); padding: 1.75rem 1rem; transition: background-color .2s; }
.info-card:hover { background: var(--gold-soft); }
.info-card .icon { margin-bottom: .5rem; }
.info-card strong { font-weight: 600; }
.info-card span:last-child { font-size: .875rem; color: var(--muted); }
@media (max-width: 700px) {
	.info { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
	.info-card { flex-direction: row; text-align: left; gap: 0 14px; padding: 1rem 1.25rem; border-radius: 1rem; display: grid; grid-template-columns: auto 1fr; }
	.info-card .icon { grid-row: span 2; margin: 0; }
	.info-card .icon svg { width: 32px; height: 32px; }
}

/* ---- Alt bilgi (goldes .main-footer) ---- */
.site-footer { background: var(--footer); color: #fff; font-size: .875rem; overflow: hidden; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 3.5rem 0 2.5rem; }
.footer-icon { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.footer-icon .glow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.footer-icon .heart { position: relative; width: 38px; }
.footer-brand .wordmark { width: 120px; }
.footer-contact { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #e0e0e0; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; }
.footer-bottom p { margin: 0; }
.socials { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.socials a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; color: #e0e0e0; transition: background-color .2s; }
.socials a:hover { color: #fff; background: rgba(255,255,255,.1); }
.footer-site { color: #bdbdbd; }
.footer-site:hover { color: var(--gold); }
@media (max-width: 700px) { .footer-bottom { flex-direction: column; text-align: center; } }

@media (prefers-reduced-motion: reduce) {
	.live .dot, .price.is-flash, .spot.is-flash, .spot.is-skeleton, .skeleton-rows span { animation: none; }
}
