:root {
  --bg: #121212;
  --card: #1a1a1a;
  --line: #2a2a2a;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --y: #ffc107;
  --yd: #e0a800;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: Onest, sans-serif; }
a { color: inherit; text-decoration: none; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 8%; position: sticky; top: 0; background: #121212cc; backdrop-filter: blur(12px); z-index: 10;
}
.logo { font-weight: 700; display: flex; gap: 10px; align-items: center; }
.logo span {
  width: 32px; height: 32px; background: var(--y); color: #111; border-radius: 8px;
  display: grid; place-items: center; font-weight: 800;
}
nav { display: flex; gap: 22px; color: var(--muted); }
.btn {
  background: var(--y); color: #111; border: 0; border-radius: 12px;
  padding: 12px 20px; font-weight: 600; cursor: pointer; display: inline-block;
}
.btn:hover { background: var(--yd); }
.btn.ghost { background: #222; color: #fff; }
.btn.danger { background: #3a2020; color: #ff8a8a; }
.hero { padding: 90px 8% 60px; }
.hero h1 { font-size: 56px; line-height: 1.1; }
.hero em { color: var(--y); font-style: normal; }
.hero p { color: var(--muted); margin: 18px 0 28px; max-width: 520px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.wrap { padding: 40px 8% 70px; }
.wrap h2 { margin-bottom: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
article, .card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
article.hot { border-color: var(--y); box-shadow: 0 0 0 1px var(--y); }
.price { font-size: 28px; margin: 10px 0 16px; color: var(--y); }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
footer { padding: 30px 8%; color: var(--muted); border-top: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: #161616; border-right: 1px solid var(--line); padding: 24px 16px; }
.side a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--muted); margin-bottom: 4px; }
.side a.on, .side a:hover { background: #222; color: #fff; }
.main { padding: 32px; }
.muted { color: var(--muted); }
.input, select {
  width: 100%; background: #151515; border: 1px solid var(--line); color: #fff;
  border-radius: 12px; padding: 12px 14px; margin: 6px 0 14px;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.ok { color: #7dffa0; }
.warn { color: var(--y); }
@media (max-width: 900px) {
  .grid3, .layout, .stat { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}
