/* CSS: Magenta galaxy hacker theme with frosted glass, mobile-first, single stylesheet */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #fff;
  /* Magenta galaxy starscape background */
  background:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,.9) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 60% 70%, rgba(255,255,255,.6) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 60%, rgba(255,255,255,.5) 0 1px, transparent 2px),
    linear-gradient(135deg, #2a0057 0%, #6a0073 40%, #1f0031 100%);
  background-blend-mode: screen, screen, screen, screen, normal;
  background-size: auto;
  min-height: 100%;
  padding: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .2px;
}

/* Layout: hero area with frosted glass effect & image frame */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 140px);
  width: 100%;
  padding: 1rem;
}

.image-frame {
  width: 100%;
  max-width: 720px;
  padding: 1.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transition: transform .25s ease;
}
.image-frame:hover { transform: translateY(-2px); }

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
  border: 1px solid rgba(255,255,255,.25);
}

/* Footer with frosted glass card for CTA and subtle glow */
footer {
  padding: 1.25rem 1rem;
  text-align: center;
  color: rgba(255,255,255,.92);
}

.product-ad {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: .6rem auto 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-ad:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }

.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffd400;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-shadow: 0 0 6px rgba(255, 212, 0, .9);
}
.product-ad a {
  display: inline-block;
  text-decoration: none;
}
.product-ad a > p {
  margin: 0;
  padding: 0;
  font-weight: 800;
  color: #1a0f00;
  background: #ffd400;
  border-radius: 6px;
  padding: .5rem 1rem;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.product-ad a > p:hover {
  background: #ffea66;
}
p { margin: 0; }

/* Focus styles for accessibility */
a:focus-visible, .product-ad a:focus-visible {
  outline: 3px solid #ffd400;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { min-height: calc(100vh - 160px); padding: 1.5rem; }
  .image-frame { padding: 2rem; }
}
@media (min-width: 1024px) {
  /* Slightly larger hero feel on wide screens */
  .image-frame { padding: 2.5rem; }
}
