/* Cyberpunk hacker theme: single responsive stylesheet (mobile-first) */

/* Minimal reset and CSS variables */
:root{
  --bg-paper: #e6e6e6;
  --bg-paper-dark: #d9d9d9;
  --ink: #0b1020;
  --blue: #2aa1ff;
  --blue-dark: #0d47a1;
  --glass: rgba(255,255,255,.14);
  --border: rgba(120,180,255,.55);
  --shadow: 0 12px 40px rgba(0,0,0,.25);
  --focus: #7bd0ff;
}
*,
*::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(--ink);
  background: var(--bg-paper);
  /* gray paper texture: subtle grid lines for a mock paper look */
  background-image:
    linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.04)),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 6px 6px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout: center hero, content flows, footer sits below */
main{
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass hero frame for the image */
.image-frame{
  width: min(92vw, 860px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* slight color punch for cyber vibe */
  filter: saturate(1.05);
}

/* Footer area with a frosted card CTA */
footer{
  padding: 1.75rem 1rem;
  text-align: center;
  width: 100%;
}

.product-ad{
  display: inline-block;
  width: min(92vw, 720px);
  padding: 1rem 1rem;
  margin-bottom: .75rem;
  border-radius: 12px;
  background: rgba(20,40,88,.28);
  border: 1px solid rgba(120,180,255,.55);
  color: #e9f2ff;
  text-align: left;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad h3{
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #eaf2ff;
  display: inline-flex;
  align-items: center;
}

.product-ad a{
  text-decoration: none;
  /* CTA is the visual button inside the link */
}

.product-ad a p{
  margin: 0;
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 14px rgba(30,136,229,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a p:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30,136,229,.75);
}
.product-ad a:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* CTA focus for accessibility on links */
a:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

footer p{
  margin: 0.25rem 0 0;
  font-size: .9rem;
  color: #6f83ff;
}

/* Responsive tweaks */
@media (min-width: 768px){
  main{ padding: 4rem 2rem; }
  .image-frame{ padding: 1.25rem; }
  .product-ad{ font-size: 1rem; }
  footer p{ font-size: 1rem; }
}