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

html, body { height: 100%; }

:root {
  --bg1: #02131a;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.28);
  --text: #e9e6ff;
  --muted: #c6b7f3;
  --turq: #2ff0e2;
  --purple: #8b5cf6;
  --focus: #2ff0e2;
}

html { font-size: 16px; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg1);
  background-image:
    radial-gradient(circle at 20% 0, rgba(46,255,230,.25) 0, rgba(46,255,230,0) 40%),
    radial-gradient(circle at 80% 15%, rgba(128,0,255,.25) 0, rgba(0,0,0,0) 40%),
    linear-gradient(135deg, rgba(2,12,23,.95) 0, rgba(2,6,20,.95) 60%),
    repeating-linear-gradient(0deg, rgba(0,255,204,.08) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(0,255,204,.08) 0 1px, transparent 1px 40px);
  background-blend-mode: overlay, overlay, normal, overlay, overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}

main {
  padding: 48px 16px;
  display: grid;
  place-items: center;
  width: 100%;
}

.image-frame {
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  padding: 20px 16px;
  text-align: center;
  color: #d8d1ff;
  background: linear-gradient(to top, rgba(2,8,20,.8), rgba(2,8,20,.4) 60%, rgba(2,8,20,0));
}

.product-ad {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 8px;
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 6px;
  color: #b9f9ff;
}

.product-ad a {
  color: #e6fbff;
  text-decoration: none;
}
.product-ad a:hover,
.product-ad a:focus {
  text-decoration: underline;
  outline: none;
  color: #fff;
}

footer p { margin: 6px 0 0; font-size: .9rem; color: #c6bde0; }

/* Generic link focus for accessibility */
a { color: #bfefff; text-decoration: none; outline: none; }
a:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Call-to-action helpers (ready to use in HTML) */
.btn, .cta {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  color: #051018;
  background: linear-gradient(135deg, #2ef3e0 0%, #6a2cff 100%);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.btn:hover, .cta:hover { transform: translateY(-1px); }
.btn:focus, .cta:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Mobile-first: adjust spacing on wider screens */
@media (min-width: 600px) {
  main { padding: 64px 24px; }
}
@media (min-width: 900px) {
  .image-frame { border-radius: 28px; }
}