/* Reset and base styles (light, accessible, mobile-first) */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:root {
  --bg-start: #6a0dad;    /* purple gradient start */
  --bg-mid:   #2a0050;    /* purple gradient mid */
  --bg-end:   #120033;    /* purple gradient end */
  --turq:     #2ee0c7;    /* turquoise accent */
  --turq-dark:#0bb2a6;    /* darker turquoise for contrast */
  --text:     #eaffff;    /* light text for contrast on dark bg */
  --muted:    #b8f0ff;    /* muted secondary text */
  --glass: rgba(255,255,255,.10);
  --glass-border: rgba(255,255,255,.28);
}
* { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue"; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero / main area */
main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  flex: 1 1 auto;
}
.image-frame {
  width: 100%;
  max-width: 720px;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  /* subtle neon edge for hacker vibe */
  box-shadow: inset 0 0 0 1px rgba(46,224,199,.12);
}
footer {
  margin-top: auto;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.product-ad {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-ad h3 {
  margin: .25rem 0 .5rem;
  font-size: 1.15rem;
  color: var(--turq);
  text-shadow: 0 0 6px rgba(46,224,199,.65);
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  margin: 0;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 6px;
  display: inline-block;
  background: linear-gradient(135deg, #1debd6, #13c4a9);
  color: #041a1a;
  line-height: 1;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--turq);
  outline-offset: 2px;
  border-radius: 6px;
}
.product-ad a:focus-visible { outline-offset: 4px; }

/* Small screens: ensure readable typography and spacing */
@media (max-width: 767px) {
  .image-frame { padding: .9rem; border-radius: 16px; }
  .product-ad { margin-top: .5rem; }
  .product-ad h3 { font-size: 1.05rem; }
}

/* Tablet / Desktop tweaks */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { max-width: 880px; padding: 1.25rem; border-radius: 22px; }
}

@media (min-width: 1024px) {
  :root { --text: #eaffff; } /* ensure legibility on larger screens */
  .product-ad { margin-top: 1.25rem; padding: 1rem 1.25rem; }
  .product-ad h3 { font-size: 1.25rem; }
}