/* Minimal reset and a cyberpunk navy, orange, frosted-glass theme (mobile-first) */
:root{
  --navy: #0b1224;
  --navy-dark: #050a1a;
  --orange: #ff7a00;
  --orange-dark: #e66700;
  --text: #eaf4ff;
  --muted: #93a3b8;
  --glass: rgba(255,255,255,.12);
  --glass-dark: rgba(0,0,0,.25);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: var(--navy-dark);
  /* Navy low-poly triangles background */
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,.25) 25%, transparent 25%);
  background-size: 64px 64px, 64px 64px, 64px 64px, 64px 64px;
  background-position: 0 0, 16px 16px, 0 0, 16px -16px;
  background-color: #0b1224;
  line-height: 1.4;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 28px 16px;
}

.image-frame {
  width: min(92vw, 900px);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

/* Frosted-glass overlay on the image to enhance hacker vibe */
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.image-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  pointer-events: none;
  opacity: .25;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* subtle color punch to feel cyberpunk */
  filter: saturate(1.05) contrast(1.05);
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  gap: 12px;
}

/* Frosted glass block for CTA region (Featured Product) */
.product-ad {
  width: min(92vw, 720px);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(12, 18, 40, 0.62);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #eaf4ff;
}

.product-ad h3 {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd6a6;
  letter-spacing: .2px;
  margin: 0;
}

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

.product-ad p {
  margin: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff5a00 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255, 120, 0, .6);
  transition: transform .2s ease;
  display: inline-block;
}

.product-ad p:hover { transform: translateY(-1px); }

.product-ad p:focus-visible, .product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

footer p {
  color: #cbd8f0;
  font-size: .92rem;
  opacity: .9;
  margin: 0;
}

/* Responsive typography and spacing (mobile-first) */
@media (min-width: 640px) {
  main { padding: 40px 24px; }
  .image-frame { border-radius: 22px; }
  .product-ad { padding: 16px 20px; }
  .product-ad h3 { font-size: 1.15rem; }
  .product-ad p { padding: 12px 20px; font-size: 1rem; }
}

@media (min-width: 1024px) {
  main { padding: 60px 40px; }
  .image-frame { border-radius: 26px; }
}