:root {
  color-scheme: dark;
  --bg: #0b0c0c;
  --text: #f5f1e8;
  --muted: #bbb2a4;
  --line: rgba(245, 241, 232, 0.18);
  --gold: #d4b364;
  --green: #8db59e;
  --red: #a85747;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #0b0c0c 0%, #13110f 52%, #091211 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
}

.site-header {
  max-width: 760px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.02;
  font-weight: 800;
}

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

.product {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121414;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.product:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.product-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.04);
  transition:
    opacity 180ms ease,
    transform 240ms ease;
}

.product-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 5, 5, 0.16), rgba(4, 5, 5, 0.92)),
    linear-gradient(90deg, rgba(4, 5, 5, 0.72), rgba(4, 5, 5, 0.12));
}

.product-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 380px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
}

.product-icon {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.62));
  transform: translateX(-10px);
}

.product-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.product-name {
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 800;
}

.product-tagline {
  color: var(--muted);
  font-size: 1.15rem;
}

.product-action {
  margin-top: 12px;
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 241, 232, 0.28);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.08);
  color: var(--text);
  font-weight: 700;
}

.product:hover .product-bg {
  opacity: 0.9;
  transform: scale(1.08);
}

.product:hover .product-action {
  border-color: rgba(245, 241, 232, 0.5);
  background: rgba(245, 241, 232, 0.13);
}

.product-tarnished .product-icon {
  width: 240px;
  height: 240px;
}

.product-tarnished .product-name {
  color: var(--gold);
}

.product-tamriel .product-name {
  color: var(--green);
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 28px, 680px);
    padding: 32px 0;
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.45rem;
  }

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

  .product {
    min-height: 430px;
  }

  .product-content {
    min-height: 330px;
    padding: 26px;
  }

  .product-icon,
  .product-tarnished .product-icon {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 430px) {
  .page-shell {
    width: min(100% - 20px, 390px);
    padding: 22px 0;
    gap: 22px;
  }

  h1 {
    font-size: 2rem;
  }

  .product {
    min-height: 390px;
  }

  .product-content {
    padding: 20px;
  }

  .product-name {
    font-size: 1.55rem;
  }

  .product-tagline {
    font-size: 1rem;
  }
}
