/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
:root {
  --bg1: #12d0c4;
  --bg2: #0fb6a2;
  --bg3: #0b8b8b;
  --gold1: #f5c400;
  --gold2: #d4af37;
  --glass: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.3);
  --text: #eaffff;
  --shadow: 0 12px 28px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  /* Turquoise sunset gradient background with hacker gold accents */
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 25%, var(--bg3) 60%, var(--gold1) 85%, var(--gold2) 100%);
  background-attachment: fixed;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Frosted glass frame around the image (hero focus) */
.image-frame {
  width: 100%;
  max-width: 720px;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Subtle cyan glow line for cyber aesthetic (every frame) */
.image-frame::after {
  content: "";
  display: block;
  height: 2px;
  width: 60%;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #9ff6ff, transparent);
  filter: saturate(120%);
  opacity: .9;
}

/* Footer / Ad block with prominent CTA */
footer {
  width: 100%;
  padding: 1.75rem 1rem;
  text-align: center;
  color: rgba(234,246,255,.95);
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0));
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: auto;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.32);
  margin: 0 auto 0.75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad h3 {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .3px;
  margin: 0;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  width: max-content;
  border-radius: 999px;
  /* Gold CTA pill to pop on the gradient */
}
.product-ad a > p {
  margin: 0;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  color: #04140f;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd86b 0%, #f6c14e 60%, #e2a700 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  display: inline-block;
  white-space: nowrap;
}

.product-ad a:focus-visible {
  outline: 3px solid #eaffff;
  outline-offset: 2px;
  border-radius: 999px;
}
a:focus-visible {
  outline: 3px solid #eaffff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Minor typography helpers for accessibility */
h1, h2, h3, h4 { line-height: 1.15; }

/* Responsive, mobile-first scaling */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; min-height: 70vh; }
  .image-frame { padding: 1.25rem; border-radius: 22px; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 2rem; }
  .image-frame { border-radius: 26px; padding: 1.4rem; }
}
