:root {
  --indigo-900: #1a1444;
  --indigo-800: #281a64;
  --indigo-700: #2f2a88;
  --indigo-600: #3b39b4;
  --glass: rgba(15, 12, 40, 0.58);
  --beige-1: #f6e9d0;
  --beige-2: #eedfcb;
  --text: #e6e6ff;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, var(--beige-1) 0%, var(--beige-2) 60%, #f6f7ff 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  left: -15vmax;
  top: -15vmax;
  background: radial-gradient(circle at 25% 25%, rgba(255,235,210,0.8) 0 20%, transparent 21%),
              radial-gradient(circle at 70% 70%, rgba(210,180,120,0.8) 0 25%, transparent 26%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 2rem;
}

.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(13, 11, 40, 0.6);
  box-shadow: 0 40px 90px rgba(0,0,0,0.35);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: saturate(1.05);
}

footer {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem;
  background: rgba(15, 12, 40, 0.45);
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #e6e6ff;
}

.product-ad {
  background: rgba(16, 16, 52, 0.58);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: inline-block;
  text-align: center;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
}
.product-ad a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a1a64, #2b2b8a);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.25);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
footer p { margin: 0.4rem 0 0; font-size: 0.85rem; opacity: 0.95; }

@media (min-width: 768px) {
  main { min-height: 82vh; padding: 3rem; }
  .image-frame { border-radius: 28px; }
  .product-ad { padding: 1.25rem 1.75rem; }
  .product-ad h3 { font-size: 1rem; }
  footer { padding: 2rem; }
  footer p { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}