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

:root {
  --bg-deep: #0a0713;
  --bg-veil: rgba(15, 0, 40, 0.6);
  --violet: #7a5cff;
  --violet-2: #3b0a60;
  --gold: #d4af37;
  --gold-2: #ffd966;
  --text: #e9e1ff;
  --muted: #c9b8ff;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.28);
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.4;
  background: #130f20;
  background-image:
    linear-gradient(135deg, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0.0) 50%, rgba(212,175,55,0.15) 100%),
    radial-gradient(circle at 20% -10%, rgba(124,58,237,.25), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(124,58,237,.15), transparent 40%),
    linear-gradient(#0b0b1b, #0b0b1b);
  background-blend-mode: screen;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,215,0,.15) 0%, rgba(255,215,0,.0) 40%, rgba(255,215,0,.15) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: sheen 8s linear infinite;
  z-index: 0;
}
@keyframes sheen {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(20%); }
}

main {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem 3rem;
  display: grid;
  place-items: center;
}

header {
  padding: 1.25rem 1rem;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  border-radius: 14px;
  background: rgba(15, 0, 40, 0.6);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
header h1 {
  margin: 0;
  font-family: ui-sans-serif, system-ui;
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: .04em;
  line-height: 1.15;
  background: linear-gradient(90deg, #ffd966 0%, #e0d2ff 60%, #ffd966 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(124,58,237,.6);
}
header::after {
  content: "";
  display: block;
  width: min(720px, 90%);
  height: 1px;
  margin: .75rem auto 0;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.0), rgba(255,255,255,.15));
  filter: saturate(1.2);
}

.image-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: min(680px, 92%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 rgba(255,255,255,0.0), 0 6px 20px rgba(0,0,0,.25);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
}

/* Frosted glass feel for container areas including footer */
footer, header {
  background: rgba(15, 0, 40, 0.6);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  padding: .75rem;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
}
.product-ad a p {
  margin: 0;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #7d6a00, #cfae1f);
  color: #1b0b00;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(0,0,0,.25);
  transition: transform .15s ease;
  text-align: center;
}
.product-ad a p:hover {
  transform: translateY(-1px);
}
.product-ad a:focus-visible, header:focus-visible, .product-ad a:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
  border-radius: 8px;
}
a, button, [role="button"] { color: inherit; outline: none; }

/* CTA accessibility focus for keyboard users on interactive elements */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks - mobile-first */
@media (min-width: 600px) {
  main {
    padding: 3rem 2rem;
  }
  header {
    text-align: left;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .image-frame {
    width: 720px;
  }
}

@media (min-width: 1024px) {
  header {
    text-align: left;
    padding-left: 3rem;
  }
  footer {
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .image-frame {
    width: 860px;
  }
}