/* Minimal reset and a cyberpunk, frosted-glass, pink-to-orange palette */
:root {
  --pink: #e91e63;           /* pink solid background */
  --pink-dark: #d01357;
  --orange: #ff7a00;          /* hacker orange accent */
  --orange-dark: #e66a00;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--pink);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Frosted glass blocks (header/footer) and subtle neon vibe */
header {
  width: 100%;
  background: rgba(255, 255, 255, 0.08); /* frosted glass */
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.25rem;
  text-align: center;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 1rem;
  max-width: 1200px;
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 165, 0, 0.9),
    0 0 14px rgba(255, 105, 180, 0.8);
}

/* Main layout */
main {
  padding: 0 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Image frame with frosted-glass look */
.image-frame {
  width: 100%;
  max-width: 1000px;
  margin: 0.75rem auto 1.25rem;
  padding: 0.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

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

/* Footer with a CTA and branding */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  margin-top: 1rem;
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
}

.product-ad a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.product-ad a p {
  margin: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.6);
  transition: transform .2s ease;
}

.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
  border-radius: 999px;
}

.product-ad a:hover p {
  transform: scale(1.03);
}

/* Small-screen initial state (mobile-first) */
@media (min-width: 768px) {
  header {
    padding: 1.75rem;
  }
  header h1 {
    font-size: 2rem;
  }
  .image-frame {
    margin-top: 1.25rem;
  }
}

@media (min-width: 1024px) {
  header {
    padding: 2rem 1rem;
  }
  header h1 {
    font-size: 2.4rem;
  }
  main { padding: 0 1.25rem; }
  .image-frame { margin: 1.25rem auto; }
  .product-ad h3 { font-size: 1rem; }
}

/* Accessibility and motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}