:root {
  --parchment: #f7f2e0;
  --ink: #0b1020;
  --navy: #0b1a2b;
  --glass: rgba(255,255,255,.18);
  --glass-border: rgba(255,255,255,.5);
  --accent: #2ee8ff;
  --shadow: 0 10px 25px rgba(0,0,0,.15);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--navy);
  background: linear-gradient(180deg, #f7f2e0 0%, #f5ead6 60%, #efe5cb 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  filter: saturate(1.05);
}

/* Frosted glass hint badge/CTA on the hero (non-interactive visual) */
.image-frame:after {
  content: "ENTER";
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: .45rem .75rem;
  font-weight: 700;
  font-family: inherit;
  font-size: .85rem;
  color: #04121e;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(46,232,255,.95), rgba(123,0,255,.8));
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  user-select: none;
  opacity: .95;
  pointer-events: none;
  mix-blend-mode: normal;
}

/* Footer and product ad (CTA) */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #2b2b2b;
}

.product-ad {
  display: inline-block;
  text-align: left;
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: .75rem 1rem;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.product-ad a { text-decoration: none; }

.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  display: inline-block;
  border-radius: 999px;
  color: #04131f;
  background: linear-gradient(135deg, #5bd1ff 0%, #2b7cff 100%);
  border: 1px solid rgba(0,0,0,.15);
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  transition: transform .2s ease;
}

.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.22);
}

footer p {
  margin-top: .75rem;
  font-size: .9rem;
  opacity: .75;
}

/* Accessibility: clear focus styles */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small device adjustments (mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(68rem, 66vw); }
  .product-ad h3 { font-size: 1.1rem; }
  .product-ad a p { padding: .75rem 1.25rem; }
}