/* Lightweight, mobile-first Cyberpunk / Lime Diagonal Lines Theme with frosted glass */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }

/* Root colors for quick tweaks */
:root {
  --bg: #0b0f14;
  --text: #eafff5;
  --lime: #a6ff00;
  --lime-tint: rgba(166, 255, 0, 0.9);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(166, 255, 0, 0.55);
}

/* Base layout and background: lime diagonal lines + dark cyberpunk backdrop */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(166, 255, 0, 0.25) 0px,
      rgba(166, 255, 0, 0.25) 6px,
      rgba(0, 0, 0, 0) 6px,
      rgba(0, 0, 0, 0) 12px
    );
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page structure */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  width: 100%;
}

.image-frame {
  width: min(720px, 92%);
  margin: 0 auto;
  padding: 8px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  /* subtle internal glow edge */
  box-shadow: inset 0 0 0 1px rgba(166,255,0,0.15);
  pointer-events: none;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Frosted-glass overlay for depth (soft vignette) */
.image-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Footer / product ad area */
footer {
  padding: 16px 12px;
  text-align: center;
  width: 100%;
}

/* Prominent CTA as a "hackable" lime button look inside the ad box */
.product-ad {
  display: inline-block;
  background: rgba(0,0,0,0.28);
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(166,255,0,0.6);
  margin-bottom: 8px;
}

.product-ad h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #eafff9;
  letter-spacing: .3px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  color: #032f14;
  background: linear-gradient(135deg, rgba(166,255,0,0.95), rgba(0,0,0,0.25));
  border: 1px solid rgba(166,255,0,0.95);
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

footer p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #b7ffd8;
}

/* Accessibility helpers for focus on links/buttons across theme */
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive: mobile-first, then scale up for tablets/desktops */
@media (min-width: 768px) {
  main { padding: 40px 16px; }
  .image-frame { width: min(980px, 84%); padding: 10px; }
  .product-ad { padding: 12px 16px; }
  .product-ad h3 { font-size: 1.05rem; }
}
