/* Global reset and color palette (mobile-first, accessible hues) */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0b1020;
  --bg-soft: #0a0f1a;
  --text: #eaf3ff;
  --muted: #a6b3ff;
  --card: rgba(255,255,255,.08); /* frosted glass base */
  --border: rgba(255,255,255,.18);
  --orange: #ff8a00;
  --orange-dark: #e86e00;
  --indigo: #4f46e5;
  --shadow: 0 8px 28px rgba(0,0,0,.3);
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; color-scheme: dark; }

/* Background: orange low-poly feel + indigo hacker vibe
   crafted with layered triangular gradients for a lightweight pattern */
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(255,138,0,.22) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,138,0,.22) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,138,0,.22) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 0, 15px 30px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* Layout: mobile-first, center the image frame as hero focal point */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Frosted glass frame around the image */
.image-frame {
  width: min(92vw, 860px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  position: relative;
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.05) contrast(1.02);
  outline: 1px solid rgba(255,255,255,.25);
  outline-offset: 2px;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 120px rgba(0,0,0,.25);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
  background: radial-gradient(circle at 20% 20%, rgba(0,0,0,.0), rgba(0,0,0,.25) 60%, rgba(0,0,0,.0) 100%);
}

/* Footer with a prominent CTA styled as a glass card and orange button */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #d6e0ff;
  background: linear-gradient(to top, rgba(10,12,30,.95), rgba(10,12,30,.85) 60%, rgba(10,12,30,.95));
  border-top: 1px solid rgba(255,255,255,.08);
}
.product-ad {
  display: inline-block;
  padding: .45rem;
  border-radius: 12px;
  background: rgba(16, 20, 40, 0.6);
  border: 1px solid rgba(110, 132, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: .75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0 0 .25rem;
  color: #ffd7aa;
  letter-spacing: .2px;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: 700;
  border: none;
  transition: transform .2s ease, filter .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

footer p { margin: .5rem 0 0; font-size: .85rem; color: #a6b3ff; }

/* Responsive tweaks: scale and spacing for tablets/desktops */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 160px); }
  .image-frame { padding: 1.25rem; }
  .product-ad { margin-top: 0.5rem; }
}