/* CSS: hacker-tech landing style (purple gradient, orange CTAs, frosted glass) */

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
html { font-size: 16px; }
:root {
  --bg-start: #5a1bd2;
  --bg-mid:   #43207b;
  --bg-end:   #240f40;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #e9e6ff;
  --orange: #ff8a00;
  --orange-dark: #e66d00;
  --shadow: 0 6px 22px rgba(0,0,0,.35);
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  /* mild vignette for cyberpunk feel */
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, centered hero image, frosted glass look */
main {
  width: min(92%, 1000px);
  margin: 4rem auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* slight glow for hacker vibe without overpowering */
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.25);
}

/* Footer with frosted glass ad card */
footer {
  margin-top: auto;
  padding: 1.25rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  width: min(92%, 560px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ffd27a;
  text-shadow: 0 0 6px rgba(255, 210, 122, 0.7);
}

.product-ad a {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00 0%, #ff5e00 100%);
  color: #141414;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255, 138, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 120, 0, 0.6);
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd27a;
  outline-offset: 2px;
}
.product-ad a > p { margin: 0; }

/* Footer text */
footer p {
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 0.92rem;
}

/* Focus styles for accessibility on interactive elements */
:focus-visible {
  outline: 3px solid #ffd27a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { margin-top: 6rem; }
  .image-frame { border-radius: 22px; padding: 1.4rem; }
  .image-frame img { border-radius: 14px; }
}

@media (min-width: 900px) {
  .image-frame { aspect-ratio: 21 / 9; }
  footer { padding-bottom: 2rem; }
}