/* Reset: light, accessible, mobile-first */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Theme variables (cyberpunk hacker vibe) */
:root {
  --bg-dark: #05060a;
  --bg-darker: #03060b;
  --teal: #2ff0d1;
  --teal-glow: rgba(47, 240, 209, 0.95);
  --violet: #8f3aff;
  --violet-soft: rgba(143, 58, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(180, 255, 255, 0.25);
  --text: #eaffff;
  --muted: #b6f0f0;
  --shadow: 0 0 40px rgba(0, 255, 212, 0.25);
}

html, body {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-dark);
  background:
    radial-gradient(circle at 20% -10%, rgba(0, 255, 200, 0.12), transparent 25%),
    radial-gradient(circle at 85% 0%, rgba(138, 0, 255, 0.12), transparent 25%),
    linear-gradient(#04070e, #0b101a 60%, #0a0f1a);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2px;
}

/* Layout container (mobile-first) */
main {
  width: 100%;
  padding: 20px;
  display: grid;
  place-items: center;
  max-width: 1000px;
}

/* Frosted glass frame around the image */
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(110, 255, 255, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Subtle glow overlay behind the image to enhance neon vibe */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0, 255, 200, 0.18);
  mix-blend-mode: screen;
}

/* Footer with frosted glass panel and neon accents */
footer {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #dfefff;
  background: linear-gradient(to top right, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
  border-top: 1px solid rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Product Ad chip (neon pill) and CTA inside */
.product-ad {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  background: rgba(20, 0, 40, 0.25);
  border: 1px solid rgba(126, 88, 255, 0.25);
  border-radius: 999px;
  color: #dff8ff;
  box-shadow: 0 0 24px rgba(138, 43, 226, 0.4);
}

.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #b9fffb;
  text-shadow: 0 0 6px rgba(0, 255, 200, 0.9);
}

.product-ad a {
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00f5d0 0%, #006a6a 100%);
  color: #041a1a;
  font-weight: 700;
  letter-spacing: .4px;
  box-shadow: 0 0 14px rgba(0, 255, 212, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-ad a:hover p,
.product-ad a:focus-within p {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 255, 212, 1);
}
.product-ad a:focus-visible p {
  outline: 2px solid #00ffe0;
  outline-offset: 2px;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #cfefff;
  opacity: 0.9;
}

/* Small card for frosted sections (optional reuse) */
.card {
  width: 100%;
  max-width: 720px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #eaffff;
}

/* Keyboard focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #00ffe0;
  outline-offset: 3px;
}
button, [role="button"] { cursor: pointer; }

/* Responsive tweaks: larger screens get more spacing and rounded corners */
@media (min-width: 720px) {
  main { padding: 40px 20px; }
  .image-frame { border-radius: 28px; aspect-ratio: 16 / 9; }
  .product-ad { padding: 10px 20px; }
  .image-frame::after { box-shadow: inset 0 0 80px rgba(0, 255, 200, 0.25); }
}

/* Desktop niceties and stronger glow accents for wide viewports */
@media (min-width: 1024px) {
  body {
    background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                radial-gradient(circle at 20% -10%, rgba(0,255,180,0.18), transparent 40%),
                radial-gradient(circle at 90% 0%, rgba(140,0,180,0.18), transparent 40%),
                #050609;
  }
  main { max-width: 1100px; padding: 40px; }
  .image-frame { border-radius: 34px; }
  .product-ad a p { padding: 10px 18px; font-size: 1rem; }
}