/* Reset and root variables */
:root {
  --bg: #f5e6cf;
  --bg-dark: #e4d2b6;
  --orange: #ff7a1a;
  --orange-dark: #e46f0f;
  --glass: rgba(255, 255, 255, 0.55);
  --text: #2f211a;
  --soft: #5a4a3a;
}

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

/* Base styles */
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Beige waves background (soft, accessible) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* layered waves and glow for cyberpunk vibe on beige */
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,.60) 0 24px, transparent 24px) 0 0/72px 72px,
    radial-gradient(circle at 60% 0, rgba(255,255,255,.25) 0 18px, transparent 18px) 0 0/90px 60px,
    linear-gradient(135deg, #f7e6cc 0%, #f0d8b8 60%, #e8d2ab 100%);
  opacity: .95;
  mix-blend-mode: overlay;
  filter: saturate(110%);
}

/* Layout: mobile-first hero centered image frame */
main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: 100%;
  max-width: 1000px;
  padding: 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.28); /* frosted glass feel */
  backdrop-filter: blur(8px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  max-height: 70vh;
}

/* Footer with frosted card CTA */
footer {
  margin-top: 2rem;
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  position: relative;
}

/* Featured product card (frosted glass) */
.product-ad {
  width: min(92%, 720px);
  padding: 1rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-ad h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2b1b0a;
  letter-spacing: 0.4px;
  margin: 0;
  display: inline-block;
}

/* CTA button styled as neon hacker button */
.product-ad a {
  display: inline-block;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.9);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s;
  text-align: center;
  white-space: nowrap;
}
.product-ad a:hover {
  transform: translateY(-2px);
  background: var(--orange-dark);
  box-shadow: 0 0 12px rgba(230, 111, 15, 0.95);
}
.product-ad a:focus {
  outline: 3px solid rgba(255, 215, 140, 0.9);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 214, 140, 0.5);
}

/* Subtle 2020s cyberpunk vibe on text */
.product-ad a {
  text-shadow: 0 0 6px rgba(255, 180, 60, 0.9);
}
footer p {
  font-size: 0.92rem;
  color: var(--soft);
  text-align: center;
  margin: 0.25rem 0;
  opacity: 0.95;
  letter-spacing: 0.2px;
}

/* Focus visibility for accessibility */
a:focus-visible {
  outline: 3px solid rgba(255, 214, 140, 0.95);
  outline-offset: 2px;
  border-radius: 999px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 4rem 1rem; }
  .image-frame { padding: 1rem; }
  footer { padding: 2rem 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { border-radius: 24px; }
  .product-ad { justify-content: space-between; }
}