/* Minimal reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }

/* Design tokens */
:root {
  --teal: #2bd4d4;
  --teal-dark: #0fb3a0;
  --bg-start: #ff3e9e;
  --bg-mid:   #e400c0;
  --bg-end:   #00e6b6;
  --glass: rgba(255,255,255,.14);
  --glass-border: rgba(255,255,255,.28);
  --text: #eafff5;
  --muted: rgba(234,255,245,.8);
}

/* Mobile-first, cyberpunk aesthetic with frosted glass */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 40%, var(--bg-end) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Subtle techno backdrop overlay for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.08) 0 15%, transparent 16%),
    radial-gradient(circle at 70% 100%, rgba(0,0,0,.04) 0 15%, transparent 16%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

/* Layout baseline */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 6vh 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 980px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.08);
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.05);
}

footer {
  width: 100%;
  padding: 1.5rem 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.08), rgba(0,0,0,0));
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 18px rgba(0,0,0,.25);
  backdrop-filter: saturate(1.2) blur(4px);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #eaffff;
  text-shadow: 0 0 6px rgba(0,255,240,.4);
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 210px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, #2be7d7 0%, #0ea5a3 100%);
  color: #041b1c;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.product-ad a p {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 0.92rem;
  line-height: 1;
}
.product-ad a:focus-visible p { color: #041b1c; }

/* Global link styles for accessibility */
a {
  color: #d8fff7;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
  text-decoration: none;
}

/* Headings with subtle glow for cyberpunk vibe */
h1, h2, h3 {
  color: #eaffff;
  text-shadow: 0 0 8px rgba(0,255,240,.5);
}
h3 { font-size: 1.05rem; }

/* Responsive breakpoints (mobile-first) */
@media (min-width: 480px) {
  main { padding: 8vh 2.5rem 4rem; }
}
@media (min-width: 768px) {
  main { padding: 10vh 4rem 6rem; }
  .image-frame { border-radius: 24px; }
  .product-ad { padding: 0.95rem 1.25rem; border-radius: 14px; }
  .product-ad a { height: 46px; min-width: 240px; }
}
@media (min-width: 1024px) {
  main { padding: 12vh 6rem 6rem; }
}