/* Frosted Glass Hacker Theme - Mobile-first, single stylesheet */

:root{
  --coral: #FF6F61;
  --bg: #000;
  --text: #e6f0ff;
  --glass: rgba(255,255,255,.08);
  --glass-dark: rgba(0,0,0,.25);
}

*,
*::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, Arial;
  color: var(--text);
  background: var(--bg);
  /* Black grid paper background (subtle white grid lines) */
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a{ color: inherit; text-decoration: none; outline: none; }

a:focus-visible{
  outline: 3px solid #ffd166;
  outline-offset: 2px;
  border-radius: 6px;
}

main{
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Hero / image frame with frosted glass look */
.image-frame{
  width: min(92vw, 720px);
  background: rgba(12,12,22,0.65);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  position: relative;
  overflow: hidden;
}
.image-frame:before{
  /* subtle neon glow overlay for hacker vibe */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,0) 40%),
    linear-gradient(45deg, rgba(255,111,80,.25), rgba(0,0,0,0) 40%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.image-frame img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  image-rendering: crisp-edges;
  /* keep image vivid in cyberpunk theme */
  filter: saturate(1.05);
}

/* Footer with prominent CTA (styled as frosted card) */
footer{
  padding: 28px 16px;
  text-align: center;
  color: #dcefff;
  font-family: inherit;
}

.product-ad{
  display: inline-block;
  padding: 0;
  border-radius: 12px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  margin: 0 auto 12px;
}
.product-ad h3{
  font-size: 1rem;
  margin: 0;
  padding: 12px 14px;
  color: #ffb08a;
  text-shadow: 0 0 6px rgba(255, 128, 128, .6);
}
.product-ad a{ display: block; }
.product-ad a p{
  margin: 0;
  padding: 12px 18px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  text-align: center;
  border-radius: 0 0 12px 12px;
}
.product-ad a:hover p{ filter: brightness(1.05); transform: translateY(-1px); }

@media (min-width: 600px){
  .image-frame{ padding: 18px; }
  .product-ad h3{ font-size: 1.05rem; }
}

@media (min-width: 900px){
  footer{ font-size: 1.05rem; }
  .image-frame{ border-radius: 20px; padding: 20px; }
}