/* Global reset (light) */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --yellow-1: #ffd95e;
  --yellow-2: #f7c52a;
  --yellow-3: #ffe066;
  --green: #2cff7a;
  --green-dark: #0bd864;
  --bg: #0b0f14;
  --surface: rgba(255,255,255,.08);
  --surface-2: rgba(0,0,0,.25);
}
:focus { outline: none; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eafff0;
  background-color: var(--bg);
  /* yellow low-poly triangles background (stylized) */
  background-image:
    linear-gradient(135deg, rgba(255,214,0,.25) 0 25%, rgba(255,214,0,0) 25% 50%, rgba(255,214,0,.25) 50% 75%, rgba(255,214,0,0) 75% 100%),
    linear-gradient(45deg, rgba(0,0,0,.25) 0 25%, transparent 25% 50%, rgba(0,0,0,.25) 50% 75%, transparent 75% 100%),
    linear-gradient(-45deg, rgba(255,230,0,.25) 0 25%, transparent 25% 50%, rgba(255,230,0,.25) 50% 75%, transparent 75% 100%);
  background-size: 120px 120px, 120px 120px, 120px 120px;
  background-position: 0 0, 60px 60px, 0 0;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, centered hero feel */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 8rem);
}

/* Image frame: prominent, with frosted vibe and neon edge */
.image-frame {
  width: min(92%, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 140, 0.6);
  background: rgba(0,0,0,.25);
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  isolation: isolate;
}

/* Image fills the frame with crisp rendering */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Frosted-glass sheen at the bottom of the image for depth */
.image-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(255,255,255,.28), rgba(255,255,255,.04) 60%, rgba(255,255,255,0));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Footer with frosted glass and neon hacker vibe */
footer {
  padding: 1.5rem;
  display: grid;
  gap: .75rem;
  justify-items: center;
  width: min(92%, 1000px);
  margin: 0 auto 2rem;
  text-align: center;
  background: rgba(2,2,2,.25);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Ad block styled as a glossy CTA container */
.product-ad {
  display: inline-block;
  padding: .75rem;
  border-radius: 12px;
  border: 1px solid rgba(0,255,140,.6);
  background: rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
  color: #eaffd4;
  text-shadow: 0 0 6px rgba(0,255,140,.6);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #041a0a;
  background: linear-gradient(135deg, rgba(56,255,180,.95), rgba(0,255,140,.7));
  border: 1px solid rgba(0,255,140,.95);
  box-shadow: 0 4px 12px rgba(0,255,140,.6);
}

/* Footer text styling */
footer p {
  margin: .25rem 0 0;
  font-size: .9rem;
  opacity: .9;
}

/* Focus visibility for accessibility on links/buttons */
a:focus-visible {
  outline: 3px solid #00ff88;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks for larger screens: keep the hero compact but polished */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(60%, 860px); border-radius: 20px; }
  footer { padding: 2rem; grid-auto-flow: row; }
}