/* Cyberpunk hacker vibe with frosted glass and brown paper texture - single CSS stylesheet */

/* 1) Global reset and theme tokens */
:root{
  --bg: #1b1410;              /* dark brown backdrop */
  --bg-soft: #2a2a2a;
  --panel: rgba(255,255,255,.08);
  --fg: #e9e9e9;
  --muted: #a6a6a6;
  --accent: #00ffd6;           /* neon teal */
  --accent2: #66f0ff;          /* neon cyan for accents */
  --glass-border: rgba(255,255,255,.25);
  --shadow: 0 8px 24px rgba(0,0,0,.50);
  --glow: 0 0 14px rgba(0,255,214,.6);
}
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html, body { padding: 0; margin: 0; }

/* 2) Brown paper texture look with gray hacker theme */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--fg);
  background-color: var(--bg);
  /* lightweight paper texture: subtle speckle + fibers-ish grid */
  background-image:
    radial-gradient(circle at 10px 10px, rgba(255,255,255,.06) 2px, transparent 2px),
    radial-gradient(circle at 60px 60px, rgba(0,0,0,.08) 2px, transparent 2px),
    linear-gradient(#1b1410, #1b1410);
  background-size: 60px 60px, 120px 120px, cover;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 3) Layout: mobile-first, centered hero image inside frosted glass frame */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}
.image-frame {
  width: min(92vw, 720px);
  padding: 1.2rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
  outline: 0;
}
.image-frame:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 16px;
}

/* 4) Footer with a subtle glassy product ad and copy */
footer {
  padding: 1rem;
  text-align: center;
  background: rgba(0,0,0,.28);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(20,20,20,.60);
  margin: 0 auto 0.5rem;
}
.product-ad h3 {
  font-size: .92rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .4px;
}
.product-ad p {
  margin: 0;
  color: #d7fbff;
  font-weight: 700;
}
.product-ad a {
  color: #d4fbff;
  text-decoration: none;
  padding: .25rem .5rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
}
.product-ad a:hover {
  text-decoration: underline;
  background: rgba(255,255,255,.08);
}
footer p {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}

/* 5) Interactive elements: accessible focus styles and CTAs */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.btn,
.cta,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.25rem;
  border-radius: 9px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  color: #e9faff;
  background: linear-gradient(135deg, rgba(0,0,0,.9), rgba(40,40,40,.95));
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover, .cta:hover, a.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.btn.primary {
  background: linear-gradient(135deg, rgba(0,255,212,.95), rgba(0,189,255,.95));
  color: #041015;
  border: 1px solid rgba(255,255,255,.95);
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  box-shadow: var(--glow);
}
.btn.ghost {
  background: rgba(255,255,255,.08);
  color: #e9faff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* 6) Responsive tweaks: scale up visuals on larger screens */
@media (min-width: 640px) {
  .image-frame { padding: 1.5rem; }
}
@media (min-width: 900px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 22px; padding: 1.75rem; }
}