/* Lime-paper cyberpunk, frosted-glass, mobile-first CSS (single stylesheet) */

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

html, body { height: 100%; margin: 0; padding: 0; }

:root {
  --lime: #C7F76C;
  --lime-dark: #8BD34A;
  --cyan: #00e5ff;
  --cyan-dark: #00bcd4;
  --bg: #0b0f14;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(0,255,255,0.5);
  --text: #eaffff;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* lime paper texture (soft speckle) */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.04) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.04) 50%, rgba(0,0,0,.04) 75%, transparent 75%, transparent),
    linear-gradient(45deg, rgba(0,0,0,.04) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.04) 50%, rgba(0,0,0,.04) 75%, transparent 75%, transparent);
  background-size: 12px 12px, 12px 12px;
  background-position: 0 0, 6px 6px;
  margin: 0;
}

main {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 1rem;
}

.image-frame {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 0 20px rgba(0,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(0,255,255,0.65);
  background: rgba(0,0,0,0.15);
  box-shadow: inset 0 0 20px rgba(0,255,255,0.25);
}

footer {
  padding: 1rem;
  text-align: center;
  color: #eaffff;
  background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0.0) 60%);
}

.product-ad {
  display: inline-block;
  padding: 0.65rem 0.85rem;
  margin: 0.8rem auto;
  text-align: left;
  border-radius: 12px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(0,255,255,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.product-ad h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #aefcff;
  text-shadow: 0 0 6px rgba(0, 230, 255, 0.6);
}

.product-ad a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.product-ad a p {
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  color: #041a1e;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0,255,255,0.95), rgba(0,180,210,0.95));
  border: 1px solid rgba(0,255,255,0.95);
  box-shadow: 0 0 8px rgba(0,255,255,0.9), inset 0 0 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

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

/* Accessible focus styles for all focusable elements */
a:focus-visible,
button:focus-visible,
 [tabindex]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive breakpoints (mobile-first) */
@media (min-width: 600px) {
  main { padding: 2rem; min-height: 70vh; }
  .image-frame { border-radius: 20px; padding: 1.25rem; }
  .image-frame img { border-radius: 12px; }
  .product-ad { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  :root { --lime: #D3F064; }
  .image-frame { max-width: 860px; }
}