/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

:root {
  --bg-violet: rgba(138, 0, 255, 0.40);
  --bg-violet-deep: rgba(90, 0, 180, 0.55);
  --blue: #4db2ff;
  --blue-dark: #0b5bd7;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(170, 190, 255, 0.28);
  --text: #eaf2ff;
  --muted: #a9c0e6;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; }

/* Background: violet radial gradient + blue accents for hacker vibe */
body {
  font-family: ui-sans-serif, system-ui, -apple-system;
  color: var(--text);
  min-height: 100vh;
  /* violet radial gradient background + subtle blue glows */
  background: 
    radial-gradient(circle at 20% 15%, rgba(160, 0, 255, 0.38) 0%, rgba(160,0,255,0.0) 40%),
    radial-gradient(circle at 85% 0%, rgba(0, 170, 255, 0.20) 0%, rgba(0,0,0,0) 40%),
    #0a0b15;
  /* slight parallax feel on scroll (optional, small footprint) */
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light reset of box model behavior */
*, *::before, *::after { box-sizing: border-box; }

/* Layout: mobile-first */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(720px, 92%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 0 0 rgba(0,0,0,0);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Footer & product ad (CTA) */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
}

/* Frosted glass card for the ad */
.product-ad {
  display: inline-block;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 6px 20px rgba(0,0,0,0.25);
}

/* Ad heading + CTA styling (CTA is prominent) */
.product-ad h3 {
  font-size: 1rem;
  color: #e8f4ff;
  margin-bottom: 0.5rem;
  letter-spacing: .4px;
  text-shadow: 0 0 6px rgba(77,184,255,.8);
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: #041428;
  font-weight: 700;
  background: linear-gradient(135deg, #67e1ff 0%, #4b6aff 70%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 0 12px rgba(70,180,255,.9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(70,180,255,.95);
}
.product-ad a:focus {
  outline: 3px solid #a7e3ff;
  outline-offset: 2px;
}
.product-ad p {
  display: inline;
  font-weight: 600;
  color: #eaffff;
  padding-left: .5rem;
}

footer p {
  color: #a9b5ff;
  font-size: .95rem;
  margin-top: .75rem;
}

/* Responsive tweaks: scale up hero on larger screens, keep compact on mobile */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 160px); }
  .image-frame { border-radius: 22px; padding: 1.25rem; }
  .product-ad h3 { font-size: 1.05rem; }
}
@media (min-width: 1024px) {
  /* Slightly larger hero feel on desktop */
  main { padding: 4rem; }
  .image-frame { width: min(860px, 70vw); }
}