/* Global reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system; }
:root {
  --bg: #0b111a;
  --teal: #2fe8d4;
  --teal-dark: #0b8e90;
  --gold: #d4af37;
  --glass: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 12px 28px rgba(0,0,0,.42);
  --shadow-soft: 0 6px 16px rgba(0,0,0,.28);
  --text: #eaffff;
}
* { margin: 0; padding: 0; }

/* Light reset behavior keeps a clean base */
body {
  color: var(--text);
  background-color: var(--bg);
  /* Gold diagonal lines over teal cyberpunk vibe */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.25)),
    repeating-linear-gradient(135deg, rgba(212,175,55,.25) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(315deg, rgba(46,255,235,.08) 0 2px, transparent 2px 8px);
  background-size: 60px 60px, 60px 60px, 60px 60px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Layout */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
}
.image-frame {
  width: min(100%, 1100px);
  height: 52vh;
  max-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 235, 0.6);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), var(--shadow);
  position: relative;
  background: #000;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Teal hacker tone tweaks */
  filter: saturate(1.15) contrast(1.05) hue-rotate(-8deg);
  transform: scale(1.02);
}
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  /* subtle vignette + glow to enhance cyberpunk feel */
  background: radial-gradient(circle at 70% 0%, rgba(0,0,0,.0) 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.image-frame::before {
  content: "";
  position: absolute; left: 0; bottom: 0; height: 28%;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: saturate(1.2);
  /* frosted glass-esque sheen on the lower edge */
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

/* Footer with frosted glass product ad as CTA area */
footer {
  margin-top: auto;
  padding: 1.5rem 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.product-ad {
  width: min(100%, 720px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
  text-align: center;
  color: #eaffff;
}
.product-ad h3 { margin-bottom: .5rem; font-size: 1rem; color: var(--teal); text-shadow: 0 0 8px rgba(47,232,212,.5); }
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(47,232,212,.75);
  text-decoration: none;
  color: #eaffff;
  background: linear-gradient(135deg, rgba(47,232,212,.15), rgba(0,0,0,.0));
  transition: transform .2s ease, box-shadow .2s ease;
  font-weight: 600;
}
.product-ad a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.4), 0 0 14px rgba(47,232,212,.55);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
footer p {
  margin: .75rem 0 0;
  text-align: center;
  color: #a7f0f0;
  font-size: .85rem;
  opacity: .95;
}

/* Focus for keyboard users on links/buttons elsewhere */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks: mobile-first scaling */
@media (min-width: 640px) {
  main { padding: 2rem 1.25rem; }
  .image-frame { height: 64vh; }
}
@media (min-width: 1024px) {
  .image-frame { height: 72vh; }
  .product-ad { padding: 1.25rem 1.75rem; }
  footer { padding: 2rem 0; }
}