/* Minimal reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }

/* Theme: indigo metallic + hacker green, frosted glass, cyberpunk vibe */
:root {
  --indigo-dark: #0b0f2b;
  --indigo-mid:  #1a2140;
  --indigo-soft: rgba(14, 18, 40, 0.75);
  --green: #39ff14;
  --green-glow: #00ff88;
  --text: #e7ffe9;
  --muted: #a8f5c4;
  --glass: rgba(12, 16, 32, 0.65);
  --shadow: 0 8px 28px rgba(0,0,0,.35);
  --radius: 14px;
}

/* Subtle metallic-indigo sheen background, mobile-first base */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient( circle at 20% 0%, rgba(57,255,20,.08) 0%, transparent 40% ),
    linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo-mid) 60%, #0a0b1a 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle header-like sheen animation (optional, keeps light footprint) */
@keyframes sheen {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
body { 
  /* gentle moving accent for depth without heavy weight */
  background-size: 200% 200%;
  animation: sheen 12s linear infinite;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.5;
}

/* Layout scaffold */
main {
  display: block;
  padding: 2rem 1rem;
}

.image-frame {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0.75rem;
  border-radius: calc(var(--radius) + 6px);
  background: var(--glass);
  border: 1px solid rgba(0, 255, 140, 0.35);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  box-shadow: var(--shadow);
  display: block;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 2px);
  filter: saturate(1.05);
}

/* Accessible focus for interactive controls (CTA will be in footer) */
:focus { outline: 2px solid transparent; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Footer with frosted glass product ad */
footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: var(--text);
  background: linear-gradient(to top, rgba(7,9,20,.75), rgba(7,9,20,.25) 60%, rgba(7,9,20,.0));
}
.product-ad {
  display: inline-block;
  width: 100%;
  max-width: 520px;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(10, 14, 28, 0.65);
  border: 1px solid rgba(0, 255, 140, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #aaffc8;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: block;
}
.product-ad p {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,0,0,.0), rgba(0,0,0,.15));
  color: #eafff0;
  text-align: center;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 140, .5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad p:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(0,255,140,.6);
}
.product-ad a:focus-visible p {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Small screens: emphasize single-column, generous touch targets */
@media (min-width: 600px) {
  .image-frame { padding: 1rem; }
  footer { padding: 2rem 1rem 3rem; }
  .product-ad { margin-top: 1.25rem; }
  body { font-size: 16px; }
}

/* Desktop: center hero and lighten width for a "hero" feel */
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: 70%; }
  footer { padding: 2rem 2rem; }
}
