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

:root {
  --bg-dark: #0a0a12;
  --bg-darker: #0b0b1a;
  --text: #e6e0ff;
  --muted: #cbd5e9;
  --primary: #7c3aed;
  --violet: #8b5cf6;
  --glow: 0 0 20px rgba(124, 58, 237, 0.8);
  --glow-2: 0 0 60px rgba(125, 0, 255, 0.65);
  --glass: rgba(255, 255, 255, 0.08);
}

html, body {
  height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, rgba(139, 92, 246, 0.25) 0, transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(102, 0, 255, 0.25) 0, transparent 40%),
              linear-gradient(#0a0a12 0%, #0a0a12 60%, #0b0b1a 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem;
  width: 100%;
  min-height: calc(100vh - 180px);
}

.image-frame {
  width: min(680px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.65), inset 0 0 60px rgba(124, 58, 237, 0.25);
  backdrop-filter: saturate(1.2) blur(2px);
  transition: box-shadow 0.3s ease;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) contrast(1.05);
}
.image-frame:hover {
  box-shadow: 0 0 40px rgba(138, 0, 255, 0.85);
}
@media (hover: hover) {
  .image-frame:hover img { transform: scale(1.03); }
}

footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #e6e0ff;
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

.product-ad {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.28);
  border: 1px solid rgba(124, 58, 237, 0.66);
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.6);
}
.product-ad h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.05rem;
}
.product-ad a {
  text-decoration: none;
  color: inherit;
}
.product-ad a p {
  margin: 0;
  font-weight: 600;
  color: #fff;
  padding: 0.25rem 0.75rem;
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.16);
}
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.6);
}
footer p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(124,58,237,.65);
}

@media (min-width: 768px) {
  main { padding: 3rem; }
  .image-frame { width: min(800px, 78vw); }
  footer { padding: 2rem 1rem; }
}

@media (min-width: 1024px) {
  .image-frame { width: min(920px, 60vw); }
  .product-ad h3 { font-size: 1.15rem; }
}