/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
:root {
  --bg: #0a0a0f;
  --bg-soft: #11131a;
  --violet: #7c5cff;
  --violet-dark: #5a2bd3;
  --card: rgba(255,255,255,.08);
  --card-border: rgba(255,255,255,.25);
  --text: #e9e4ff;
  --muted: rgba(233, 228, 255, .85);
  --glow: 0 0 12px rgba(124,92,255,.6);
}
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Inter", "Segoe UI";
  color: var(--text);
  background-color: var(--bg);
  min-height: 100dvh;
  line-height: 1.5;
  /* Subtle zigzag background (black-ish) with violet hacker vibe via layered gradients */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0,0,0,.0) 0 0, rgba(0,0,0,.0) 60px),
    linear-gradient(135deg, rgba(0,0,0,.18) 0 25%, rgba(0,0,0,.0) 25% 50%, rgba(0,0,0,.18) 50% 75%, rgba(0,0,0,.0) 75% 100%),
    linear-gradient(225deg, rgba(0,0,0,.18) 0 25%, rgba(0,0,0,.0) 25% 50%, rgba(0,0,0,.18) 50% 75%, rgba(0,0,0,.0) 75% 100%);
  background-size: 40px 40px, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: repeat;
  /* Light zigzag overlay to reinforce pattern without heavy assets */
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  /* sharp black zigzag lines on top of base for emphasis */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.9) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,.9) 25%, transparent 25%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .9;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  flex: 1 1 auto;
}
.image-frame {
  position: relative;
  width: min(92vw, 1000px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  /* frosted glass edge hint around the frame */
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 60px rgba(124,92,255,.55);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: .6;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1);
  transition: transform .25s ease;
}
.image-frame:hover img {
  transform: scale(1.01);
}
@media (min-width: 768px) {
  main { padding: 3rem 0; }
  .image-frame { border-radius: 22px; }
}

/* Frosted glass hero accent (subtle, since content is image-driven) */
.hero-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(124,92,255,.25), rgba(0,0,0,.25) 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: .9;
}

/* Footer / CTA area (prominent, accessible) */
footer {
  padding: 1.75rem 1rem;
  display: grid;
  gap: .75rem;
  justify-items: center;
  color: var(--muted);
  background: transparent;
}
.product-ad {
  width: min(92vw, 520px);
  text-align: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.product-ad h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e6ddff;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-decoration: none;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c5cff 0%, #4a21c7 100%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 16px rgba(124,92,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(124,92,255,.75);
}
.product-ad a:focus-visible {
  outline: 3px solid #9a5cff;
  outline-offset: 2px;
}
.product-ad p { /* ensure the existing <p> inside <a> doesn't break layout on small screens */
  margin: 0;
}
@media (min-width: 700px) {
  .product-ad h3 { font-size: 1.15rem; }
  .product-ad { padding: 16px 20px; }
}

/* Accessible defaults for focus states on interactive elements anywhere */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}
a, button {
  outline: none;
}
p {
  color: #e9e0ff;
  font-size: 0.95rem;
}

/* Tiny utility for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}