/* Mobile-first, single stylesheet for a maroon parchment + teal hacker theme */
/* Light reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep: #3a0a0a;        /* deep maroon */
  --bg-warm: #5a0e0e;        /* parchment warmth */
  --fg: #e8fff7;              /* foreground text */
  --muted: #bde9e0;
  --teal: #2dd4bf;             /* hacker teal */
  --teal-dark: #0a9a8a;
  --card: rgba(255,255,255,.08);     /* frosted glass card */
  --card-border: rgba(255,255,255,.28);
  --shadow: 0 8px 28px rgba(0,0,0,.25);
  --focus: #2ee8cd;
}

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--fg);
  background:
    linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-warm) 60%, #1b0b0b 100%),
    radial-gradient(circle at 15% -10%, rgba(43,170,160,.15) 0, rgba(0,0,0,0) 40%),
    radial-gradient(circle at 90% 0%, rgba(255,240,200,.08) 0, rgba(0,0,0,0) 40%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.4;
}

/* Hero area (image framed in frosted glass) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: min(92%, 720px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* subtle neon-ish glow to emphasize hacker theme */
  box-shadow: 0 0 14px rgba(45,212,191,.25);
}

/* Footer with a clear CTA style */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #e9fff9;
  background: rgba(0,0,0,.08);
  border-top: 1px solid rgba(255,255,255,.08);
}

.product-ad {
  display: inline-block;
  padding: .5rem .75rem;
  background: rgba(20, 100, 90, .28);
  border: 1px solid rgba(40, 180, 168, .55);
  border-radius: 10px;
  margin-bottom: .75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0 0 .25rem;
  letter-spacing: .02em;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 8px;
  background: rgba(45, 212, 191, .85);
  color: #041f1a;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.15);
}
.product-ad a:hover {
  background: rgba(45,212,191, .95);
}
p { margin: .25rem 0 0; font-size: .9rem; }

/* Focus visibility for accessibility on keyboard navigation */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus-visible { outline-offset: 0; }

/* Responsive tweaks */
@media (min-width: 600px) {
  .image-frame { padding: 1.25rem; }
  .product-ad h3 { font-size: 1rem; }
}
@media (min-width: 900px) {
  main { padding: 3rem 2rem; min-height: 60vh; }
  .image-frame { border-radius: 22px; padding: 1.5rem; }
}