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

/* Color tokens & vibes: teal noise + gold hacker theme */
:root {
  --bg: #041010;
  --teal: #1bd1c2;
  --teal-deep: #0a6c72;
  --gold: #d4af37;
  --gold-dark: #b3892f;
  --fg: #eafff4;
  --glass: rgba(4, 8, 12, 0.65);
  --stroke: rgba(0, 255, 230, 0.5);
  --shadow: 0 6px 24px rgba(0,0,0,.45);
  --radius: 14px;
}
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; }
body {
  font-family: inherit;
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(0,0,0,.25) 0, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(0,0,0,.2) 0, transparent 60%);
  background-blend-mode: overlay;
}

/* Teal noise texture overlay (teal speckle pattern) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* Teal speckles + subtle depth */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,255,210,.25) 1px, transparent 1px),
    radial-gradient(circle at 40px 40px, rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 2px 2px, 40px 40px;
  opacity: .25;
  mix-blend-mode: overlay;
  pointer-events: none;
  filter: saturate(1.05);
}

/* Layout: hero header (frosted glass) + content sections */
header {
  padding: 2.75rem 1rem 2rem;
  text-align: center;
  display: grid;
  place-items: center;
}
header h1 {
  font-size: clamp(1.8rem, 2.8vw + 1rem, 3.4rem);
  line-height: 1.05;
  margin: 0;
  color: #eafff0;
  text-shadow: 0 0 8px rgba(212,175,55,.85);
  padding: .25rem 1rem;
  border-radius: 10px;
  background: rgba(4,20,20,.5);
  border: 1px solid rgba(212,175,55,.65);
  backdrop-filter: blur(8px) saturate(1.25);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
}

/* Main content: image area centered, responsive frame */
main {
  padding: 0 1rem;
  display: grid;
  justify-items: center;
}
.image-frame {
  max-width: 700px;
  width: 100%;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(0, 230, 230, .25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05),
              0 20px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0, 230, 230, .25);
  background: #000;
}

/* Footer / CTA area (gold hacker CTA) */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #c7ffea;
  border-top: 1px solid rgba(0,0,0,.15);
  margin-top: 2rem;
  background: linear-gradient(to bottom, rgba(4,8,12,0), rgba(4,8,12,.25));
}
.product-ad {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  margin: 0 auto 0.75rem;
  border: 1px solid rgba(212,175,55,.65);
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #eaffff;
}
.product-ad h3 { font-size: .95rem; font-weight: 700; margin:0; color: #eaffff; }
.product-ad a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: .6rem .95rem;
  border: 1px solid rgba(212,175,55,.85);
  background: linear-gradient(#f6c34a, #d49a1a);
  color: #041010;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 6px 18px rgba(212,175,55,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(212,175,55,.75); }
.product-ad a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Focus accessibility for all interactive elements */
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

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

/* Responsive tweaks */
@media (min-width: 600px) {
  header { padding: 3.5rem 1rem 2.5rem; }
  main { padding: 0 2rem; }
}
@media (min-width: 900px) {
  header { padding: 4rem 1rem 2.5rem; }
  header h1 { font-size: 4rem; }
  .image-frame { border-radius: 16px; padding: 1rem; }
  .product-ad { margin-top: .25rem; }
}