/* Global reset & color system */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg-deep: #0a0f26;
  --bg-soft: #141a33;
  --indigo: #4b5bd6;
  --indigo-dark: #1b1f4b;
  --orange: #ff7a18;
  --orange-dark: #e67000;
  --glass: rgba(255, 255, 255, 0.08);
  --text: #e8e9f7;
  --muted: #cbd5e1;
  --border: rgba(255, 255, 255, 0.25);
  --ring: rgba(255, 170, 0, 0.8);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background-color: var(--bg-deep);
  /* Indigo geometric shapes background (faux SVG-like shapes) */
  background-image:
    radial-gradient(circle at 15% 10%, rgba(75, 91, 214, 0.25) 0 60px, transparent 60px),
    radial-gradient(circle at 75% 35%, rgba(0, 210, 255, 0.25) 0 60px, transparent 60px),
    linear-gradient(135deg, rgba(10, 14, 35, 0.98) 0%, rgba(10, 6, 40, 0.98) 60%, rgba(6, 9, 32, 0.98) 100%);
  background-size: 180px 180px, 180px 180px, cover;
  background-repeat: no-repeat;
  background-blend-mode: screen, screen, normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout: mobile-first, centered hero + footer at bottom */
main {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  /* subtle hacker-glow geometric overlays */
  background-image:
    conic-gradient(from 90deg at 20% 0%, rgba(255, 125, 0, 0.25) 0 25%, transparent 25%),
    radial-gradient(circle at 70% 20%, rgba(0, 210, 255, 0.25) 0 60px, transparent 60px);
  background-blend-mode: screen;
  pointer-events: none;
  mix-blend-mode: screen;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* slight neon edge to emphasize cyberpunk vibe */
  filter: saturate(1.1);
}
.image-frame:focus-within { outline: 2px solid var(--ring); outline-offset: 2px; }

/* Frosted glass feel for content blocks (footer area) */
footer {
  padding: 1.25rem 1rem;
  margin-top: auto;
}
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: min(100%, 680px);
  margin: 0 auto 0.75rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.product-ad h3 {
  margin: 0;
  font-size: 0.9rem;
  color: #ffd29a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-ad p {
  margin: 0;
  font-size: 1.05rem;
  color: #ffd8a3;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: var(--orange);
  color: #0b0b0b;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.product-ad a:focus-visible { outline: 3px solid #ffd89a; outline-offset: 2px; }
.product-ad p + a { /* ensure CTA still stands out if text blocks vary */ }

/* Footer note styling */
footer p {
  text-align: center;
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: #cbd5e1;
}

/* Responsive tweaks for larger viewports */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 28px; }
  .product-ad { flex-direction: row; align-items: center; justify-content: center; gap: 1.5rem; padding: 1rem 1.5rem; }
  .product-ad h3 { font-size: 1rem; }
}
