/* Minimal, mobile-first CSS for a cyberpunk, purple-hued landing with frosted glass */

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

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: #f7f4cf;
  /* purple radial gradient background for hacker vibe */
  background: radial-gradient(circle at 15% -10%, rgba(170,0,255,.25), transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(105,0,180,.25), transparent 40%),
              #1a0033;
  min-height: 100vh;
  padding: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout container */
main {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  align-content: start;
}

/* Hero image frame with frosted glass overlay in center for cyberpunk glass look */
.image-frame {
  width: 100%;
  min-height: 52vh;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  position: relative;
  display: grid;
  place-items: stretch;
}

/* The hero image fills the frame */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Purple tint overlay for mood */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(128,0,255,.15);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Center frosted glass panel (purely decorative to evoke glass) */
.image-frame::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(68%, 520px);
  height: min(28%, 260px);
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  pointer-events: none;
}

/* Footer area with frosted glass product ad card */
footer {
  text-align: center;
  padding: 1rem 0 0;
}

/* Frosted glass product ad card */
.product-ad {
  display: inline-block;
  text-align: left;
  width: min(100%, 520px);
  margin: 0.75rem auto;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 1rem;
  color: #ffd400;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  margin-bottom: 0.25rem;
}

.product-ad a {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: #0b0b0b;
  background: linear-gradient(135deg, #ffd400 0%, #ffdc2a 100%);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad p { margin: 0; color: #fffbd6; }

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

/* Small screens: tighten layout */
@media (max-width: 767px) {
  .image-frame { min-height: 52vh; }
  .product-ad { width: 100%; }
}

/* Larger screens: slightly grander hero */
@media (min-width: 768px) {
  main { padding: 1.25rem; }
  .image-frame { min-height: 70vh; }
}