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

/* Theme variables */
:root {
  --yellow: #ffd400;
  --yellow-dark: #e6b800;
  --ink: #111;
  --bg: #fff;
}

/* Base: light, white crosshatched canvas with neon hacker vibe */
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.4;
  min-height: 100vh;
  /* white crosshatch background */
  background-image:
    linear-gradient(#fff, #fff),
    repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.04) 0 1px, transparent 1px 12px);
  background-position: 0 0, 0 0, 0 0;
  background-size: auto, auto, auto;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Frosted glass look for sections */
header, .image-frame, .product-ad {
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

/* Header / Hero */
header {
  padding: 4rem 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
header h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .02em;
  text-shadow: 0 0 8px rgba(255, 212, 0, 0.4);
  margin: 0;
}

/* Main content */
main { padding: 1rem; }

/* Image frame / product image with frosted glass look */
.image-frame {
  width: min(90vw, 720px);
  margin: 2rem auto 0;
  padding: .75rem;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Footer with ad block */
footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 12px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.9);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
  color: #111;
}
.product-ad a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}
.product-ad a:hover,
.product-ad a:focus {
  color: var(--yellow);
  text-decoration: none;
  text-shadow: 0 0 6px rgba(255, 212, 0, 0.6);
  outline: none;
}
footer p {
  margin-top: .25rem;
  font-size: .9rem;
  color: #555;
}

/* Link and CTA styles for accessible, prominent actions (used as needed) */
a, button {
  outline: none;
  color: inherit;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

/* CTA helpers (ready to reuse) */
.btn, a.btn, button.btn {
  display: inline-block;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd800 60%);
  color: #141500;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 14px rgba(255, 212, 0, .55);
  text-decoration: none;
}
.btn:hover, a.btn:hover, button.btn {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255,212,0,.65);
}
.btn:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

/* Responsive: mobile-first; scale up gracefully */
@media (min-width: 600px) {
  header { padding: 5rem 2rem 3rem; }
  main { padding: 2rem 2rem 3rem; }
  .image-frame { margin-top: 2rem; }
}
@media (min-width: 1024px) {
  header h1 { font-size: 2.25rem; }
  .image-frame { margin-top: 3rem; }
}