/* Light reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Palette & baseline */
:root {
  --maroon: #8a1e3a;
  --bg: #0b0b0f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #e9e9e9;
  --muted: #bdbdbd;
}

html, body { height: 100%; }

/* Global styling */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Abstract gray blur background (frosted/night-city vibe) */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  left: -5%;
  top: -5%;
  width: 110%;
  height: 110%;
  background:
    radial-gradient(circle at 20% 20%, rgba(120,120,120,.25), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(60,60,60,.25), transparent 40%),
    radial-gradient(circle at 40% 75%, rgba(100,100,100,.25), transparent 40%),
    linear-gradient(135deg, #1b1b1f 0%, #0e0e12 100%);
  filter: saturate(0.95);
  opacity: 0.92;
  pointer-events: none;
}

/* Layout sections */
header {
  text-align: center;
  padding: 28px 16px 12px;
}

header h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--maroon);
  text-shadow: 0 0 8px rgba(138, 30, 58, 0.5);
}

/* Main content area spacing */
main { padding: 6px 0 12px; }

/* Frosted glass image frame (hero area) */
.image-frame {
  width: min(92%, 980px);
  margin: 20px auto;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Footer & product ad (CTA) */
footer {
  padding: 16px;
  text-align: center;
  color: #e6e6e6;
  background: transparent;
}

.product-ad {
  display: inline-block;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 600;
}

.product-ad a p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #8b1e3a, #5b0e28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-block;
  transition: transform .15s ease;
  text-align: center;
  min-width: 180px;
}

/* CTA hover/focus states for accessibility */
.product-ad a p:hover { transform: translateY(-1px); }
.product-ad a p:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}

/* Small screens first (mobile-first) adjustments */
@media (min-width: 700px) {
  header { padding-top: 40px; }
  .image-frame { padding: 20px; }
}

/* Larger screens tweaks */
@media (min-width: 1000px) {
  header h1 { font-size: 3.2rem; }
}