/* Trendbet site9 — Amber/sıcak tema, DM Sans, kılavuz yapı */
:root {
  color-scheme: dark;
  --s9-bg: #0f0e0e;
  --s9-surface: #1a1919;
  --s9-card: #222120;
  --s9-amber: #f59e0b;
  --s9-amber-dim: #d97706;
  --s9-text: #fafaf9;
  --s9-muted: #a8a29e;
  --s9-border: rgba(245,158,11,0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  background: var(--s9-bg);
  color: var(--s9-text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--s9-amber); text-decoration: none; }
a:hover { text-decoration: underline; }

.curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(160deg, #0a0909 0%, var(--s9-bg) 50%, #141312 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.curtain.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.curtain__logo {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--s9-amber), var(--s9-amber-dim));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 26px;
  color: #0f0e0e;
  margin-bottom: 18px;
  box-shadow: 0 0 32px rgba(245,158,11,0.3);
}
.curtain__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--s9-text);
  margin-bottom: 8px;
  text-align: center;
}
.curtain__title span { color: var(--s9-amber); }
.curtain__sub {
  font-size: 0.9rem;
  color: var(--s9-muted);
  margin-bottom: 26px;
  text-align: center;
  max-width: 300px;
  line-height: 1.55;
}
.curtain__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--s9-amber);
  color: #0f0e0e;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.curtain__btn:hover {
  background: var(--s9-amber-dim);
  transform: scale(1.03);
  color: #0f0e0e;
}
.curtain__hint { font-size: 0.72rem; color: var(--s9-muted); margin-top: 18px; }

.wrap { max-width: 820px; margin: 0 auto; padding: 16px; }

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px; top: 16px; width: auto; height: auto; z-index: 9999;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--s9-border);
  background: var(--s9-surface); color: #fff;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,14,14,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s9-border);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--s9-text);
}
.brand-text span { color: var(--s9-amber); }
.brand-text:hover { text-decoration: none; opacity: 0.9; }
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--s9-muted);
  border: 1px solid var(--s9-border);
  background: transparent;
  transition: all 0.2s;
}
nav a:hover { color: var(--s9-amber); background: rgba(245,158,11,0.08); text-decoration: none; }

main { padding: 20px 0 44px; }

.kit-hero {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--s9-border);
  background: linear-gradient(180deg, rgba(245,158,11,0.06), transparent);
}
.kit-hero h1 { margin: 0 0 12px; font-size: 1.75rem; line-height: 1.3; color: var(--s9-text); }
.kit-hero .intro { margin: 0; color: var(--s9-muted); font-size: 0.98rem; }
.kit-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.kit-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(245,158,11,0.15);
  color: var(--s9-amber);
  border: 1px solid var(--s9-border);
  transition: all 0.2s;
}
.kit-hero .btn:hover { background: rgba(245,158,11,0.22); text-decoration: none; color: var(--s9-amber); }
.kit-hero .btn-pri { background: var(--s9-amber); color: #0f0e0e; border-color: var(--s9-amber); }
.kit-hero .btn-pri:hover { background: var(--s9-amber-dim); color: #0f0e0e; }

section { padding: 20px 0; border-top: 1px solid var(--s9-border); }
section h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--s9-amber);
}
section h3 { margin: 18px 0 8px; font-size: 1.1rem; color: var(--s9-text); }
section p { margin: 0 0 12px; color: var(--s9-muted); }
section ul, section ol { margin: 10px 0; padding-left: 1.35rem; }
section li { margin-bottom: 6px; color: var(--s9-muted); }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.two-col .card {
  background: var(--s9-card);
  border: 1px solid var(--s9-border);
  border-radius: 14px;
  padding: 18px;
}
.two-col .card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.two-col .card p { margin: 0 0 10px; font-size: 0.9rem; }
.two-col .card ul { padding-left: 1.1rem; margin: 0; }
.muted { color: var(--s9-muted); }

details {
  margin-bottom: 10px;
  background: var(--s9-card);
  border: 1px solid var(--s9-border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}
details summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--s9-text);
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details p { margin: 0; padding: 0 18px 14px; color: var(--s9-muted); font-size: 0.92rem; }

.toc {
  background: var(--s9-surface);
  border: 1px solid var(--s9-border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.toc h2 { margin: 0 0 12px; font-size: 1.15rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--s9-muted); }
.toc a:hover { color: var(--s9-amber); }

footer {
  padding: 20px 0;
  border-top: 1px solid var(--s9-border);
  color: var(--s9-muted);
  font-size: 0.85rem;
  text-align: center;
}
footer small { color: var(--s9-muted); }

@media (max-width: 780px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  nav ul { justify-content: flex-start; }
  .two-col { grid-template-columns: 1fr; }
  .kit-hero h1 { font-size: 1.5rem; }
}
