/* Light reset and base styles */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0b1117;
  --silver: #cbd5e1;
  --turq: #1ee3d6;
  --turq-dark: #0ab6a3;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  --cta: #0ff3e8;
}

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--silver);
  background: #0b1117;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  /* turquoise geometric background */
  background-image:
    radial-gradient(circle at 15% 25%, rgba(30,227,214,.25) 0 60px, transparent 60px),
    radial-gradient(circle at 70% 60%, rgba(0,230,210,.15) 0 45px, transparent 45px),
    conic-gradient(from 90deg at 60% 0, rgba(0,230,210,.12), transparent 60deg, rgba(0,230,210,.12) 120deg, transparent 0);
  background-size: 120px 120px, 120px 120px, 320px 320px;
  background-blend-mode: screen, screen, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(0,255,255,.25) 0 60px, transparent 60px),
    radial-gradient(circle at 80% 65%, rgba(0,255,255,.15) 0 40px, transparent 40px);
  background-size: 120px 120px, 120px 120px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

main {
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  width: 100%;
}

.image-frame {
  width: min(92%, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(120%);
  position: relative;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28), 0 0 40px rgba(0, 255, 255, 0.25);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  margin-top: auto;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--silver);
  background: rgba(2, 6, 23, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.product-ad {
  display: block;
  margin: 0 auto 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  width: min(92%, 720px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: #b9fff5;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #062021;
  background: linear-gradient(135deg, rgba(0, 245, 246, 0.95), rgba(0, 184, 198, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(0, 0, 0, 0.6); }
.product-ad a:focus-visible { outline: 3px solid #4cefff; outline-offset: 2px; }

footer p { margin-top: 0.5rem; font-size: 0.9rem; opacity: 0.95; }

@media (min-width: 600px) {
  main { padding: 6rem 2rem; }
  .image-frame { border-radius: 22px; }
}

@media (min-width: 900px) {
  .image-frame { width: min(72%, 1100px); }
  footer { text-align: center; }
}