/* Reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --teal: #2bd4c8;
  --teal-dark: #0fb9a6;
  --gold: #d4af37;
  --bg: #0a0f14;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #e6fff5;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg);
  /* Gold waves background (stylized) */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(circle at 15% 0%, rgba(212,175,37,0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 12%, rgba(212,175,37,0.25) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(212,175,37,0.15) 0%, transparent 40%);
  background-size: 1200px 600px, 600px 320px, 600px 320px, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal); text-decoration: none; }
a:focus-visible { outline: 3px solid #2bd4c8; outline-offset: 2px; }

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.image-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(10, 16, 20, 0.55); /* frosted glass base */
  border: 1px solid rgba(125, 200, 230, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  overflow: hidden;
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}
.image-frame::before {
  /* subtle internal glow (kept decorative) */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  z-index: 0;
  pointer-events: none;
}
.image-frame::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 14px;
  border: 2px solid rgba(0, 255, 235, 0.25);
  box-shadow: 0 0 40px rgba(0, 255, 235, 0.45);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
footer {
  padding: 1.5rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(6, 14, 22, 0.55);
  border: 1px solid rgba(0, 255, 235, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: #d6fff1;
}
.product-ad a {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,255,235,0.65), rgba(0,190,172,0.85));
  color: #021f1f;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 16px rgba(0,255,235,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,255,235,.75); }
.product-ad a:focus-visible { outline: 3px solid #2bd4c8; outline-offset: 2px; }
footer p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #b8ffd9;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 3rem 1rem; }
  .image-frame { max-width: 960px; aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  body { background-size: 1400px 700px, 800px 360px, 800px 360px, cover; }
  .image-frame { border-radius: 22px; padding: 1.4rem; }
  .image-frame img { border-radius: 14px; }
  .product-ad { padding: 0.9rem 1.25rem; }
  .product-ad a { padding: 0.75rem 1.25rem; font-size: 1.05rem; }
}