:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: rgba(18, 20, 28, 0.78);
  --panel-strong: rgba(27, 30, 41, 0.96);
  --text: #f6f4ed;
  --muted: #aaa69c;
  --line: rgba(255, 255, 255, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(53, 242, 162, 0.14), transparent 24rem),
    radial-gradient(circle at 88% 88%, rgba(57, 198, 255, 0.11), transparent 26rem),
    linear-gradient(145deg, #08090d 0%, #101015 52%, #07080b 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.link-hub {
  display: grid;
  width: min(840px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  align-content: center;
  gap: 16px;
  padding: 28px 0;
}

h1 {
  margin: 0 0 2px;
  color: rgba(246, 244, 237, 0.9);
  font-size: clamp(1.2rem, 5vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.product-card {
  display: grid;
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent), transparent 92%), transparent 58%),
    var(--panel);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.product-card:hover {
  border-color: color-mix(in srgb, var(--accent), white 22%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent), transparent 86%), transparent 58%),
    var(--panel-strong);
  transform: translateY(-2px);
}

.tag {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 42%);
  border-radius: 999px;
  margin-bottom: 10px;
  padding: 5px 8px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 0 0 5px;
  font-size: clamp(1.2rem, 5vw, 1.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.42;
}

.card-link {
  margin-top: 13px;
  color: rgba(246, 244, 237, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (min-width: 700px) {
  .link-hub {
    width: min(920px, calc(100% - 56px));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 142px;
    padding: 18px;
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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