/* Minimal reset and cyberpunk theme
   Mobile-first, single stylesheet, accessible focus styles
*/
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --teal: #1ec9c0;
  --teal-dark: #0e7a74;
  --brown: #7a4b2a;
  --brown-dark: #5d2f1e;
  --bg: #0a0f0d;
  --glass: rgba(255,255,255,0.08);
  --text: #eae3d8;
  --muted: #b5a79a;
  --shadow: 0 14px 40px rgba(0,0,0,0.45);
  --focus: 0 0 0 3px rgba(46, 255, 216, 0.6);
  --cta: #3c261a;
  --cta-edge: rgba(255,255,255,0.5);
}

/* Light reset defaults */
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background-color: var(--bg);
  /* Teal circuit-board like backdrop (subtle tiling) */
  background-image:
    /* teal grid lines */
    linear-gradient(to right, rgba(30, 201, 192, 0.65) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 201, 192, 0.65) 1px, transparent 1px),
    /* diagonal circuit hints */
    linear-gradient(135deg, rgba(30, 201, 192, 0.25) 0 2px, transparent 2px),
    linear-gradient(-135deg, rgba(30, 201, 192, 0.25) 0 2px, transparent 2px);
  background-size: 40px 40px, 40px 40px, 120px 120px, 120px 120px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-repeat: repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Layout wrapper for content */ 
main {
  width: min(100%, 1100px);
  display: grid;
  place-items: center;
  padding: 1rem;
  flex: 1 1 auto;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(94vw, 900px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* frosted glass look overlay */
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.image-frame:hover { transform: translateY(-2px); }

/* Footer with CTA section */
footer {
  width: min(100%, 1100px);
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}

/* Prominent CTA (brown hacker vibe) */
.product-ad {
  display: inline-block;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(122, 52, 22, 0.92);
  border: 1px solid rgba(181, 120, 80, 0.95);
}
.product-ad h3 {
  margin: 0;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  color: #f5efe9;
  font-weight: 700;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(to right, #4a2a14, #7a3b1a);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.4);
  transition: transform .2s ease;
}
.product-ad a:hover p { transform: translateY(-1px); }

/* Small print */
footer p { margin: 0.75rem 0 0; font-size: 0.95rem; color: rgba(234, 228, 223, 0.92); }

/* Accessible focus styles for keyboard users */
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 2rem; }
  .image-frame { width: min(90vw, 1000px); aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .image-frame { border-radius: 22px; }
  footer { padding-bottom: 4rem; }
  .product-ad h3 { font-size: 1.05rem; }
  .product-ad a p { padding: 1rem 1.4rem; font-size: 1.04rem; }
}