/* Neon Cyberpunk Landing – Coral Circuit Glass (single stylesheet) */

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

/* Theme tokens */
:root {
  --coral: #FF6F61;
  --magenta: #FF2D92;
  --glass: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.45);
  --text: #eaf2ff;
}

/* Responsive, mobile-first base */
html { font-size: 16px; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background-color: #0b0b0f;
  /* Coral circuit-board vibe: layered gradients and line hints */
  background-image:
    radial-gradient(circle at 10px 10px, rgba(255,110,97,0.25) 6px, transparent 6px),
    radial-gradient(circle at 60px 40px, rgba(255,255,255,0.05) 2px, transparent 2px),
    linear-gradient(135deg, rgba(255,111,97,0.25) 0%, rgba(255,0,170,0.25) 100%);
  background-blend-mode: overlay;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Hero container around the image (frosted glass) */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
}

/* Frosted glass frame for the image */
.image-frame {
  width: min(92vw, 860px);
  padding: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* Image inside the frosted frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 0;
}

/* Footer with product ad (CTA) */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 1rem 2rem;
}

.product-ad {
  width: min(92vw, 860px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Text in product ad */
.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  display: inline-block;
  align-self: center;
}
.product-ad p {
  margin: 0;
  color: #fff;
  font-weight: 600;
  display: none; /* decorative; keep CTA prominent via the button only */
}

/* CTA button styled as a holographic pill */
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--magenta));
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 14px rgba(255, 0, 120, 0.45);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

/* Utility for accessible contrast on headings/labels if added later */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  line-height: 1.15;
  margin: 0 0 .5rem 0;
}

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main {
    padding: 3rem 2rem;
    min-height: calc(100vh - 100px);
  }
  .image-frame { padding: 1.75rem; }
  .product-ad { padding: 1.25rem; }
  .product-ad h3 { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  body { background-attachment: fixed; }
  .image-frame { padding: 2rem; }
}
