/* Minimal, responsive, hacker-cyberpunk CSS with frosted glass and low-poly vibe */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000;
  --bg-dim: rgba(0,0,0,.7);
  --card: rgba(14, 0, 0, .55);
  --card-border: rgba(255, 0, 0, .32);
  --text: #e9e9e9;
  --muted: #bdbdbd;
  --red: #ff2d2d;
  --red-dark: #c10000;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.4);
  --glow: 0 0 12px rgba(255, 0, 0, .6);
}

/* Light reset feel, mobile-first base */
html, body {
  height: 100%;
}
html { font-size: 16px; }
body {
  min-height: 100%;
  color: var(--text);
  background-color: #000;
  /* Black low-poly triangle vibe (stylized) */
  background-image:
    linear-gradient(135deg, rgba(255,0,0,.18) 20%, transparent 20%),
    linear-gradient(315deg, rgba(255,0,0,.18) 20%, transparent 20%),
    linear-gradient(45deg, rgba(255,0,0,.15) 20%, transparent 20%);
  background-size: 74px 74px, 74px 74px, 74px 74px;
  background-position: 0 0, 37px 37px, 18px 18px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  position: relative;
}

/* Subtle frosted-glass overlay on top of the background for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255,0,0,.08), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(255,0,0,.05), transparent 28%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.1);
}

/* Layout containers */
header {
  padding: 2rem 1rem 0.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
main {
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem;
  position: relative;
  z-index: 1;
}
footer {
  padding: 1.25rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

/* Hero title with hacker glow */
h1 {
  font-size: clamp(1.9rem, 4vw + 1rem, 3.4rem);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #f2f2f2;
  margin: 0 0 .6rem;
  text-shadow: 0 0 8px rgba(255,0,0,.6);
}
header .subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: .04em;
}

/* Frosted glass card around the main image area */
.image-frame {
  width: min( calc(100% - 2rem), 680px );
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid rgba(255, 0, 0, .35);
  background: rgba(12, 0, 0, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  padding: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  /* subtle edge glow to enhance cyberpunk vibe */
  filter: saturate(1.05) contrast(1.05);
  box-shadow: inset 0 0 18px rgba(0,0,0,.35);
}
@media (min-width: 900px) {
  header { padding-top: 2.5rem; }
  image-frame { border-radius: 20px; }
}

/* Featured product ad as frosted glass CTA panel */
.product-ad {
  width: min(680px, 92%);
  border-radius: 14px;
  padding: 1rem 1rem 0.75rem;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 0, 0, .32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.product-ad h3 {
  font-size: 1.05rem;
  color: #ffd6d6;
  margin-bottom: .45rem;
}
.product-ad a {
  text-decoration: none;
}
.product-ad .cta {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #ff3b3b, #d40000 60%, #a70000);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 14px rgba(255,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255,0,0,.55);
}
.product-ad .cta:focus-visible {
  outline: 3px solid #ff9b9b;
  outline-offset: 2px;
}
.product-ad .cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255,0,0,.45);
}
.product-ad p {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 10px;
  color: #fff;
  margin-top: .5rem;
  margin-bottom: .25rem;
  background: linear-gradient(90deg, rgba(255,0,0,.92), rgba(255,77,77,.85));
}
.product-ad p:focus { outline: 2px solid #fff; }

/* Footer note styling for a cyberpunk touch */
footer p {
  color: #888;
  font-size: .85rem;
  text-align: center;
  margin: 0.25rem 0;
}

/* Accessibility: prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}