/* Minimal reset and cyber-hacker theme CSS (mobile-first, single stylesheet) */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #2a0055;            /* purple solid background */
  --glass: rgba(0,0,0,.55);  /* frosted glass panel */
  --glass-fg: rgba(255,255,255,.18);
  --text: #e9e9e9;           /* high-contrast text on dark glass */
  --muted: #cbd5e1;
  --border: rgba(255,255,255,.25);
  --shadow: 0 12px 28px rgba(0,0,0,.45);
}

html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 1rem;
}

/* Image frame as hero with frosted-glass vibe around content edges */
.image-frame {
  width: min(92vw, 860px);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.15);
  position: relative;
  isolation: isolate;
}

/* Subtle frosted-glass border glow for hacker vibe */
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient( to bottom right, rgba(255,255,255,.15), rgba(255,255,255,.0) );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* Image fills frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* Subtle hard edge around the frame for hacker aesthetic on purple */
.image-frame {
  outline: 1px solid rgba(0,0,0,.25);
  outline-offset: -2px;
}

/* Froasted product ad/footer block */
footer {
  width: 100%;
  padding: 1.75rem 1rem;
  background: rgba(0,0,0,.45);
  border-top: 1px solid rgba(255,255,255,.15);
  color: #e9e9e9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: min(92%, 520px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #f5f5f5;
}
.product-ad a {
  display: inline-block;
  padding: 0.55rem 0.92rem;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.28);
  text-decoration: none;
}
.product-ad a:hover { background: #111; }
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad p { margin: 0; font-size: 0.95rem; }

/* Small caption beneath the frame for branding if needed */
main + footer { padding-top: 0.75rem; }

/* Global focus styles for accessibility on interactive elements */
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: 70%; }
  footer { padding: 2rem 0; }
}
