@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

  :root {
    --bg: #F1F4EC;
    --panel: #FFFFFF;
    --ink: #1B211A;
    --ink-soft: #63705A;
    --olive: #556B3F;
    --olive-deep: #2D3921;
    --olive-pale: #DFE7D3;
    --olive-mid: #87A067;
    --line: #D3DCC5;
    --amber: #C98A2E;
    --amber-pale: #F3E3C6;
    --rust: #A65231;
    --red: #B3452F;
    --green: #4F7A3D;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { background: var(--bg); color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; }

  .ticker { background: var(--olive-deep); color: var(--panel); display: flex; align-items: center; padding: 7px 48px; font-family: 'JetBrains Mono'; font-size: 10.5px; letter-spacing: 0.5px; gap: 28px; overflow: hidden; }
  .ticker b { color: var(--amber-pale); }
  .ticker .live { display: flex; align-items: center; gap: 6px; }
  .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

  header { display: flex; align-items: center; justify-content: space-between; padding: 16px 48px; background: var(--panel); border-bottom: 2px solid var(--olive-deep); }
  .logo { display: flex; align-items: center; gap: 12px; }
  .logo-mark { width: 32px; height: 32px; background: var(--olive-deep); display: flex; align-items: center; justify-content: center; color: var(--panel); font-family: 'JetBrains Mono'; font-size: 12px; font-weight: 700; clip-path: polygon(0 0,100% 0,100% 75%,75% 100%,0 100%); }
  .logo-text { font-size: 18px; font-weight: 700; }
  nav { display: flex; gap: 2px; }
  nav a { color: var(--ink-soft); text-decoration: none; font-size: 12px; font-weight: 500; padding: 8px 14px; }
  nav a.active { color: var(--panel); background: var(--olive); }
  .head-right { display: flex; align-items: center; gap: 12px; }
  .head-search-form { position: relative; display: inline-flex; align-items: center; }
  .head-search-icon { position: absolute; left: 13px; width: 15px; height: 15px; color: var(--ink-soft); pointer-events: none; transition: color 0.2s ease; }
  .search-box {
    background: var(--bg); border: 1.5px solid var(--line); border-radius: 22px;
    padding: 9px 14px 9px 36px; font-family: 'Space Grotesk', sans-serif; font-size: 12.5px;
    color: var(--ink); width: 190px; transition: all 0.25s ease;
  }
  .search-box::placeholder { color: var(--ink-soft); }
  .search-box:focus { outline: none; border-color: var(--olive); background: var(--panel); width: 230px; box-shadow: 0 0 0 4px rgba(85,107,63,0.1); }
  .head-search-form:focus-within .head-search-icon { color: var(--olive); }
  .btn-mini { background: var(--olive-deep); color: var(--panel); border: none; padding: 8px 16px; font-size: 11.5px; font-weight: 600; cursor: pointer; }

  .body-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2px; background: var(--line); }

  .sidebar { background: var(--panel); padding: 26px 20px; position: sticky; top: 16px; align-self: start; max-height: calc(100vh - 32px); overflow-y: auto; }
  .side-block { margin-bottom: 28px; }
  .side-title { font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: 1px; color: var(--ink-soft); margin-bottom: 12px; }
  .side-link { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 12.5px; color: var(--ink); text-decoration: none; margin-bottom: 2px; }
  .side-link.on { background: var(--olive-pale); color: var(--olive-deep); font-weight: 600; }
  .side-link span { font-family: 'JetBrains Mono'; font-size: 10px; color: var(--ink-soft); }
  .mini-gauge { margin-bottom: 14px; }
  .mini-gauge .lbl { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 5px; }
  .mini-gauge .lbl b { color: var(--olive-deep); }
  .bar-track { height: 5px; background: var(--olive-pale); }
  .bar-fill { height: 5px; background: var(--olive); }

  .main-col { background: var(--bg); }

  .hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2px; background: var(--line); border-bottom: 1px solid var(--line); }
  .hero-main { background: var(--olive-deep); color: var(--panel); padding: 44px 40px; position: relative; overflow: hidden; }
  .hero-main::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 18px); }
  .hero-badge { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono'; font-size: 10.5px; letter-spacing: 1px; background: var(--amber); color: var(--olive-deep); padding: 5px 12px; margin-bottom: 20px; font-weight: 700; position: relative; }
  .hero-main h1 { font-size: 34px; font-weight: 700; line-height: 1.15; margin-bottom: 14px; position: relative; max-width: 440px; }
  .hero-main h1 span { color: var(--amber-pale); }
  .hero-main p { font-size: 13px; opacity: 0.8; max-width: 380px; line-height: 1.6; margin-bottom: 22px; position: relative; }
  .btn-row { display: flex; gap: 10px; position: relative; }
  .btn-p { background: var(--amber); color: var(--olive-deep); border: none; padding: 11px 22px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
  .btn-s { background: transparent; color: var(--panel); border: 1px solid rgba(255,255,255,0.35); padding: 11px 22px; font-size: 12.5px; font-weight: 600; cursor: pointer; }

  .hero-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 2px; background: var(--line); }
  .side-card { background: var(--panel); padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; position: relative; }
  .side-tag { font-family: 'JetBrains Mono'; font-size: 9.5px; letter-spacing: 1px; color: var(--olive); margin-bottom: 5px; display: flex; justify-content: space-between; }
  .side-card h4 { font-size: 13px; font-weight: 600; line-height: 1.3; }
  .side-card .num { position: absolute; top: 12px; right: 16px; font-family: 'JetBrains Mono'; font-size: 22px; font-weight: 700; color: var(--olive-pale); }

  .stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--panel); border-bottom: 1px solid var(--line); }
  .stat { padding: 18px 20px; border-right: 1px solid var(--line); }
  .stat:last-child { border-right: none; }
  .stat-label { font-family: 'JetBrains Mono'; font-size: 9.5px; color: var(--ink-soft); letter-spacing: 0.6px; margin-bottom: 5px; display: block; }
  .stat-val { font-size: 21px; font-weight: 700; color: var(--olive-deep); }
  .stat-delta { font-family: 'JetBrains Mono'; font-size: 9.5px; color: var(--olive); margin-left: 4px; }
  .stat-spark { display: flex; align-items: flex-end; gap: 2px; height: 16px; margin-top: 8px; }
  .stat-spark div { width: 4px; background: var(--olive-pale); }
  .stat-spark div.hi { background: var(--olive); }

  .section { padding: 40px 40px; }
  .section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
  .section-head h2 { font-size: 21px; font-weight: 700; }
  .section-head .filters { display: flex; gap: 6px; }
  .filter-chip { font-family: 'JetBrains Mono'; font-size: 10px; padding: 5px 12px; border: 1px solid var(--line); color: var(--ink-soft); }
  .filter-chip.on { background: var(--olive); border-color: var(--olive); color: var(--panel); }

  .content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-bottom: 3px; }
  .card { background: var(--panel); padding: 22px; position: relative; }
  .thumb { height: 110px; background: linear-gradient(135deg, var(--olive-pale), var(--olive-mid)); margin-bottom: 14px; position: relative; }
  .thumb.tan { background: linear-gradient(135deg, var(--amber-pale), var(--amber)); }
  .thumb.rust { background: linear-gradient(135deg, #E8D3C4, var(--rust)); }
  .thumb-tag { position: absolute; bottom: 8px; left: 8px; background: var(--olive-deep); color: var(--panel); font-family: 'JetBrains Mono'; font-size: 9.5px; padding: 3px 9px; letter-spacing: 0.5px; }
  .card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
  .card p { font-size: 11.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
  .card-foot { display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono'; font-size: 9.5px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 10px; }
  .card-foot b { color: var(--olive-deep); }
  .rank { font-family: 'JetBrains Mono'; font-size: 10px; color: var(--olive-mid); font-weight: 700; margin-bottom: 8px; display: block; }
  .rating { display: flex; gap: 2px; margin-bottom: 8px; }
  .rating span { width: 12px; height: 4px; background: var(--olive-pale); }
  .rating span.on { background: var(--amber); }

  .list-card { background: var(--panel); padding: 16px 22px; display: flex; align-items: center; gap: 16px; }
  .list-num { font-family: 'JetBrains Mono'; font-size: 19px; font-weight: 700; color: var(--olive-pale); width: 30px; }
  .list-body { flex: 1; }
  .list-body h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
  .list-body span { font-size: 11px; color: var(--ink-soft); }
  .list-badge { font-family: 'JetBrains Mono'; font-size: 9.5px; background: var(--olive-pale); color: var(--olive-deep); padding: 4px 9px; }

  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }

  .map-panel { background: var(--panel); border: 1px solid var(--line); padding: 26px; margin-top: 26px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
  .map-visual { background: var(--olive-pale); position: relative; min-height: 200px; }
  .map-visual .pin { position: absolute; width: 10px; height: 10px; background: var(--rust); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid var(--panel); }
  .map-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .map-info p { font-size: 12px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }
  .region-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .region-row b { color: var(--olive-deep); }

  .badge-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .badge-cloud span { font-family: 'JetBrains Mono'; font-size: 10.5px; padding: 6px 13px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-soft); }
  .badge-cloud span.hi { background: var(--olive-pale); color: var(--olive-deep); border-color: var(--olive-pale); }

  .briefing { background: var(--olive-deep); color: var(--panel); padding: 40px 40px; display: flex; align-items: center; gap: 28px; position: relative; overflow: hidden; }
  .briefing::after { content: ''; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border: 40px solid rgba(255,255,255,0.05); border-radius: 50%; }
  .briefing-icon { width: 46px; height: 46px; background: var(--amber); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--olive-deep); font-family: 'JetBrains Mono'; font-size: 18px; font-weight: 700; }
  .briefing h2 { font-size: 19px; font-weight: 700; margin-bottom: 5px; }
  .briefing p { font-size: 12.5px; opacity: 0.75; }
  .btn-light { background: var(--amber); color: var(--olive-deep); border: none; padding: 12px 24px; font-size: 12px; font-weight: 700; cursor: pointer; margin-left: auto; flex-shrink: 0; }

  footer { padding: 24px 40px; display: flex; justify-content: space-between; font-family: 'JetBrains Mono'; font-size: 10px; color: var(--ink-soft); background: var(--panel); border-top: 1px solid var(--line); }

/* --- Hover geçiş animasyonları (menü/link öğeleri) --- */
nav a,
.side-link,
.filter-chip,
.side-card,
.list-card,
.card,
a.btn-mini,
.head-right a {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

nav a:hover { background: var(--olive-pale); color: var(--olive-deep); }
.side-link:hover:not(.on) { background: var(--olive-pale); color: var(--olive-deep); }
.filter-chip:hover:not(.on) { background: var(--olive-pale); border-color: var(--olive); cursor: pointer; }
.side-card:hover { background: var(--olive-pale); }
.list-card:hover { background: var(--olive-pale); }
.card:hover { transform: translateY(-2px); }
a.btn-mini:hover { filter: brightness(1.1); }

/* ================= MOBİL UYUMLULUK ================= */

/* Hamburger menü — varsayılan gizli, mobilde görünür */
.hamburger-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.hamburger-btn span { display: block; width: 100%; height: 2px; background: var(--olive-deep); transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-user, .nav-mobile-search { display: none; }

@media (max-width: 860px) {
  .body-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; position: static; max-height: none; }
  .main-col { order: 1; }
  .hero-grid { grid-template-columns: 1fr; }
  .map-panel { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: none; }
  .content-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .ticker { padding: 7px 20px; gap: 16px; overflow-x: auto; white-space: nowrap; }
  header { padding: 14px 20px; flex-wrap: wrap; position: relative; }
  .hamburger-btn { display: flex; }
  .head-right { display: none; }
  nav {
    display: none; flex-direction: column; width: 100%; gap: 0;
    order: 3; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  }
  nav.open { display: flex; }
  nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  nav a.active { padding-left: 10px; }
  .nav-mobile-search { display: block; margin: 10px 0; }
  .nav-mobile-search .search-box { width: 100%; padding: 11px 14px 11px 36px; }
  .nav-mobile-search:focus-within .head-search-icon { color: var(--olive); }
  .nav-mobile-user { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

  .section { padding: 28px 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-main { padding: 32px 22px; }
  .hero-main h1 { font-size: 24px; max-width: 100%; }
  .hero-main p { max-width: 100%; }
  .btn-row { flex-wrap: wrap; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }

  .content-grid { grid-template-columns: 1fr; }

  .briefing { flex-direction: column; align-items: flex-start; padding: 28px 22px; text-align: left; }
  .btn-light { margin-left: 0; margin-top: 8px; }

  footer { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .logo-text { font-size: 15px; }
}

/* --- Yüzen karşılaştırma widget'ı --- */
.compare-float {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 999; max-width: 92vw;
}
.compare-float-inner {
  background: var(--olive-deep); color: var(--panel); display: flex; align-items: center;
  gap: 14px; padding: 10px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); flex-wrap: wrap;
}
.compare-float-label { font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: 0.5px; opacity: 0.8; flex-shrink: 0; }
.compare-float-items { display: flex; gap: 8px; flex-wrap: wrap; }
.compare-float-chip { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); padding: 5px 10px; font-size: 11.5px; max-width: 160px; }
.compare-float-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compare-float-chip button { background: none; border: none; color: inherit; opacity: 0.6; cursor: pointer; font-size: 12px; flex-shrink: 0; }
.compare-float-chip button:hover { opacity: 1; }
.compare-float-btn { background: var(--amber); color: var(--olive-deep); font-weight: 700; font-size: 11.5px; padding: 8px 16px; text-decoration: none; flex-shrink: 0; white-space: nowrap; }
.compare-float-hint { font-size: 10.5px; opacity: 0.6; flex-shrink: 0; white-space: nowrap; }

@media (max-width: 720px) {
  .compare-float { left: 12px; right: 12px; transform: none; max-width: none; bottom: 12px; }
  .compare-float-inner { flex-direction: column; align-items: stretch; }
  .compare-float-btn { text-align: center; }
}

/* --- Öne çıkan içerikler / envanterler carousel'i --- */
.carousel-wrap { display: flex; align-items: stretch; gap: 10px; }
.carousel-viewport { overflow: hidden; flex: 1; min-width: 0; }
.carousel-track { display: flex; transition: transform 0.35s ease; background: var(--line); gap: 2px; }
.carousel-track > .card { flex: 0 0 calc(33.3333% - 1.33px); box-sizing: border-box; }
.carousel-arrow {
  background: var(--panel); border: 1px solid var(--line); width: 40px; flex-shrink: 0;
  font-size: 20px; cursor: pointer; color: var(--ink); transition: background-color 0.2s ease;
}
.carousel-arrow:hover { background: var(--olive-pale); }

@media (max-width: 720px) {
  .carousel-arrow { display: none; }
  .carousel-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .carousel-track { transform: none !important; }
  .carousel-track > .card { flex: 0 0 82%; scroll-snap-align: start; }
}

/* --- 18+ yaş onay modalı --- */
.age-gate-overlay {
  position: fixed; inset: 0; z-index: 9999; background: rgba(20,22,15,0.94);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.age-gate-box {
  background: var(--panel); max-width: 460px; width: 100%; padding: 40px 32px;
  text-align: center; border-top: 4px solid var(--amber);
}
.age-gate-icon {
  width: 64px; height: 64px; background: var(--olive-deep); color: var(--panel);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono'; font-weight: 700; font-size: 18px; margin: 0 auto 20px;
}
.age-gate-box h2 { font-size: 19px; font-weight: 700; margin-bottom: 14px; line-height: 1.35; }
.age-gate-box p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 26px; }
.age-gate-buttons { display: flex; flex-direction: column; gap: 10px; }
.age-gate-btn-accept { background: var(--olive-deep); color: var(--panel); border: none; padding: 13px; font-size: 13px; font-weight: 700; cursor: pointer; }
.age-gate-btn-accept:hover { background: var(--olive); }
.age-gate-btn-reject { background: none; color: var(--ink-soft); border: 1px solid var(--line); padding: 13px; font-size: 13px; font-weight: 600; cursor: pointer; }
.age-gate-btn-reject:hover { background: var(--bg); }
