:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --card: rgba(8, 6, 24, 0.65);
  --text: #e8eaff;
  --muted: #cbd5e1;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  line-height: 1.6;
  min-height: 100%;
  /* Red checkerboard background */
  background-color: #b1001a;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.25) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

main { padding: 1.5rem 1rem; display: grid; place-items: center; }

header {
  width: min(1100px, 92%);
  margin: 1.25rem auto;
  padding: 1.75rem;
  border-radius: 16px;
  text-align: center;
  background: rgba(9, 6, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  position: relative;
  overflow: hidden;
}
header:before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(90deg, rgba(99,102,241,.5), rgba(236,72,153,.5));
  filter: blur(6px);
  z-index: -1;
  mix-blend-mode: screen;
}
h1 {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.6rem);
  line-height: 1.15;
  margin: 0 0 .75rem;
  letter-spacing: .2px;
  color: #f7fbff;
  text-shadow: 0 0 14px rgba(99,102,241,.65);
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
}

/* frosted glass image frame (centerpiece) */
.image-frame {
  width: min(720px, 92%);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(8, 6, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  margin: 1.25rem auto 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: saturate(1.05);
  user-select: none;
}

/* footer ad / CTA */
footer {
  width: min(1100px, 92%);
  margin: 2rem auto 3rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  padding: .6rem .75rem;
  border-radius: 999px;
  background: rgba(8, 6, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0 0 .25rem;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  padding: .55rem .95rem;
  border-radius: 999px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #4f46e5, #6d28d9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.6);
  gap: .5rem;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* global focus for accessibility */
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  header { padding: 2.5rem; }
  main { padding: 2rem 0; }
  .image-frame { width: 70%; }
}
@media (min-width: 1024px) {
  header { padding: 3rem; }
  .image-frame { width: 60%; }
}