:root {
  --bg: #f5f1e8;
  --bg-card: #fffdf7;
  --ink: #1a1612;
  --ink-soft: #5a5248;
  --ink-muted: #8b8275;
  --accent: #c4622d;
  --accent-deep: #8b3a0e;
  --up: #4a7c3f;
  --up-bg: #e8f0e3;
  --down: #b8442d;
  --down-bg: #f5e3dd;
  --neutral: #7a7565;
  --line: #d4cab8;
  --line-soft: #e8e0cf;
  --shadow: 0 2px 0 rgba(26,22,18,0.04), 0 12px 32px -8px rgba(26,22,18,0.08);
  --shadow-card: 0 1px 0 rgba(26,22,18,0.04), 0 24px 48px -16px rgba(26,22,18,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 10%, rgba(196,98,45,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(74,124,63,0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  position: relative;
  z-index: 1;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 28px;
  font-style: italic;
  line-height: 1;
}

.brand-text h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-text p {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a {
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.15s;
}

.main-nav a:hover { color: var(--ink); background: var(--bg-card); }
.main-nav a.active { background: var(--ink); color: var(--bg); }

.meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--up);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* PAGE HEADER */
.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--ink-muted);
  font-size: 16px;
}

/* HERO PRICE */
.hero {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px 40px 32px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: 'COTTON';
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 220px;
  color: var(--ink);
  opacity: 0.03;
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.price-main {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.price-main .unit {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-left: 8px;
}

.price-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.price-meta-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
}

.price-meta-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-top: 2px;
}

/* CHANGE TILES */
.changes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.change-tile {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  padding: 16px;
  text-align: center;
}

.change-tile.up { background: var(--up-bg); border-color: var(--up); }
.change-tile.down { background: var(--down-bg); border-color: var(--down); }

.change-tile .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.change-tile .value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.change-tile.up .value { color: var(--up); }
.change-tile.down .value { color: var(--down); }

.arrow { font-size: 14px; margin-right: 2px; }

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  margin-bottom: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.card .subtitle {
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* KUTLU TABLE */
.kutlu-table {
  width: 100%;
  border-collapse: collapse;
}

.kutlu-table tr {
  border-bottom: 1px solid var(--line-soft);
}

.kutlu-table tr:last-child { border-bottom: none; }

.kutlu-table tr.featured {
  background: linear-gradient(90deg, rgba(196,98,45,0.06), transparent);
}

.kutlu-table td {
  padding: 14px 0;
  font-family: 'JetBrains Mono', monospace;
}

.kutlu-table .rand-badge {
  display: inline-block;
  width: 44px;
  height: 28px;
  background: var(--ink);
  color: var(--bg);
  line-height: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.kutlu-table tr.featured .rand-badge { background: var(--accent); }

.kutlu-table .fiyat {
  text-align: right;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.kutlu-table .fiyat .currency {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 400;
  margin-left: 4px;
}

/* CHART */
.chart-wrap {
  height: 280px;
  position: relative;
}

/* INFO ROW */
.info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 20px;
}

.info-card .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.info-card .value {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.info-card .value .small {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: 'Inter', sans-serif;
  margin-left: 4px;
  font-weight: 400;
}

/* TREND BANNER */
.trend-banner {
  background: var(--ink);
  color: var(--bg);
  padding: 24px 32px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trend-banner .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-bottom: 4px;
}

.trend-banner .text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.01em;
}

.trend-banner .text.up-strong, .trend-banner .text.up { color: #a8d49a; }
.trend-banner .text.down-strong, .trend-banner .text.down { color: #e8a896; }

.trend-banner .desc {
  font-size: 13px;
  opacity: 0.7;
  max-width: 400px;
  text-align: right;
}

/* FILTER BAR */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-right: 8px;
}

.filter-chip {
  text-decoration: none;
  padding: 8px 16px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-soft);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.15s;
}

.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* DATA TABLE */
.table-scroll {
  overflow-x: auto;
  margin: 0 -28px;
  padding: 0 28px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.data-table th {
  text-align: left;
  padding: 12px 16px 12px 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.data-table th.num, .data-table td.num { text-align: right; padding-right: 0; }

.data-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.data-table tr:hover td { background: rgba(196,98,45,0.03); }
.data-table .pos { color: var(--up); }
.data-table .neg { color: var(--down); }

/* FOOTER */
.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 28px; }
  .hero::before { font-size: 140px; }
  .price-main { font-size: 64px; }
  .grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: repeat(2, 1fr); }
  .trend-banner .text { font-size: 24px; }
  .site-header { flex-direction: column; align-items: flex-start; }
  .page-header h1 { font-size: 36px; }
}

@media (max-width: 480px) {
  .wrap { padding: 20px 16px 40px; }
  .price-main { font-size: 52px; }
  .changes { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; }
  .main-nav { width: 100%; justify-content: stretch; }
  .main-nav a { flex: 1; text-align: center; }
}

/* FADE IN */
.wrap > * { animation: fadeUp 0.5s ease-out backwards; }
.wrap > *:nth-child(1) { animation-delay: 0.0s; }
.wrap > *:nth-child(2) { animation-delay: 0.06s; }
.wrap > *:nth-child(3) { animation-delay: 0.12s; }
.wrap > *:nth-child(4) { animation-delay: 0.18s; }
.wrap > *:nth-child(5) { animation-delay: 0.24s; }
.wrap > *:nth-child(6) { animation-delay: 0.30s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SECTION TITLES */
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* RANGE SELECTOR */
.range-selector {
  display: flex;
  gap: 4px;
  background: var(--bg);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.range-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
}

.range-btn:hover:not(:disabled) { color: var(--ink); }
.range-btn.active { background: var(--ink); color: var(--bg); }
.range-btn:disabled { opacity: 0.5; cursor: wait; }

/* CALCULATOR */
.calc-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #faf6ec 100%);
}

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-form .form-group {
  margin: 0;
}

.calc-form .form-group label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.calc-form input {
  width: 100%;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  border-radius: 4px;
  transition: border-color 0.15s;
}

.calc-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-result {
  background: var(--ink);
  color: var(--bg);
  padding: 20px;
  border-radius: 4px;
  margin-top: 8px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
}

.calc-row.featured {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
  padding-top: 16px;
}

.calc-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.calc-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 18px;
  color: var(--bg);
}

.calc-value.big {
  font-size: 28px;
  color: var(--accent);
}

.currency-sm {
  font-size: 11px;
  opacity: 0.6;
  font-weight: 400;
  margin-left: 4px;
}

.calc-formula {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* STATS SECTION */
.stats-section {
  margin-bottom: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-mini {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.stat-mini::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.stat-mini .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.stat-mini .value {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-mini .value .unit {
  font-size: 14px;
  color: var(--ink-muted);
  margin-left: 4px;
}

.stat-mini .change {
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-mini .change.pos { color: var(--up); }
.stat-mini .change.neg { color: var(--down); }

/* YEARLY GRID */
.yearly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.yearly-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  border-radius: 4px;
  position: relative;
}

.yearly-card.highlight {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.yearly-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.yearly-card.highlight .yearly-label {
  color: rgba(245,241,232,0.5);
}

.yearly-price {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.yearly-change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
}

.yearly-change.pos { color: var(--up); }
.yearly-change.neg { color: var(--down); }

.yearly-text {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.yearly-card.highlight .yearly-text {
  color: rgba(245,241,232,0.5);
}

/* BOLGE GRID */
.bolge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.bolge-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 4px;
  transition: all 0.2s;
  position: relative;
}

.bolge-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.bolge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bolge-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.bolge-rand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--ink);
  color: var(--bg);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.bolge-price {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.bolge-unit {
  font-size: 12px;
  color: var(--ink-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin-left: 4px;
}

.bolge-diff {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bolge-diff.pos { color: var(--up); }
.bolge-diff.neg { color: var(--down); }

.bolge-aciklama {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.bolge-time {
  font-size: 10px;
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
  margin-top: 12px;
}

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.news-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.news-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--line-soft);
  color: var(--ink-soft);
}

.news-cat-duyuru { background: #e0d3b8; color: #5a4520; }
.news-cat-haber { background: var(--up-bg); color: #2d5025; }
.news-cat-yorum { background: #e8e0cf; color: var(--ink-soft); }
.news-cat-analiz { background: var(--down-bg); color: #6b1f10; }

.news-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-muted);
}

.news-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}

.news-summary {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* SSS */
.sss-list {
  margin-top: 8px;
}

.sss-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}

.sss-item:last-child { border-bottom: none; }

.sss-soru {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  transition: color 0.15s;
}

.sss-soru::-webkit-details-marker { display: none; }
.sss-soru:hover { color: var(--accent); }

.sss-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sss-item[open] .sss-icon {
  background: var(--accent);
  transform: rotate(180deg);
}

.sss-cevap {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding: 0 0 20px 44px;
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .yearly-grid { grid-template-columns: 1fr; }
  .bolge-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-form { grid-template-columns: 1fr; }
  .range-selector { flex-wrap: wrap; }
  .section-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .bolge-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .sss-cevap { padding-left: 0; }
  .yearly-price { font-size: 28px; }
}

/* ============================================
   ADMIN PANELI
   ============================================ */

.admin-body { background: var(--bg); }

.admin-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--ink);
  color: var(--bg);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-sidebar .brand-mark {
  background: var(--accent);
  color: var(--ink);
  margin-bottom: 24px;
}

.admin-sidebar h2 {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 32px;
  padding: 0 8px;
  color: var(--bg);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: rgba(245,241,232,0.6);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s;
}

.admin-nav a:hover { background: rgba(255,255,255,0.05); color: var(--bg); }
.admin-nav a.active { background: var(--accent); color: white; }

.admin-nav .icon { font-size: 16px; opacity: 0.8; }

.admin-sidebar .logout {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(245,241,232,0.5);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  text-align: center;
}

.admin-sidebar .logout:hover { color: var(--accent); border-color: var(--accent); }

.admin-content {
  padding: 32px 40px;
  max-width: 100%;
  overflow-x: hidden;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-header h1 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.admin-header p {
  color: var(--ink-muted);
  font-size: 13px;
  margin-top: 4px;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 4px;
}

.stat-card .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.stat-card .value {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-card .change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-top: 8px;
}
.stat-card .change.pos { color: var(--up); }
.stat-card .change.neg { color: var(--down); }

/* LOGIN */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--bg);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-card);
}

.login-card .brand {
  justify-content: center;
  margin-bottom: 32px;
  text-decoration: none;
}

.login-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  text-align: center;
  margin-bottom: 24px;
}

/* FORMS */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 4px;
  transition: border-color 0.15s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  font-family: inherit;
}

.btn:hover { background: var(--accent-deep); }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-danger { background: var(--down); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { background: var(--bg); border-color: var(--ink); }

/* ALERTS */
.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 3px solid;
}
.alert-success { background: var(--up-bg); border-color: var(--up); color: #2d5025; }
.alert-error { background: var(--down-bg); border-color: var(--down); color: #6b1f10; }
.alert-info { background: #f0ece0; border-color: var(--accent); color: var(--accent-deep); }

/* ADMIN RESPONSIVE */
@media (max-width: 880px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .admin-sidebar .logout { position: relative; bottom: auto; margin-top: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-content { padding: 24px 20px; }
}
