:root {
  --bg: #07060a;
  --bg-2: #0d0b12;
  --panel: #110e18;
  --panel-2: #16121f;
  --line: rgba(255, 70, 95, 0.16);
  --line-strong: rgba(255, 70, 95, 0.42);
  --text: #f2e9ef;
  --muted: #8e8190;
  --accent: #ff465f;
  --accent-dim: #b02a3d;
  --accent-soft: rgba(255, 70, 95, 0.08);
  --warn: #ffb84d;
  --ok: #5ddea4;
  --danger: #ff465f;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Consolas", "Cascadia Mono", "Courier New", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.scanlines,
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow {
  background:
    radial-gradient(720px 420px at 90% -8%, rgba(255, 70, 95, 0.14), transparent 58%),
    radial-gradient(560px 360px at 0% 100%, rgba(255, 70, 95, 0.06), transparent 55%),
    linear-gradient(180deg, #07060a, #0b0910 45%, #05040a);
}

.scanlines {
  opacity: 0.04;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.55) 3px
  );
}

.topbar,
.wrap,
.foot {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 10, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-glyph {
  color: var(--accent);
  font-size: 1.1rem;
  text-shadow: 0 0 12px rgba(255, 70, 95, 0.35);
}

.logo-text {
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.logo-text b {
  color: var(--accent);
  font-weight: 700;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.menu a {
  padding: 0.5rem 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.menu a:hover,
.menu a.on {
  color: var(--text);
  border-color: var(--line);
  background: var(--accent-soft);
}

.menu .cta {
  color: var(--accent) !important;
  border-color: var(--line-strong) !important;
  margin-inline-start: 0.35rem;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-btn i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--accent);
}

.wrap {
  width: min(1080px, calc(100% - 1.75rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(255, 70, 95, 0.28);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.88rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-fill {
  background: var(--accent);
  border-color: var(--accent);
  color: #14060a;
  font-weight: 700;
}

.btn-fill:hover {
  background: #ff6b7d;
  color: #14060a;
}

.side-box {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1rem;
}

.side-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.35rem;
  color: var(--accent);
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  margin: 2.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
}

.muted { color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.chip.on,
.chip:hover {
  color: var(--accent);
  border-color: var(--line-strong);
  background: var(--accent-soft);
}

.deal-list {
  border: 1px solid var(--line);
  background: var(--panel);
}

.deal-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.deal-row:last-child { border-bottom: 0; }

.deal-row:hover {
  background: var(--accent-soft);
}

.deal-cat {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.deal-row h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.deal-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.45rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.deal-price {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--accent);
  min-width: 4.8rem;
  text-align: right;
}

.status.available { color: var(--ok); }
.status.pending { color: var(--warn); }
.status.sold { color: var(--danger); }

.page-intro {
  margin: 0.25rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  max-width: 42rem;
}

.page-intro h1 {
  margin: 0.2rem 0;
  font-family: var(--mono);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.15rem;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.form-grid { display: grid; gap: 0.85rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row.two { grid-template-columns: 1fr 1fr; }

label {
  color: var(--muted);
  font-size: 0.86rem;
  font-family: var(--mono);
}

input, textarea, select {
  width: 100%;
  background: #0a0810;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 70, 95, 0.15);
}

textarea { min-height: 120px; resize: vertical; }

.alert {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: 0.84rem;
}
.alert.ok { border-color: rgba(93, 222, 164, 0.45); color: var(--ok); background: rgba(93, 222, 164, 0.08); }
.alert.err { border-color: rgba(255, 70, 95, 0.45); color: #ff8f9c; }

.empty {
  border: 1px dashed var(--line);
  padding: 1.75rem;
  text-align: center;
  color: var(--muted);
  background: var(--panel);
}

.signal-list { display: grid; gap: 0; border: 1px solid var(--line); background: var(--panel); }

.signal {
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--line);
}
.signal:last-child { border-bottom: 0; }
.signal h3 {
  margin: 0.35rem 0;
  font-size: 1.05rem;
}

.file-list {
  border: 1px solid var(--line);
  background: var(--panel);
}

.file-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--line);
}
.file-item:last-child { border-bottom: 0; }

.file-drop {
  border: 1px dashed var(--line-strong);
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  background: #0a0810;
}
.file-drop strong {
  display: block;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-family: var(--mono);
}

.specs {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.84rem;
}
.specs strong { color: var(--text); font-weight: 500; }

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feature {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1rem;
}
.feature .num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}
.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem clamp(1rem, 3vw, 1.75rem);
  background: rgba(7, 6, 10, 0.95);
}

.foot-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.foot-brand {
  margin: 0;
  font-family: var(--mono);
}
.foot-brand b { color: var(--accent); }
.foot-inner .muted { margin: 0.25rem 0 0; font-size: 0.88rem; }

.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent-dim);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 70, 95, 0.55);
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.mono { font-family: var(--mono); }

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .feature-row,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .deal-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .deal-price { text-align: left; }
}

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 6, 10, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.65rem;
  }

  .menu.open { display: flex; }

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

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
