/* Global reset and theme variables */
:root{
  --teal: #2ee4d5;
  --teal-dark: #0fb3a3;
  --glass: rgba(12, 18, 22, 0.65);
  --glow: 0 0 12px rgba(46, 228, 213, 0.75);
}

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

/* Light, red paper texture background (no images) */
body {
  color: #e8fff7;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial;
  background-color: #2b0000;
  /* subtle red paper grain via layered gradients */
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
    repeating-linear-gradient(
      45deg,
      rgba(180, 20, 20, .18) 0px,
      rgba(180, 20, 20, .18) 2px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 4px
    );
  background-size: cover;
  min-height: 100vh;
}

/* Layout: mobile-first, centered hero area */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Frosted glass image frame (hero visual) */
.image-frame {
  width: min(100%, 980px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 230, .5);
  background: rgba(12, 18, 22, 0.55); /* frosted base */
  box-shadow: 0 8px 40px rgba(0,0,0,.55);
  backdrop-filter: saturate(1.2) blur(2px);
  -webkit-backdrop-filter: saturate(1.2) blur(2px);
  position: relative;
}

/* Image fills the frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  vertical-align: middle;
  mix-blend-mode: normal;
}

/* Footer with frosted glass CTA panel */
footer {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 1.6rem 1rem;
  margin-top: 1rem;
}

/* Featured product panel (frosted glass) */
.product-ad {
  width: min(92vw, 720px);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(8, 14, 16, 0.62);
  border: 1px solid rgba(0, 230, 230, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

/* Section title with cyber vibe */
.product-ad h3 {
  margin-bottom: .5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: #ccfff6;
  text-transform: uppercase;
  font-weight: 700;
}

/* CTA button (prominent) */
.product-ad a {
  display: inline-block;
  margin-top: .25rem;
  padding: .82rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #14f0d9 0%, #0ab4a1 100%);
  color: #eaffff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.55);
}
.product-ad a:focus-visible {
  outline: 3px solid #00ffd5;
  outline-offset: 3px;
  /* accessibility aid for keyboard users */
}

/* Small caption under the CTA */
.product-ad p {
  margin: .5rem 0 0;
  font-size: .95rem;
  color: #eafff6;
}

/* Footer note (copyright) */
footer p {
  margin-top: .75rem;
  font-size: .85rem;
  color: #dbeede;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .image-frame { border-radius: 22px; }
  .image-frame img { max-height: 60vh; }
}

@media (min-width: 900px) {
  main { padding: 3rem 0; }
  .image-frame { width: min(940px, 85vw); }
  .product-ad h3 { font-size: 1.3rem; }
  .product-ad a { padding: .95rem 1.6rem; }
}