/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme & helpers */
:root {
  --green: #39ff14;
  --green-soft: #2cff88;
  --bg: #111;
  --glass: rgba(255, 255, 255, .12);
  --text: #eaffea;
  --text-dim: #aaffc9;
  --shadow-green: 0 8px 30px rgba(57, 255, 20, .35);
  --radius: 14px;
}
html, body { height: 100%; }

/* Yellow carbon-fiber background with hacker-green accents (mobile-first) */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: #0b0b0b;
  /* subtle yellow carbon-fiber weave pattern */
  background-image:
    linear-gradient(135deg, rgba(255, 213, 0, .08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 213, 0, .08) 25%, transparent 25%),
    linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.25));
  background-size: 40px 40px, 40px 40px, cover;
  background-position: 0 0, 20px 20px, 0 0;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Light frosted-glass vibe behind the hero image (glass frame) */
main {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  min-height: calc(100vh - 180px);
  position: relative;
}
main::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(0,255,140,.0), rgba(0,255,140,.25), rgba(0,255,140,.0));
  filter: blur(2px);
  z-index: -1;
  opacity: .6;
}

/* Hero image frame with frosted glass look */
.image-frame {
  width: min(92vw, 860px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(56, 255, 140, .45);
  box-shadow: 0 8px 40px rgba(0, 255, 140, .25);
  backdrop-filter: saturate(1.2) blur(4px);
  -webkit-backdrop-filter: saturate(1.2) blur(4px);
  position: relative;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  outline: 2px solid rgba(0,0,0,.15);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 120px rgba(0, 255, 140, .25);
  pointer-events: none;
}

/* Footer with CTA-style product ad */
footer {
  text-align: center;
  padding: 1.5rem;
  color: #d5ffd0;
  background: rgba(0, 0, 0, .25);
}
.product-ad {
  display: inline-block;
  padding: .75rem;
  border-radius: 12px;
  margin: 0 auto 0.75rem;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(0, 255, 140, .45);
  box-shadow: 0 6px 20px rgba(0, 255, 140, .5);
}
.product-ad h3 {
  font-size: .95rem;
  margin-bottom: .35rem;
  color: #cfffde;
}
.product-ad a {
  text-decoration: none;
}
.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: .6rem 1.05rem;
  border-radius: 8px;
  font-weight: 700;
  color: #041a0f;
  background: linear-gradient(135deg, #baff89 0%, #2ce56a 100%);
  border: 1px solid rgba(0, 0, 0, .2);
  box-shadow: 0 0 14px rgba(57, 255, 140, .9);
}
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
footer p { margin-top: .5rem; font-size: .92rem; opacity: .9; }

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main { min-height: 70vh; padding: 2rem; }
  .image-frame { border-radius: 20px; padding: 1.25rem; }
}
@media (min-width: 1024px) {
  body { font-size: 16px; }
  main { padding: 3rem 0; }
  .image-frame { padding: 1.5rem; }
}