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

:root {
  --turq: #1ef0e0;
  --turq2: #00d4c3;
  --beige: #e9d6bf;
  --beige2: #f2e4cb;
  --glass: rgba(255, 248, 230, 0.18);
  --edge: rgba(255, 248, 210, 0.55);
}

html, body { height: 100%; }

/* Neon turquoise glow + beige cyberpunk vibe */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #f5e2c9;
  background: #06131a;
  min-height: 100dvh;
  line-height: 1.5;
  /* turquoise glow layers */
  background-image:
    radial-gradient(circle at 20% -10%, rgba(0, 255, 230, 0.22) 0 20%, transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(0, 210, 200, 0.18) 0 28%, transparent 40%),
    linear-gradient(135deg, #041018 0%, #041016 60%, #041014 100%);
  background-blend-mode: screen, overlay, normal;
  overflow-x: hidden;
}
body::before {
  content:"";
  position: fixed; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(0,255,230,0.08) 0 20%, transparent 22%),
              radial-gradient(circle at 0% 100%, rgba(0,180,200,0.04) 0 20%, transparent 22%);
  z-index: -1;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0% { opacity: 0.9; }
  100% { opacity: 0.5; }
}

/* Layout: mobile-first hero with frosted glass image frame */
main {
  display: grid;
  place-items: center;
  padding: 48px 16px 24px;
  min-height: 60vh;
}
.image-frame {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 6px;
  background: rgba(255, 248, 230, 0.10);
  border: 1px solid rgba(255, 247, 215, 0.5);
  box-shadow:
    0 6px 30px rgba(0, 255, 210, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  position: relative;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.image-frame::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  pointer-events: none;
  opacity: .6;
  mix-blend-mode: multiply;
}
.frost-cap {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 248, 230, 0.18);
  border: 1px solid rgba(255, 248, 210, 0.45);
  font-size: 0.85rem; color: #f4e4c6;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  display: none;
}

/* Frosted glass product ad (footer) */
footer {
  padding: 20px 16px 40px;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #f5e2c2;
}
.product-ad {
  display: grid;
  gap: 6px;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 248, 230, 0.20);
  border: 1px solid rgba(255, 248, 210, 0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: 420px;
  width: 100%;
  box-shadow: 0 6px 22px rgba(0,255,210,.25);
}
.product-ad h3 { font-size: 1rem; color: #e9e1cb; }
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  margin-top: 2px;
  color: #04130f;
  background: linear-gradient(135deg, #2af2e0 0%, #14d4b7 100%);
  border: 1px solid rgba(0,0,0,.15);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0,255,210,.8);
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(0,255,210,.95); }
.product-ad a:focus-visible { outline: 2px solid #8af4e7; outline-offset: 2px; }

/* Footer credit */
footer p { text-align: center; color: #e9d9ba; font-size: 0.9rem; margin-top: 6px; }

/* Responsiveness: keep mobile-first, expand gently */
@media (min-width: 720px) {
  main { padding: 64px 0 40px; }
  .image-frame { max-width: 760px; }
}
@media (min-width: 1024px) {
  footer { padding: 28px 40px 60px; }
  .product-ad { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}