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

/* Theme & helpers */
:root {
  --bg-dark: #0b0f14;
  --text: #e6eaf0;
  --soft-text: #cbd6e3;
  --gold: #d4af37;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --focus: rgba(212, 175, 55, 0.9);
}
html, body { height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: var(--text);
  background-color: var(--bg-dark);
  /* Gold striped pattern background + silver hacker vibes */
  background-image: repeating-linear-gradient(90deg, rgba(212,175,55,.25) 0 12px, transparent 12px 24px);
  background-size: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .2px;
}

/* Layout: mobile-first center-aligned hero area */
main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

/* Frosted glass card containing the image */
.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08),
              0 20px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(1.05);
}

/* Footer area with the CTA card (accessible CTA) */
footer {
  padding: 0.75rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

/* Featured product card / CTA styling */
.product-ad {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: .75rem 1rem;
  width: min(92vw, 720px);
}
.product-ad h3 {
  font-size: 1rem;
  color: #ffd95e;
  text-shadow: 0 0 6px rgba(255, 216, 94, 0.8);
  margin-bottom: .25rem;
}
.product-ad a { color: inherit; text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(240,240,255,.25));
  color: #0b0f14;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(212,175,55,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.8);
}
.product-ad a:focus-visible p {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.9), 0 6px 20px rgba(212,175,55,0.7);
}

/* Text & headings with cyberpunk glow */
h3, .product-ad h3 {
  text-shadow: 0 0 8px rgba(212,175,55,0.8);
  color: #ffd27a;
}

/* Accessibility: focus styles for interactive elements */
a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.9);
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 2rem; }
  .image-frame { border-radius: 24px; }
}
@media (min-width: 1024px) {
  main { padding: 3rem; }
  footer { padding: 1.25rem 2rem; }
  .product-ad { display: inline-block; margin-top: 0; }
}