:root {
  --bg-deep: #0d0d10;
  --bg-mid: #1a1a1f;
  --brand-red: 180, 27, 18;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(var(--brand-red), 0.22), transparent 70%),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(var(--brand-red), 0.08), transparent 70%),
    linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: rgba(255, 255, 255, 0.85);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.logo {
  margin: 0;
  line-height: 0;
}

.logo img {
  display: block;
  width: min(70vw, 640px);
  height: auto;
  animation: fade-in 600ms ease-out both;
}

.products {
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
  animation: fade-in 600ms 300ms ease-out both;
}

.products-heading {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
}

.product img {
  display: block;
  width: 72px;
  height: auto;
  transition: transform 200ms ease-out, filter 200ms ease-out;
}

.product:hover img,
.product:focus-visible img {
  transform: translateY(-3px);
  filter: drop-shadow(0 6px 16px rgba(var(--brand-red), 0.45));
}

.product:focus-visible {
  outline: 2px solid rgba(var(--brand-red), 0.9);
  outline-offset: 6px;
  border-radius: 8px;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo img,
  .products {
    animation: none;
  }

  .product img {
    transition: none;
  }
}
