/* Reset & root colors */
:root {
  --bg-brown: #2b1a0c;
  --bg-brown-dark: #1b0f07;
  --glass: rgba(255, 255, 255, 0.08);
  --text: #f5eaff;
  --accent: #8a2be2;
  --accent-2: #7d4bff;
  --outline: rgba(255, 255, 255, 0.9);
}

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

/* Page base with brown waves backdrop & neon purple accents */
html, body { height: 100%; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background: linear-gradient(135deg, #2b1a0c 0%, #1b0f07 60%, #2b1a0c 100%);
  /* subtle waves/pattern layers for cyberpunk vibe */
  background-image:
    radial-gradient(circle at 15% 0, rgba(160,110,40,.25) 0 15%, transparent 16%),
    radial-gradient(circle at 70% 0, rgba(120,40,200,.25) 0 20%, transparent 21%);
  background-blend-mode: screen;
  background-size: cover;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Mobile-first layout: center hero content */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass image frame as hero unit */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(20,12,14,.5);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  display: grid;
  place-items: center;
}

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

/* Footer area with a prominent CTA (frosted card) */
footer {
  padding: 2rem 1rem;
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
}

/* Featured product card with frosted glass and neon CTA */
.product-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(92vw, 1000px);
  padding: .9rem;
  border-radius: 14px;
  background: rgba(20,0,40,.55);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.product-ad a { text-decoration: none; }

/* CTA button styling for accessibility and prominence */
.product-ad a p {
  margin: 0;
  padding: .65rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #8a2be2 0%, #6a0dad 100%);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 14px rgba(138,43,226,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Hover/focus states for CTAs */
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(138,43,226,.75);
}
.product-ad a p:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Global link/button color baseline for accessibility */
a, button { color: #fff; text-decoration: none; }

/* Responsive tweaks for larger screens */
@media (min-width: 700px) {
  main { padding: 3rem 0; }
  .image-frame { width: min(80vw, 960px); }
  .product-ad { padding: 1rem 1.25rem; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}