/* Reset and root tokens */
:root {
  --maroon: #8b001a;
  --maroon-dark: #4f0010;
  --bg: #0b0b0f;
  --fg: #f6f0f6;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.24);
  --focus: #ffd27a;
  --shadow: 0 12px 40px rgba(0,0,0,.4);
}

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

/* Light reset for margins/padding */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Global look: hacker-style with frosted glass and white waves background */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #fff;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  padding: 2rem 1rem;
}

/* White wave backdrop (data-URI SVG) for a hacker-cyberpunk vibe */
body::before {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 260px;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='260' viewBox='0 0 1200 260'>\
  <path d='M0,180 C180,120 360,240 540,180 C720,120 900,240 1080,180 C1200,120 1320,240 1440,180 L1440,260 L0,260 Z' fill='white' opacity='.25'/>\
</svg>");
  background-repeat: repeat-x;
  background-size: 200px 260px;
  filter: saturate(120%);
  transform: translateZ(0);
}

/* Layout container (mobile-first) */
main {
  width: min(100%, 980px);
  padding: 2rem 1rem 0;
  display: block;
  position: relative;
  z-index: 1; /* above waves */
}

/* Frosted glass image frame (hero) */
.image-frame {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease;
}
.image-frame:hover {
  transform: translateY(-4px);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

/* Footer with a prominent CTA-style ad section */
footer {
  width: min(100%, 980px);
  margin: 2rem auto 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  color: #f6eaf0;
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: .6rem 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(2px);
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #ffd9e6;
  letter-spacing: .2px;
}

.product-ad a {
  display: inline-block;
  padding: .85rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--maroon);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 8px 18px rgba(139,0,26,.6);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover {
  background: #b30022;
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

footer p {
  margin: .25rem 0 0;
  font-size: .84rem;
  color: #e9dfe7;
  opacity: .92;
}

/* Responsive tweaks - mobile-first, scale up gracefully */
@media (min-width: 640px) {
  main { padding: 2rem 0; }
  .image-frame { padding: 1.25rem; }
}
@media (min-width: 1024px) {
  /* Slight enhancement for larger screens */
  .image-frame { border-radius: 20px; padding: 1.5rem; }
}