/* Minimal reset and lime-gold hacker theme */
/* Single stylesheet: mobile-first, frosted glass, glow accents, accessible focus */

:root {
  --gold: #d4af37;
  --gold-dark: #b0892e;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(212, 175, 55, 0.8);
  --text: #eafff5;
  --text-dim: #c9f0d4;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  --glow: 0 0 12px rgba(212, 175, 55, 0.8);
  --lime-spot: rgba(140, 255, 180, 0.35);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.4;
  background: #040a0b;
  /* lime metallic sheen + subtle glow */
  background-image:
    linear-gradient(135deg,
      rgba(150, 255, 180, 0.15) 0%,
      rgba(255, 214, 0, 0.15) 50%,
      rgba(150, 255, 180, 0.15) 100%),
    radial-gradient(circle at 20% -10%, rgba(0,255,170,0.25), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255,210,50,0.15), transparent 40%);
  background-size: 200% 200%, 100% 100%, 100% 100%;
  animation: sheen 12s linear infinite;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

@keyframes sheen {
  0% { background-position: 0% 50%, 0% 0%, 0% 0%; }
  50% { background-position: 100% 50%, 0% 0%, 0% 0%; }
  100% { background-position: 0% 50%, 0% 0%, 0% 0%; }
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 0.5rem;
  background: var(--glass);
  border: 1px solid rgba(212, 175, 55, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  filter: saturate(1.05);
  transform: scale(1);
  transition: transform 0.5s ease;
}
.image-frame:hover img {
  transform: scale(1.02);
}

/* Frosted-glass feel for the whole page section titles (subtle) */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Footer / ad area as frosted glass block with gold accents */
footer {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0.0) 60%);
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: min(92vw, 640px);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #eaffc9;
  margin: 0;
  text-shadow: 0 0 8px rgba(212,175,55,0.9);
}

.product-ad a {
  display: inline-block;
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.95);
  background: linear-gradient(135deg, #ffd86b 0%, #f6bf2e 60%, #e0a800 100%);
  color: #1a1600;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.95);
}

.product-ad a:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 999px;
}

.product-ad a p {
  margin: 0;
  padding: 0;
  color: #1a1600;
  font-weight: 700;
}

/* Small screens: stack naturally; larger screens: space out footer */
@media (min-width: 768px) {
  main {
    padding: 4rem 2rem;
  }

  footer {
    padding: 1.75rem 2rem;
  }

  .image-frame {
    width: min(70vw, 860px);
  }

  .product-ad {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .product-ad h3 {
    font-size: 1.05rem;
  }
}
