:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(13, 27, 46, .78);
  --text: #eef6ff;
  --muted: #9bb0c9;
  --line: rgba(255, 255, 255, .11);
  --cyan: #48d7ff;
  --violet: #9c8cff;
  --acid: #b9f35c;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.6 Inter, "Microsoft YaHei", system-ui, sans-serif;
  overflow-x: hidden;
}

body::before, body::after {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  content: "";
  filter: blur(70px);
  opacity: .22;
}

body::before { top: -18vw; left: -12vw; background: var(--cyan); }
body::after { right: -14vw; bottom: -20vw; background: var(--violet); }

.portal-shell { width: min(980px, 100%); }

.hero { margin-bottom: 34px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border: 1px solid rgba(72, 215, 255, .26);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(72, 215, 255, .08);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 13px var(--acid);
}

h1 { margin: 15px 0 7px; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.045em; }
.hero p { max-width: 560px; margin: 0 auto; color: var(--muted); }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.tool-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(145deg, rgba(20, 42, 68, .88), var(--panel));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tool-card::after {
  position: absolute;
  right: -45px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
  opacity: .12;
  filter: blur(3px);
}

.tool-card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0, 0, 0, .34); }
.basement:hover { border-color: rgba(185, 243, 92, .56); }
.sniper:hover { border-color: rgba(72, 215, 255, .62); }
.basement::after { background: var(--acid); }
.sniper::after { background: var(--cyan); }

.card-top, .card-footer { display: flex; align-items: center; justify-content: space-between; }
.tool-icon { font-size: 36px; line-height: 1; }
.basement .tool-icon { color: var(--acid); }
.sniper .tool-icon { color: var(--cyan); }
.tool-tag { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.tool-card h2 { margin: 30px 0 8px; font-size: 25px; }
.tool-card p { margin: 0; color: var(--muted); }
.card-footer { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 700; }
.basement .card-footer { color: var(--acid); }
.sniper .card-footer { color: var(--cyan); }
.arrow { font-size: 26px; line-height: 1; transition: transform .2s ease; }
.tool-card:hover .arrow { transform: translateX(6px); }

footer { margin-top: 25px; color: #70859f; text-align: center; font-size: 13px; }
.footer-separator { margin: 0 8px; color: #415771; }

@media (max-width: 680px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 240px; }
}
