:root {
  --bg: #080d09;
  --fg: #f5f7f8;
  --muted: #8eabc6;
  --border: #263129;
  --card: #111813;
  --accent: #a8ed3c;
  --accent-soft: #1d2c45;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8,13,9,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; }
.logo { font-weight: 800; font-size: 1.2rem; }
.logo span, .hero h1 span { color: var(--accent); }
.nav { display: flex; gap: 24px; }
.nav-link { font-size: .9rem; font-weight: 500; color: var(--fg); transition: color .15s; }
.nav-link:hover, .nav-link.active { color: var(--fg); }

/* Hero */
.hero { max-width: none; padding: 0 16px 64px; text-align: left; }
.domain { font: 500 .85rem/1.5 monospace; color: var(--accent); margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(2.4rem, 7.8vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  max-width: 900px;
  margin: 0 0 24px;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 650px; margin: 0; }
.hero-actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 23px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #080d09; }
.btn-primary:hover { background: #b8f65a; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-outline:hover { border-color: #718071; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Sections */
.featured { max-width: none; padding: 0 7px 96px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-head h2 { font-size: 1.6rem; }
.view-all { font-size: .9rem; font-weight: 500; color: var(--muted); }
.view-all:hover { color: var(--fg); }

.catalog { padding-top: 48px; padding-bottom: 96px; }
.page-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.catalog .lead { margin: 8px 0 0; max-width: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 28px; }
.filter {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all .15s;
}
.filter:hover { color: var(--fg); border-color: #718071; }
.filter.active { background: var(--accent); border-color: var(--accent); color: #080d09; }

/* Grid & cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 258px; padding: 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card::after { content: "↗"; position: absolute; top: 20px; right: 24px; color: var(--muted); font-size: 1.15rem; }
.card:hover { box-shadow: 0 0 0 1px var(--accent), 0 12px 30px rgba(168, 237, 60, .08); border-color: var(--accent); transform: translateY(-2px); }
.tag {
  align-self: flex-start;
  padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--fg);
  font-size: .75rem; font-weight: 600;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; }
.card .price { color: var(--accent); font-weight: 700; }
.card .host { font: .7rem monospace; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { text-align: center; font-size: .85rem; color: var(--muted); }

.badge {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: .78rem; color: var(--muted);
  box-shadow: var(--shadow);
}
.badge strong { color: var(--accent); }

/* Responsive */
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding: 0 16px 48px; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .featured { padding: 0 7px 64px; }
  .container { padding: 0 18px; }
  .header-inner { padding: 0 16px; }
  .card { min-height: 238px; }
  .card .meta { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
