/* Light reset and system font */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }

/* Theme + accessibility-friendly colors */
:root {
  --cta-start: #ff5c97;
  --cta-end:   #ff2d9a;
  --text: #f9eaff;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
}

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  /* Purple sunset gradient background for cyberpunk vibe */
  background: linear-gradient(135deg, #2a0040 0%, #6a0dad 55%, #ff4d9e 100%);
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

/* Hero / main area (mobile-first) */
main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 1rem 2rem;
}

/* Frosted glass frame around the image (glassy, cyberpunk) */
.image-frame {
  width: min(92vw, 900px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

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

/* Footer with prominent CTA and brand note */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #ffdff8;
}

/* Featured product CTA as a large pink button (hackership vibe) */
.product-ad {
  display: inline-block;
  margin: 0 auto 1rem;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: .95rem;
  margin: 0 0 .5rem;
  color: #ffd9f2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  /* Pink gradient CTA */
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0,0,0,.35);
}
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255,0,170,.25);
}
.product-ad p {
  margin: 0;
  padding: 0;
  color: #fff;
  /* Keep the text legible inside the button */
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

/* Small screens scale nicely, larger screens keep composition */
@media (min-width: 768px) {
  main { padding: 8vh 0; }
  .product-ad { margin-top: 0; }
}

/* Accessibility: reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}