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

:root {
  --coral: #FF6F61;
  --coral-dark: #e65a4e;
  --bg: #0b1f0b;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.22);
  --text: #eafff7;
  --muted: #b8e6c9;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* Green circuit-board vibe: layered gradients & lines */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0, 255, 120, 0.15), transparent 40%),
    repeating-linear-gradient(45deg, rgba(0, 255, 120, 0.12) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(0, 255, 120, 0.12) 0 2px, transparent 2px 8px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  width: 100%;
}

.image-frame {
  width: min(92vw, 1000px);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  image-rendering: crisp-edges;
}

footer {
  padding: 1.5rem;
  text-align: center;
  color: rgba(234, 255, 245, 0.95);
  background: linear-gradient(#0b1f0b, #0b1f0b);
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0.75rem auto 0;
  text-align: left;
  max-width: 520px;
}

.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #d5ffd8;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), #ff8a75);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
}

.product-ad a:hover { transform: translateY(-1px); }

.product-ad a:focus-visible {
  outline: 3px solid #9affc8;
  outline-offset: 2px;
}

footer p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.95;
}

::selection {
  background: rgba(255, 255, 255, 0.25);
  color: #001;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 3rem 1rem; }
  .image-frame { border-radius: 18px; padding: 18px; }
  .product-ad { margin-top: 1rem; }
}

@media (min-width: 900px) {
  .image-frame { width: min(1000px, 88vw); padding: 20px; }
  footer { padding-top: 2rem; }
  .product-ad { display: block; margin: 1rem auto 0; }
}