:root {
  --bg: #0b1020;
  --fg: #eafff7;
  --green: #2aff92;
  --surface: rgba(255, 255, 255, 0.08);
  --card-border: rgba(42, 255, 146, 0.8);
  --outline: rgba(42, 255, 146, 1);
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focusable elements accessibility */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 12, 24, 0.6);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid rgba(0, 255, 146, 0.25);
  padding: 14px 16px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.25rem;
  color: #eafff0;
  text-shadow: 0 0 8px rgba(42, 255, 146, 0.8);
  letter-spacing: .2px;
}

main {
  padding: 20px;
  min-height: calc(100vh - 160px);
  display: block;
}

.image-frame {
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 146, 0.4);
  max-width: 720px;
  margin: 20px auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: saturate(110%);
}

footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 146, 0.25);
  background: rgba(3, 8, 20, 0.6);
}

.product-ad {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 255, 146, 0.6);
  margin: 0 auto 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

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

.product-ad a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 255, 150, 0.25), rgba(0, 255, 150, 0.65));
  color: #eafff0;
  border: 1px solid rgba(0, 255, 150, 0.9);
  text-shadow: 0 0 6px rgba(0, 255, 150, 0.6);
  transition: transform .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }

p { color: #d4ffd9; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  header h1 { font-size: 1.6rem; }
  main { padding: 28px; }
  .image-frame { padding: 18px; border-radius: 18px; }
}

@media (min-width: 1024px) {
  :root { --bg: #090e1a; }
  header { padding: 22px 40px; }
  header h1 { font-size: 2rem; }
  main { padding: 40px; }
  .image-frame { max-width: 860px; }
}