/* Minimal, mobile-first CSS with olive metallic glow and frosted glass hacker vibe */

/* Light reset and base tokens */
:root{
  --bg-dark: #0b0f0a;
  --bg-darker: #050603;
  --olive-1: #566b3a;   /* olive */
  --olive-2: #6b7a4b;   /* lighter olive */
  --olive-3: #4b5d2f;   /* deep olive for shading */
  --panel: rgba(255,255,255,0.08);
  --panel-border: rgba(255,255,255,0.22);
  --text: #f8fafd;
  --muted: rgba(248,248,248,0.85);
  --cta-grad: linear-gradient(135deg, #d7f6d7 0%, #9bdc7f 60%, #6bd04a 100%);
  --focus: #a6f7a3;
  --shadow: 0 10px 30px rgba(0,0,0,0.45);
}

*,
*::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }

/* Page base: olive metallic sheen background, white foreground */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background: 
    linear-gradient(135deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.0) 40%),
    radial-gradient(circle at 70% -10%, rgba(86,107,58,0.25), rgba(0,0,0,0) 40%),
    linear-gradient(135deg, #1a1f14 0%, #0d120f 60%, #1a1f14 100%),
    radial-gradient(circle at 15% 10%, rgba(101,102,60,0.25), rgba(0,0,0,0) 40%);
  min-height: 100vh;
  padding: 1rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout container (centered hero area) */
main {
  display: grid;
  place-items: center;
  padding: 1rem 0;
}

/* Frosted glass image frame as hero content */
.image-frame {
  width: 100%;
  max-width: 720px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  padding: 1rem;
  transition: transform 0.2s ease;
}
.image-frame:hover { transform: translateY(-1px); }

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  outline: 0;
  user-select: none;
}

/* Footer area with frosted card for product ad and copyright */
footer {
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
  color: #e9f0f9;
  width: 100%;
}
.product-ad {
  display: inline-block;
  padding: .6rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: .6rem;
}
.product-ad h3 {
  font-size: .92rem;
  margin: 0 0 .25rem;
  color: #f6f9ff;
  font-weight: 700;
}
.product-ad p {
  margin: 0;
  padding: 0;
  font-weight: 800;
  color: #0a0a0a;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.product-ad a p { margin: 0; }

/* CTA button look for the embedded ad link (prominent) */
.product-ad a {
  /* make the inner text feel like a button while respecting existing markup */
  padding: .55rem .95rem;
  border-radius: 999px;
  background: var(--cta-grad);
  border: 0;
  color: #0b210c;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:active { transform: translateY(0); }
.product-ad a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.product-ad:focus-within {
  outline: 2px solid rgba(165, 255, 165, 0.9);
  outline-offset: 2px;
}

/* Improve accessibility: ensure focus rings on keyboard nav for all links/buttons */
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small typography tweaks for readability on dark background */
h1, h2, h3 { color: #f8fbff; text-shadow: 0 1px 0 rgba(0,0,0,.4); }

/* Responsive adjustments: mobile-first, scale for larger viewports */
@media (min-width: 640px) {
  body { padding: 1.5rem; }
  .image-frame { padding: 1.25rem; }
  .product-ad { font-size: 1rem; }
}
@media (min-width: 1024px) {
  main { min-height: 70vh; }
  .image-frame { transform: translateZ(0); }
  .product-ad { font-size: 1.05rem; }
  footer { margin-top: 2rem; }
}