:root {
  --bg: #0b0b0d;
  --surface: #121216;
  --surface-2: #17171c;
  --text: #e6e6e9;
  --text-dim: #a7a7b1;
  --border: #26262c;
  --up: #16c784;
  --down: #ef4444;
  --gold-1: #c3953f;
  --gold-2: #ffd166;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at -10% -20%, rgba(255, 209, 102, 0.06), transparent 60%),
    radial-gradient(1000px 500px at 110% 120%, rgba(255, 209, 102, 0.04), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, rgba(11,11,13,0.85), rgba(11,11,13,0.6)); backdrop-filter: saturate(170%) blur(10px); border-bottom: 1px solid rgba(255,209,102,0.15); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-mark { display: block; }
.brand-name { letter-spacing: 0.2px; }

.site-nav { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.nav-list { display: flex; align-items: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--text-dim); text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.nav-list a:hover { color: var(--text); background: var(--surface); }

/* Hero */
/* Hero removed */

/* Ticker */
.ticker { border-bottom: 1px solid var(--border); }
.ticker .container { overflow: hidden; }
.ticker-line { display: flex; gap: 28px; padding: 10px 0; list-style: none; margin: 0; color: var(--text-dim); }
.ticker-line li { white-space: nowrap; }
.chg { font-weight: 600; margin-left: 6px; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }

/* Sections */
.section { padding: 32px 0; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 20px; }
.section-actions { display: flex; gap: 8px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.asset-card { background: radial-gradient(120% 120% at 20% 0%, rgba(23,23,28,0.95) 0%, rgba(18,18,22,0.92) 60%, rgba(18,18,22,0.9) 100%); border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.asset-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); border-color: rgba(255,209,102,0.20); }
.asset-card .ribbon { position: absolute; top: 10px; left: 10px; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #0b0b0d; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px solid #f5d99d; box-shadow: 0 2px 8px rgba(0,0,0,0.25); font-size: 11px; }
.asset-card .ribbon.trend { left: auto; right: 10px; border-radius: 999px; }
.asset-card .ribbon.down { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; border-color: #ff7b7b; }
.asset-card .ribbon.up { background: linear-gradient(135deg, #22e0a3, #16c784); color: #072a1c; border-color: #7df1cf; }
.asset-card[hidden] { display: none; }
.asset-card header { display: flex; align-items: center; justify-content: space-between; }
.badge { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #0b0b0d; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid #f5d99d; letter-spacing: .2px; }
.price { font-size: 24px; font-weight: 800; letter-spacing: .2px; }
.change { font-size: 14px; color: var(--text-dim); }
.change.up { color: var(--up); }
.change.down { color: var(--down); }
.sparkline { height: 52px; border-radius: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 6px, transparent 6px, transparent 12px); border: 1px dashed rgba(255,255,255,0.08); }

/* Ultra Premium Chart Styles */
.chart-placeholder { 
  height: 450px; 
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(255, 209, 102, 0.08) 50%, var(--surface-2) 100%); 
  border-radius: 20px; 
  border: 2px solid rgba(255, 209, 102, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 209, 102, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.chart-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 209, 102, 0.08) 0%, transparent 40%),
    linear-gradient(45deg, transparent 30%, rgba(255, 209, 102, 0.03) 50%, transparent 70%);
  pointer-events: none;
  animation: premiumGlow 8s ease-in-out infinite alternate;
}

.chart-placeholder::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    rgba(255, 209, 102, 0.4) 0%, 
    transparent 25%, 
    transparent 75%, 
    rgba(255, 209, 102, 0.4) 100%);
  border-radius: 22px;
  z-index: -1;
  animation: premiumBorder 6s linear infinite;
}

@keyframes premiumGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes premiumBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sparkline-container {
  position: relative;
  z-index: 1;
}

/* Premium button styles */
.section-actions .btn {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 209, 102, 0.1) 100%);
  border: 1px solid rgba(255, 209, 102, 0.3);
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-actions .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.2), transparent);
  transition: left 0.5s ease;
}

.section-actions .btn:hover::before {
  left: 100%;
}

.section-actions .btn:hover {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.1) 0%, rgba(255, 209, 102, 0.2) 100%);
  border-color: rgba(255, 209, 102, 0.5);
  box-shadow: 0 4px 20px rgba(255, 209, 102, 0.2);
  transform: translateY(-2px);
}

.section-actions .btn.btn-primary {
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  border: 1px solid #f5d99d;
  color: #0b0b0d;
  font-weight: 700;
  box-shadow: 
    0 4px 20px rgba(255, 209, 102, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.asset-card footer { display: flex; gap: 8px; margin-top: auto; }

/* FAQ (SSS) */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item[open] { border-color: rgba(255,209,102,0.35); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.faq-q { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; margin-left: auto; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #0b0b0d; font-weight: 800; width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #f5d99d; }
.faq-item[open] .faq-q::after { content: '–'; }
.faq-a { padding: 0 16px 16px; color: var(--text-dim); line-height: 1.7; }

/* Buttons */
.btn { font: inherit; cursor: pointer; border-radius: 12px; padding: 10px 14px; border: 1px solid var(--border); color: var(--text); background: linear-gradient(180deg, #17171c, #14141a); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .15s ease, box-shadow .2s ease; }
.btn:hover { background: #1b1b22; }
.btn-primary { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); border: 1px solid #f5d99d; color: #0b0b0d; font-weight: 800; box-shadow: 0 6px 24px rgba(255,209,102,.25); }
.btn-primary:hover { filter: brightness(1.02); }
.btn-secondary { background: #1a1a1f; }
.btn-ghost { background: transparent; }

/* Gold category accent ring */
.asset-card[data-cat="altin"] { position: relative; }
.asset-card[data-cat="altin"]::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; border: 1px solid rgba(255,209,102,0.14); box-shadow: inset 0 0 0 1px rgba(255,209,102,0.06); }

/* Category icon */
.cat-icon { font-size: 20px; margin-right: 8px; display: inline-block; vertical-align: middle; }

/* Forms */
.alarm-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.alarm-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-dim); }
.alarm-form input, .alarm-form select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.news-card h3 { margin: 0 0 8px; font-size: 16px; }
.news-card p { margin: 0; color: var(--text-dim); }

/* Contact form */
.contact-form { display: grid; gap: 12px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-dim); }
.contact-form input,
.contact-form textarea { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .full { grid-column: span 2; }
.contact-form .consent { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
@media (max-width: 640px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: span 1; }
}

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 280px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); border-color: rgba(255,209,102,0.20); }
.blog-card h3 { margin: 0; font-size: 16px; line-height: 1.4; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--gold-2); }
.blog-card .meta { color: var(--text-dim); font-size: 12px; margin-bottom: 4px; }
.blog-card .excerpt { color: var(--text-dim); line-height: 1.6; font-size: 13px; margin-bottom: auto; flex: 1; }
.blog-card .btn { margin-top: 12px; align-self: flex-start; }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.site-footer a { color: var(--text-dim); text-decoration: none; margin-left: 12px; }
.site-footer a:hover { color: var(--text); }

/* SEO section */
.seo-article h2 { margin: 0 0 10px; font-size: 22px; color: var(--gold-2); }
.seo-article h3 { margin: 14px 0 8px; font-size: 16px; color: var(--text); }
.seo-article p { margin: 8px 0 10px; color: var(--text-dim); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: transparent; }
.seo-links, .seo-terms { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links a { color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); background: transparent; }
.seo-terms li { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text-dim); }

@media (max-width: 1024px) { .seo-article h2 { font-size: 20px; } }

/* Hide Tümü filter on mobile */
@media (max-width: 640px) {
  [data-filter-btn][data-filter="tum"] { display: none; }
}

/* Cookie consent */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px; }
.cookie-inner { max-width: var(--container); margin: 0 auto; display: flex; gap: 12px; align-items: center; justify-content: space-between; border: 1px solid rgba(255,209,102,0.25); border-radius: 16px; background: linear-gradient(180deg, rgba(23,23,28,0.95), rgba(18,18,22,0.92)); box-shadow: 0 16px 40px rgba(0,0,0,0.35); padding: 12px 14px; }
.cookie-text strong { color: var(--gold-2); display: block; margin-bottom: 4px; }
.cookie-text p { margin: 0; color: var(--text-dim); }
.cookie-link { color: var(--gold-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
}

/* Responsive – same components appear, only layout reflows */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 160px; }
  #hero-chart { height: 160px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-list { position: absolute; right: 16px; top: 64px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 8px; display: none; flex-direction: column; min-width: 180px; }
  .nav-list.show { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .alarm-form { grid-template-columns: 1fr; }
}


