/* Minimal reset and mobile-first base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:focus { outline: none; }

/* Coral galaxy starscape + olive hacker theme with frosted glass accents */
:root {
  --olive: #556b2f;
  --olive-soft: #6a7f3a;
  --coral: #ff6b61;
  --coral-dark: #e45b4b;
  --glass: rgba(255,255,255,0.08);
  --fg: #eaf7f2;
  --fg-dim: #cfe8d9;
}

html, body { height: 100%; }

/* Coral galaxy-like background with stars (mobile-first) */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--fg);
  background-color: #0a0a0a;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 100, 100, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 28%, rgba(255, 210, 120, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 68%, rgba(102, 204, 153, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 76%, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px),
    linear-gradient(135deg, #2a0f0f 0%, #0a0a0a 100%);
  background-blend-mode: screen, screen, screen, overlay, normal;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 98, 98, 0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 65% 40%, rgba(255, 214, 170, 0.25) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(6, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
  background-blend-mode: screen, screen, overlay;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Layout: mobile-first, centers hero image, frosted glass feel */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 0;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: min(92%, 720px);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 12px 40px rgba(0,0,0,.45),
    0 0 0 2px rgba(120, 240, 180, 0.15);
  overflow: hidden;
  position: relative;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(120, 240, 180, 0.25);
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(120, 240, 180, 0.15);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.05);
}

/* Footer with frosted glass CTA card (olive hacker vibe) */
footer {
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  text-align: center;
}
.product-ad {
  display: inline-block;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(6, 8, 8, 0.58);
  border: 1px solid rgba(120, 200, 120, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--fg);
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.product-ad a {
  text-decoration: none;
}
.product-ad p {
  margin: 0;
  padding: .48rem 1.05rem;
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(135deg, #2e7a3a, #6aa35f);
  color: #06210a;
  letter-spacing: .2px;
}
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 10px;
}
.product-ad a:hover p { filter: brightness(1.05); }

/* Small, accessible link focus for all interactive elements if any appear later */
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Typography tweaks for legibility on dark coral-olive theme */
p, li, dt, dd { color: #e9f7f0; }
h1, h2, h3 { color: #eafff2; }

/* Responsive breakpoints: keep layout clean on larger screens */
@media (min-width: 768px) {
  main { padding-top: 3rem; }
  .image-frame { width: 720px; }
}
@media (min-width: 1024px) {
  main { padding-top: 4rem; }
  .image-frame { width: 820px; }
  .product-ad { transform: translateY(-4px); }
}