/* Global reset and quick utilities */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0b0b14;
  --card: rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.28);
  --text: #f8eaff;
  --pink: #ff3d92;
  --pink-dark: #d91f6a;
  --accent: #2af1ff;
}
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: linear-gradient(#0b0b15 0%, #0b0b15 60%, #11131e 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  /* Subtle glow to reinforce hacker vibe on dark bg */
  text-shadow: 0 0 0 transparent;
}

/* Pink low-poly triangles background (mobile-first, lightweight) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* layered triangles using gradients for a low-poly feel */
  background-image:
    linear-gradient(135deg, rgba(255, 61, 146, 0.25) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 61, 146, 0.25) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255, 61, 146, 0.25) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 61, 146, 0.25) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 0, 0 30px, 30px 30px;
  mix-blend-mode: screen;
  opacity: 0.75;
  filter: saturate(120%);
}

/* Layout containers */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 1000px);
  margin: 2rem auto;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12); /* frosted glass look */
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  outline: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}

/* Footer / CTA area as prominent action */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #fbd8ef;
}

/* CTA card styling (featured product) */
.product-ad {
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.product-ad h3 {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.05rem;
  color: #ffd9f4;
  letter-spacing: .2px;
}

.product-ad a {
  display: inline-block;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  background: linear-gradient(135deg, #ff7ab8 0%, #ff2f9e 100%);
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 70, 170, 0.6);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}

/* Accessibility helpers for focus on links elsewhere if present */
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small screen adjustments (mobile-first) */
@media (min-width: 640px) {
  .image-frame {
    padding: 1.25rem;
  }
  footer { padding: 2rem 1rem; }
}
@media (min-width: 1024px) {
  main { padding: 2rem 0; }
  .image-frame { padding: 1.75rem; }
  .product-ad { padding: 1.25rem; }
}
