/* Minimal reset and responsive, hacker-teal theme with frosted glass */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Teal grid paper background for a cyberpunk aesthetic */
:root {
  --bg: #041e1e;
  --grid: rgba(0, 255, 208, 0.20);
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(0, 255, 230, 0.45);
  --text: #eaffff;
  --turquoise: #2ee6d0;
  --cta: #0ff2d6;
  --shadow: 0 8px 28px rgba(0,0,0,0.25);
}

body {
  min-height: 100svh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: var(--text);
  background-color: var(--bg);
  /* grid paper: teal lines on dark teal */
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  background-attachment: fixed;
}

/* Mobile-first layout: hero-like central content */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92%, 700px);
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08); /* frosted look on glassy card */
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
}

/* Footer with frosted glass feel and prominent CTA */
footer {
  padding: 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  background: rgba(2, 8, 8, 0.35);
  border-top: 1px solid rgba(0, 220, 210, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
}

/* Product ad badge with a glassy pill and CTA */
.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 255, 230, 0.15);
  border: 1px solid rgba(0, 255, 230, 0.35);
}

.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #d9fffb;
  margin: 0;
}

.product-ad a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #041414;
  background: linear-gradient(135deg, rgba(0,255,230,0.95), rgba(0,180,180,0.95));
  border: 1px solid rgba(0,0,0,0.15);
}

/* Focus styles for accessibility */
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}

/* Copyright text in footer */
footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Responsive tweaks: larger viewports tighten layout and align copyright right */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1rem; }
}

@media (min-width: 1024px) {
  footer { padding: 1.25rem 2rem; }
  footer p { margin-left: auto; }
}