/* Light reset */
*, *::before, *::after { box-sizing: border-box; }

/* Palette & tiny utilities */
:root {
  --bg: #2b1f0a;           /* brown solid background */
  --violet: #7c3aed;        /* hacker violet */
  --violet-dark: #5b2bd1;
  --glass: rgba(255, 255, 255, 0.12);
  --text: #e9e0d5;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius: 14px;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);       /* solid brown backdrop */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

/* Layout: mobile-first hero area center stage */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 0;
}

/* Frosted glass hero frame around the image */
.image-frame {
  width: 100%;
  max-width: 700px;
  padding: 0.9rem;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 6px);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(120%);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: none;
}

/* Subtle hacker-like lift on hover */
.image-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0,0,0,.55);
}

/* CTA-like footer card for the product */
footer {
  padding: 1.75rem 1rem 2rem;
  margin-top: auto;
  text-align: center;
  width: 100%;
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  color: #fff;
}

.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  font-weight: 700;
  color: #fff;
}

/* Make the CTA look like a button while preserving semantic link */
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

/* Copyright line */
footer p {
  margin: .75rem 0 0;
  color: #f2e7e7;
  font-size: .92rem;
  opacity: 0.95;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
 [tabindex]:focus-visible {
  outline: 3px solid rgba(147, 197, 253, 0.95);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  .image-frame { padding: 1.2rem; max-width: 760px; }
  .product-ad { font-size: 1rem; }
}

@media (min-width: 1024px) {
  body { font-size: 1.04rem; }
  main { padding-top: 3rem; }
  footer { padding-bottom: 3rem; }
}

/* Subtle cyberpunk glow around violet elements (non-intrusive) */
.product-ad {
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.35);
}
.image-frame {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 16px 60px rgba(124, 58, 237, 0.25);
}