/* CSS: Hacker-frosted-glass, orange cyberpunk landing (mobile-first) */

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

/* Theme variables (inline for portability) */
:root {
  --bg: #0b0c10;
  --bg2: #14161a;
  --text: #e9e9e9;
  --muted: #b5b5b5;
  --orange: #ff7a1f;
  --orange-dark: #e56c0d;
  --glass: rgba(0, 0, 0, 0.38);
  --border: rgba(255, 255, 255, 0.20);
}

/* Background: gray geometric shapes + neon hacker vibe */
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.04) 0 120px, transparent 120px),
    radial-gradient(circle at 90% 15%, rgba(255,255,255,0.04) 0 160px, transparent 160px),
    linear-gradient(135deg, #1b1b1f 0%, #0f0f12 100%);
  background-blend-mode: overlay, overlay, normal;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle motion for cyberpunk glow (optional) */
  /* animation: pulse 12s ease-in-out infinite; */
}

/* Layout scaffold (mobile-first) */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Hero image frame (clear hero section) */
.image-frame {
  width: min(720px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.6);
  display: grid;
  isolation: isolate;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: scale(1.02);
  filter: saturate(1.05);
}

/* Footer area with frosted-glass product card */
footer {
  width: 100%;
  padding: 1rem;
}

.product-ad {
  margin: 0 auto;
  max-width: 640px;
  border-radius: 12px;
  padding: 1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: .4px;
}
.product-ad a {
  display: inline-block;
  padding: 0.75rem 1.05rem;
  border-radius: 8px;
  background: var(--orange);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #ffd27a;
  outline-offset: 2px;
}
.product-ad p {
  margin: 0;
  display: inline;
  color: #fff;
  font-size: 0.95rem;
  padding-left: .5rem;
  vertical-align: middle;
}

/* Accessibility helpers: respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Responsive adjustments (tablet/desktop) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 22px; width: min(860px, 60vw); }
  .product-ad { padding: 1.25rem; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(860px, 60vw); }
}