/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Theme and layout tokens */
:root {
  --cyan: #30f5ff;
  --cyan-dark: #00c9e5;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(0, 255, 255, 0.45);
  --text: #eaffff;
  --muted: #c6fff9;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background:
    /* brown striped pattern (retro/cyberpunk vibe) */
    repeating-linear-gradient(
      135deg,
      rgba(92, 51, 16, 0.95) 0px,
      rgba(92, 51, 16, 0.95) 12px,
      rgba(40, 25, 12, 0.95) 12px,
      rgba(40, 25, 12, 0.95) 24px
    ),
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.15) 40%, rgba(0,0,0,0) 60%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { display: grid; place-items: center; padding: 4rem 1rem; }

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92%, 780px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.45);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  outline: 1px solid rgba(0,0,0,0);
}

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

/* Footer with frosted glass product ad */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

/* Frosted glass card for the CTA product ad */
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: .75rem;
  background: rgba(10, 10, 20, 0.28);
  border: 1px solid rgba(0, 255, 255, 0.40);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  width: max-content;
  margin: 0 auto;
}

.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--cyan);
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.8);
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  border-radius: 999px;
  overflow: hidden;
  padding: 0;
  border: 0;
}

.product-ad a p {
  margin: 0;
  padding: 12px 20px;
  font-weight: 700;
  color: #eaffff;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.95), rgba(0, 170, 210, 0.95));
  border: 1px solid rgba(180, 255, 255, 0.95);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.9);
  transition: transform 0.2s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
}
.product-ad a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Link defaults with hacker vibe */
a { color: var(--cyan); text-decoration: none; }

/* Copyright text */
footer p { margin: .75rem 0 0; font-size: .9rem; color: #c9fff7; }

/* Responsiveness: mobile-first, then upscale */
@media (min-width: 640px) {
  main { padding: 6rem 2rem; }
  .image-frame { border-radius: 20px; }
}
@media (min-width: 1024px) {
  main { padding: 8rem 2rem; }
  .image-frame { width: 860px; }
  .product-ad { transform: translateY(-2px); }
  .product-ad h3 { font-size: 1.05rem; }
}

/* Focus for keyboard users on all links/buttons (enhanced accessibility) */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}