/* =========================================================
   CryptoTakas — OKX-esinli minimalist tema
   - Pure black, generous whitespace, ince çizgiler, büyük tipografi
   ========================================================= */

:root, [data-theme="dark"] {
  --bg:           #0E0E0E;
  --bg-elev:      #141414;
  --bg-card:      #161616;
  --bg-hover:     #1F1F1F;
  --bg-input:     #1A1A1A;
  --border:       #232323;
  --border-soft:  #1A1A1A;

  --text:         #FFFFFF;
  --text-soft:    #B5B5B5;
  --text-mute:    #707070;
  --text-faint:   #4A4A4A;

  --accent:       #F0B90B;   /* altın sarısı - kullanıcı isteği */
  --accent-soft:  #1F1A0A;
  --green:        #20B26C;   /* OKX yeşili (buy) */
  --green-soft:   #0D2018;
  --red:          #F7544D;   /* OKX kırmızısı (sell) */
  --red-soft:     #2A0F0E;
  --blue:         #4990FF;
  --warn:         #FFB020;

  --radius:       8px;
  --radius-sm:    4px;
  --radius-lg:    12px;
  --shadow-sm:    none;
  --shadow:       0 16px 40px rgba(0,0,0,.5);

  --container:    1200px;
}

[data-theme="light"] {
  --bg:           #FFFFFF;
  --bg-elev:      #FAFAFA;
  --bg-card:      #FFFFFF;
  --bg-hover:    #F4F4F4;
  --bg-input:     #F8F8F8;
  --border:       #EBEBEB;
  --border-soft:  #F2F2F2;

  --text:         #0F0F0F;
  --text-soft:    #4A4A4A;
  --text-mute:    #8B8B8B;
  --text-faint:   #BFBFBF;

  --accent-soft:  #FEF7E0;
  --green-soft:   #E6F7EF;
  --red-soft:     #FBE8E7;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-feature-settings: 'cv02','cv03','cv04','cv11'; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
hr { border: none; border-top: 1px solid var(--border); }

h1, h2, h3, h4, h5 { letter-spacing: -0.025em; line-height: 1.25; margin-top: 0; }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; }
h4 { font-size: 14px; font-weight: 600; }

code { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.9em; }

/* ---------- Container ---------- */
.container, .container-md, .container-sm {
  margin: 0 auto;
  padding: 0 24px;
}
.container    { max-width: var(--container); }
.container-md { max-width: 880px; }
.container-sm { max-width: 520px; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 14px 24px; max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-img {
  height: 76px; width: auto; display: block;
  transition: transform .2s;
}
.brand:hover .brand-img { transform: scale(1.04); }
.nav-inner { padding: 6px 24px; min-height: 84px; }
@media (max-width: 600px) {
  .brand-img { height: 56px; }
  .nav-inner { min-height: 64px; }
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link {
  color: var(--text-soft); padding: 8px 14px;
  font-weight: 500; font-size: 14px;
  border-radius: 6px;
}
.nav-link:hover { color: var(--text); background: var(--bg-hover); }
.nav-link.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 9px 16px; border-radius: var(--radius);
  font-weight: 600; font-size: 13px; line-height: 1;
  transition: background .12s, color .12s, border-color .12s;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 13px 24px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #0E0E0E; }
.btn-primary:hover { background: #FFC828; color: #0E0E0E; }

.btn-secondary { background: var(--bg-hover); color: var(--text); }
.btn-secondary:hover { background: #2A2A2A; }
[data-theme="light"] .btn-secondary:hover { background: #EAEAEA; }

.btn-ghost { color: var(--text-soft); background: transparent; }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text); }

.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #1B9A5C; }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #DD4842; }

.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--text-soft); }

/* Tema toggle */
.theme-toggle {
  width: 36px; height: 36px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text-soft);
  font-size: 16px;
}
.theme-toggle:hover { background: var(--bg-hover); color: var(--text); }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; margin-bottom: 8px;
  color: var(--text-soft); font-size: 13px; font-weight: 500;
}
.form-control {
  width: 100%; padding: 12px 14px;
  background: var(--bg-input); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; transition: border-color .12s, background .12s;
  outline: none;
}
.form-control:hover { border-color: var(--text-faint); }
.form-control:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.form-control::placeholder { color: var(--text-mute); }
textarea.form-control { resize: vertical; min-height: 96px; }
.form-help { font-size: 12px; color: var(--text-mute); margin-top: 6px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 6px; }

.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); border-right: 0; }
.input-group-append {
  padding: 0 16px; display: flex; align-items: center;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-soft); font-weight: 600; font-size: 13px;
}

/* ---------- CARD ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.card-title { font-size: 16px; font-weight: 700; margin: 0; color: var(--text); }
.card-subtitle { color: var(--text-mute); font-size: 13px; margin-top: 4px; }

/* ---------- HERO ---------- */
.hero {
  padding: 80px 24px 60px;
  text-align: left;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: 17px; color: var(--text-soft);
  max-width: 540px; margin: 0 0 32px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  background: linear-gradient(135deg, rgba(240,185,11,.06), transparent 60%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- BIG STAT NUMBERS ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}
.stat-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-label { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.stat-value { font-size: 28px; font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; }
.stat-delta { font-size: 12px; margin-top: 4px; }
.stat-delta.up { color: var(--green); }
.stat-delta.down { color: var(--red); }

/* ---------- TABLES ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 14px 16px; text-align: left; }
.table th {
  color: var(--text-mute);
  font-weight: 500; font-size: 12px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.table td { border-bottom: 1px solid var(--border-soft); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-hover); }

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-gold  { background: var(--accent-soft); color: var(--accent); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red   { background: var(--red-soft); color: var(--red); }
.badge-blue  { background: rgba(73,144,255,.12); color: var(--blue); }
.badge-gray  { background: var(--bg-hover); color: var(--text-soft); }

/* ---------- FLASH ---------- */
.flash {
  padding: 14px 18px; margin-bottom: 18px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.flash-success { background: var(--green-soft); color: var(--green); border-color: rgba(32,178,108,.2); }
.flash-error   { background: var(--red-soft); color: var(--red); border-color: rgba(247,84,77,.2); }
.flash-warning { background: rgba(255,176,32,.08); color: var(--warn); border-color: rgba(255,176,32,.2); }
.flash-info    { background: rgba(73,144,255,.08); color: var(--blue); border-color: rgba(73,144,255,.2); }

/* ---------- LISTING ROWS ---------- */
.listings-grid { display: flex; flex-direction: column; }
.listing-card {
  background: transparent;
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 0;
  display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.2fr auto;
  align-items: center; gap: 20px;
  transition: background .12s;
}
.listing-card:hover { background: var(--bg-hover); }
.listing-user { display: flex; align-items: center; gap: 12px; padding-left: 16px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-hover); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; flex-shrink: 0;
}
.user-meta .name { font-weight: 600; color: var(--text); font-size: 14px; }
.user-meta .stats { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.listing-price { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.listing-amount { font-size: 13px; color: var(--text-mute); }
.listing-card .btn { margin-right: 16px; }

@media (max-width: 880px) {
  .listing-card { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 24px 40px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2n) { border-right: none; }
}

/* ---------- AUTH ---------- */
.auth-wrap {
  min-height: calc(100vh - 80px); display: flex;
  align-items: center; justify-content: center; padding: 40px 24px;
}
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  width: 100%; max-width: 440px;
}
.auth-card h1 {
  font-size: 28px; margin: 0 0 8px; font-weight: 700;
  letter-spacing: -0.025em;
}
.auth-card .sub { color: var(--text-mute); margin-bottom: 28px; font-size: 14px; }
.auth-card .alt {
  text-align: center; margin-top: 22px;
  font-size: 13px; color: var(--text-soft);
}
.auth-card .alt a { color: var(--accent); }

/* ---------- DASHBOARD GRID ---------- */
.dash-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.balance-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: border-color .12s;
}
.balance-card:hover { border-color: var(--text-faint); }
.balance-coin {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.coin-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-hover);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--accent); font-size: 12px;
}
.balance-amt { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.balance-locked { font-size: 12px; color: var(--text-mute); margin-top: 6px; }

/* ---------- CHAT ---------- */
.chat-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; height: 540px;
}
.chat-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.chat-msgs {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.msg { display: flex; max-width: 78%; }
.msg-bubble {
  padding: 10px 14px; border-radius: 12px;
  background: var(--bg-hover); color: var(--text);
  font-size: 14px; word-wrap: break-word;
  line-height: 1.4;
}
.msg-time { font-size: 11px; color: var(--text-mute); margin-top: 4px; padding: 0 6px; }
.msg.mine { align-self: flex-end; }
.msg.mine .msg-bubble { background: var(--accent); color: #0E0E0E; }
.msg.system { align-self: center; max-width: 92%; }
.msg.system .msg-bubble {
  background: transparent; color: var(--text-mute);
  font-size: 12px; font-style: italic; padding: 6px 12px;
}
.chat-form {
  padding: 14px; border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.chat-form .form-control { flex: 1; }

/* ---------- ORDER STEPS ---------- */
.steps {
  display: flex; gap: 0; margin-bottom: 28px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}
.step {
  flex: 1; padding: 16px 20px;
  font-size: 13px;
  display: flex; align-items: center; gap: 12px;
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step.active { background: var(--accent-soft); }
.step.done { background: var(--green-soft); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-hover); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--text-mute);
}
.step.active .step-num { background: var(--accent); color: #0E0E0E; }
.step.done .step-num { background: var(--green); color: #fff; }

/* ---------- SUPPORT WIDGET ---------- */
.support-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #0E0E0E;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 12px 32px rgba(240,185,11,.3);
  cursor: pointer; transition: transform .15s;
}
.support-fab:hover { transform: scale(1.05); }

.support-modal {
  position: fixed; right: 24px; bottom: 92px; z-index: 91;
  width: 380px; max-width: calc(100vw - 48px);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display: none; flex-direction: column; max-height: 78vh;
}
.support-modal.open { display: flex; }
.support-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.support-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.support-body { padding: 20px; flex: 1; overflow-y: auto; }
.support-choice { display: flex; flex-direction: column; gap: 10px; }
.support-choice button {
  padding: 16px; border-radius: var(--radius); text-align: left;
  border: 1px solid var(--border); background: var(--bg-elev);
  display: flex; gap: 14px; align-items: center;
  transition: all .12s;
}
.support-choice button:hover { border-color: var(--accent); background: var(--bg-hover); }
.support-choice .ic {
  font-size: 22px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-hover); border-radius: 50%;
}
.support-choice .ttl { font-weight: 600; color: var(--text); font-size: 14px; }
.support-choice .dsc { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

.video-frame {
  width: 100%; aspect-ratio: 16/9; background: #000;
  border-radius: var(--radius); overflow: hidden; margin-bottom: 12px;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECTION HEADER (OKX tarzı tab şeridi) ---------- */
.section-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.section-tabs a, .section-tabs .tab {
  padding: 14px 20px; font-weight: 600; font-size: 14px;
  color: var(--text-mute); position: relative;
  text-decoration: none; cursor: pointer;
}
.section-tabs a:hover, .section-tabs .tab:hover { color: var(--text); }
.section-tabs a.active, .section-tabs .tab.active { color: var(--text); }
.section-tabs a.active::after, .section-tabs .tab.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

/* ---------- LOADING ---------- */
.spinner {
  width: 16px; height: 16px; border: 2px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- UTIL ---------- */
.text-mute { color: var(--text-mute); }
.text-soft { color: var(--text-soft); }
.text-accent, .text-gold { color: var(--accent); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-1 { flex: 1; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.hidden { display: none !important; }
.full-w { width: 100%; }

/* ---------- FEATURE CARD (ana sayfa) ---------- */
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color .12s, transform .12s;
}
.feature-card:hover { border-color: var(--text-faint); }
.feature-card .ic {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.feature-card p { color: var(--text-soft); font-size: 13px; margin: 0; line-height: 1.55; }

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 80px; padding: 56px 24px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  font-size: 13px; color: var(--text); margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.footer-col a, .footer-col p {
  display: block; color: var(--text-mute); font-size: 13px;
  padding: 4px 0; line-height: 1.7;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--container); margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-mute); font-size: 12px;
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 880px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 22px 28px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 15px;
  color: var(--text);
  user-select: none;
}
.faq-q:hover { background: var(--bg-hover); }
.faq-q .icon {
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative;
  transition: transform .2s;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: ''; position: absolute; background: var(--text-mute);
  transition: background .15s;
}
.faq-q .icon::before { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.faq-q .icon::after  { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }
.faq-item.open .faq-q .icon::before { display: none; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q .icon::after { background: var(--accent); }
.faq-a {
  padding: 0 28px; max-height: 0; overflow: hidden;
  color: var(--text-soft); font-size: 14px; line-height: 1.7;
  transition: all .2s;
}
.faq-item.open .faq-a {
  padding: 0 28px 22px;
  max-height: 500px;
}

/* ---------- HOW IT WORKS Steps ---------- */
.how-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 32px;
}
.how-step {
  position: relative;
}
.how-step .step-no {
  font-size: 60px; font-weight: 800; color: var(--accent);
  line-height: 1; opacity: .35; letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.how-step h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.how-step p { color: var(--text-soft); font-size: 13px; margin: 0; line-height: 1.6; }

/* ---------- SECTION HEADING ---------- */
.section {
  padding: 80px 0;
}
.section-head {
  text-align: center; margin-bottom: 48px;
}
.section-head .label {
  display: inline-block; padding: 6px 14px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 999px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(24px, 3.5vw, 38px); font-weight: 700;
  letter-spacing: -0.025em; margin: 0 0 12px;
}
.section-head p {
  color: var(--text-soft); font-size: 16px;
  max-width: 600px; margin: 0 auto;
}

/* ---------- CTA BAR ---------- */
.cta-bar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px;
  text-align: center; margin: 80px 0 0;
}
.cta-bar h2 { font-size: 28px; margin-bottom: 12px; }
.cta-bar p { color: var(--text-soft); margin-bottom: 24px; }
@media (max-width: 600px) {
  .cta-bar { padding: 36px 24px; }
}

/* ---------- MAIN CONTENT ---------- */
main.container {
  padding-top: 32px;
  padding-bottom: 56px;
}

/* ---------- ICONS (basit SVG inline kullan) ---------- */
.ic-svg { width: 18px; height: 18px; vertical-align: middle; }

/* ---------- TOAST BİLDİRİM ---------- */
.toast-wrap {
  position: fixed; top: 80px; right: 20px;
  z-index: 10000;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.toast {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 280px; max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px;
  animation: toast-in .25s ease;
  position: relative;
}
.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: var(--red); }
.toast.warning { border-left-color: var(--warn); }
.toast.info    { border-left-color: var(--blue); }
.toast .toast-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; font-weight: 700;
}
.toast.success .toast-icon { background: rgba(32,178,108,.15); color: var(--green); }
.toast.error   .toast-icon { background: rgba(247,84,77,.15); color: var(--red); }
.toast.warning .toast-icon { background: rgba(255,176,32,.15); color: var(--warn); }
.toast.info    .toast-icon { background: rgba(73,144,255,.15); color: var(--blue); }
.toast .toast-msg { flex: 1; line-height: 1.4; color: var(--text); }
.toast .toast-close {
  background: transparent; color: var(--text-mute);
  width: 22px; height: 22px; border-radius: 4px;
  cursor: pointer; flex-shrink: 0;
}
.toast .toast-close:hover { background: var(--bg-hover); color: var(--text); }
.toast.fade-out { animation: toast-out .25s ease forwards; }

@keyframes toast-in {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(120%); opacity: 0; }
}

/* ---------- CONFIRM / ALERT MODAL ---------- */
.cmodal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: cmodal-fade .15s ease;
}
.cmodal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 440px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: cmodal-pop .2s ease;
}
.cmodal h3 {
  margin: 0 0 12px; font-size: 18px; color: var(--text);
}
.cmodal p {
  margin: 0 0 24px; color: var(--text-soft); font-size: 14px; line-height: 1.6;
}
.cmodal-actions {
  display: flex; gap: 10px; justify-content: flex-end;
}
.cmodal-actions .btn { min-width: 100px; }
.cmodal.danger h3 { color: var(--red); }
.cmodal.success h3 { color: var(--green); }
.cmodal.warning h3 { color: var(--warn); }

@keyframes cmodal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmodal-pop {
  from { transform: scale(.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ---------- VIEW TRANSITIONS — DAİRESEL TEMA GEÇİŞİ ---------- */
@supports (view-transition-name: root) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
  }
  ::view-transition-old(root) { z-index: 1; }
  ::view-transition-new(root) { z-index: 2; }
}

/* ---------- TICKER BAR (Üst kayan kripto fiyatlari) ---------- */
.ticker-bar {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  z-index: 99;
}
.ticker-track {
  display: flex; gap: 36px;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  padding-left: 100%;
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-soft);
  font-weight: 500;
}
.ticker-item .ic {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-card); border-radius: 50%;
  color: var(--accent); font-weight: 700; font-size: 11px;
}
.ticker-item .sym { color: var(--text-mute); font-weight: 500; }
.ticker-item .px { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ticker-item .px.up { color: var(--green); }
.ticker-item .px.down { color: var(--red); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: transparent;
}
.hamburger:hover { background: var(--bg-hover); }
.hamburger span {
  width: 20px; height: 2px; background: var(--text);
  border-radius: 1px; transition: transform .2s;
}
@media (max-width: 880px) {
  .hamburger { display: flex; }
  .hide-mobile { display: none !important; }
}

.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 200; display: none;
}
.mobile-overlay.open { display: block; }
.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 280px; max-width: 80vw;
  background: var(--bg-card); border-right: 1px solid var(--border);
  z-index: 201; transform: translateX(-100%);
  transition: transform .25s;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu-links {
  display: flex; flex-direction: column;
  padding: 12px;
}
.mobile-menu-links a {
  padding: 14px 16px; border-radius: var(--radius);
  font-weight: 500; font-size: 15px;
  color: var(--text); text-decoration: none;
}
.mobile-menu-links a:hover { background: var(--bg-hover); }

/* ---------- BİLDİRİM ÇANI ---------- */
.notif-wrap { position: relative; }
.notif-btn {
  width: 38px; height: 38px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-soft); position: relative;
  background: transparent;
}
.notif-btn:hover { background: var(--bg-hover); color: var(--text); }
.notif-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--red); color: #fff;
  border-radius: 10px;
  min-width: 18px; height: 18px;
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.notif-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 380px; max-width: calc(100vw - 32px);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display: none; max-height: 480px;
  flex-direction: column;
  z-index: 150;
}
.notif-dropdown.open { display: flex; }
.notif-head {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.notif-list {
  flex: 1; overflow-y: auto;
}
.notif-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  display: block;
  text-decoration: none; color: inherit;
  position: relative;
  transition: background .12s;
}
.notif-item:hover { background: var(--bg-hover); }
.notif-item.unread { background: rgba(240,185,11,.04); }
.notif-item.unread::before {
  content: ''; position: absolute;
  left: 6px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.notif-item .nt { font-weight: 600; font-size: 13px; color: var(--text); }
.notif-item .nm { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.notif-item .ng { font-size: 11px; color: var(--text-faint); margin-top: 4px; }
