/* Hacker cyberpunk landing: orange diagonal background, frosted glass, gold accents, mobile-first */

/* Reset and base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #f7f5ec;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  background-color: #0a0a0a;
  /* orange diagonal lines + subtle glow layers */
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 140, 0, 0.25) 0 8px, rgba(0,0,0,0) 8px 16px),
    radial-gradient(circle at 20% -10%, rgba(255, 140, 0, 0.15), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(0, 160, 120, 0.08), transparent 40%);
  background-blend-mode: overlay, normal, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, clear hero and glass panels */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08); /* frosted glass base */
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(1.2);
  box-shadow:
    0 6px 22px rgba(0,0,0,.55),
    inset 0 0 12px rgba(255,255,255,.15),
    0 0 40px rgba(255, 215, 0, 0.6); /* neon glow edge */
  transition: transform 0.25s ease;
}
.image-frame:hover { transform: scale(1.01); }

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  /* slight color punch for hacker vibe */
  filter: saturate(1.05);
}

/* Footer: glassy product ad with prominent CTA */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #e8e1cc;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

.product-ad {
  width: min(92%, 720px);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 22px rgba(0,0,0,.5);
}

/* Gold title with glow for cyberpunk feel */
.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffd24a;
  letter-spacing: .3px;
  text-shadow: 0 0 8px rgba(255, 212, 0, 0.65);
}

/* CTA button styling (the link wraps a <p> as per HTML structure) */
.product-ad a { text-decoration: none; outline: none; }
.product-ad a p {
  margin: 0;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb700 0%, #ff7e00 100%);
  color: #241d00;
  font-weight: 900;
  letter-spacing: .4px;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.75);
  transition: transform 0.15s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Focus visibility for accessibility on CTA */
.product-ad a:focus-visible,
.product-ad a p:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
}

/* Footer caption text */
footer p {
  margin: .5rem 0 0;
  color: #d8d0bd;
  font-size: .95rem;
  opacity: .95;
}

/* Responsiveness: expand hero on larger screens, keep compact on mobile */
@media (min-width: 768px) {
  main {
    padding: 3rem 2rem;
    min-height: calc(100vh - 180px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}