/* Light reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg-teal: #0bd8cc;
  --bg-teal-dark: #0a8f86;
  --bg-cyan: #00e6ff;
  --card: rgba(5, 24, 28, 0.65);
  --glass-border: rgba(0, 255, 235, 0.45);
  --text: #eaffff;
  --muted: #b6f0f0;
}
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: #041019;
  /* Cyan carbon-fiber + hacker glow background */
  background-image:
    linear-gradient(135deg, rgba(0, 255, 235, 0.08), rgba(0, 0, 0, 0) 40%),
    linear-gradient(-45deg, rgba(0, 255, 235, 0.08), rgba(0, 0, 0, 0) 40%),
    repeating-linear-gradient(45deg,
      rgba(0, 255, 235, 0.10) 0px, rgba(0, 255, 235, 0.10) 4px,
      rgba(0, 0, 0, 0) 4px, rgba(0, 0, 0, 0) 8px),
    repeating-linear-gradient(-45deg,
      rgba(0, 255, 235, 0.08) 0px, rgba(0, 255, 235, 0.08) 4px,
      rgba(0, 0, 0, 0) 4px, rgba(0, 0, 0, 0) 8px),
    linear-gradient(#021b22 0%, #021f26 60%, #041f24 100%);
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { display: grid; place-items: center; padding: 2rem 1rem; min-height: calc(100vh - 6rem); }

/* Frosted glass card around the image (hero) */
.image-frame {
  position: relative;
  width: min(92%, 860px);
  border-radius: 14px;
  padding: 1rem;
  overflow: hidden;
  background: rgba(4, 18, 22, 0.60);
  border: 1px solid rgba(0, 255, 235, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  /* Subtle neon edge to enhance hacker vibe */
  box-shadow: inset 0 0 0 1px rgba(0,255,235,.25), 0 0 24px rgba(0,255,235,.25);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  pointer-events: none;
  background: radial-gradient(circle at 60% 20%, rgba(0,255,235,.15), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0,255,235,.10), transparent 40%);
  mix-blend-mode: screen;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 235, 0.25);
  /* faint glow ring */
  filter: drop-shadow(0 0 30px rgba(0,255,235,0.25));
}

/* Footer with frosted glass CTA area */
footer {
  padding: 1.75rem 1rem;
  background: rgba(2, 10, 12, 0.55);
  border-top: 1px solid rgba(0, 255, 235, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: min(92%, 860px);
  margin: 0.75rem auto 0;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(6, 28, 30, 0.5);
  border: 1px solid rgba(0, 255, 235, 0.35);
}
.product-ad h3 {
  font-size: 1rem;
  color: var(--text);
  opacity: 0.95;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  /* Teal hacker CTA button */
  background: linear-gradient(135deg, #0bd8cc 0%, #0a9fae 100%);
  color: #eaffff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}
.product-ad a:focus-visible {
  outline: 3px solid #6ff;
  outline-offset: 2px;
}
footer p {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 700px) {
  main { padding-top: 3rem; }
  .image-frame { width: 70%; }
  footer { padding: 2rem 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: 60%; }
  .product-ad { justify-content: center; }
  .product-ad a { padding: 0.95rem 1.8rem; font-size: 1rem; }
}
