/* CSS for Echoes Cyberpunk Landing (mobile-first, single stylesheet) */

/* Light reset and root theme */
:root{
  --pink: #e91e63;
  --pink-dark: #c2185b;
  --gold: #ffd700;
  --gold-dark: #e6be00;
  --text: #ffffff;
  --glass: rgba(255,255,255,.08);
}
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--pink);
  /* subtle cyber grid on pink to hint hacker theme while staying pink solid base */
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-x: hidden;
}

/* Layout scaffold (mobile-first) */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Frosted glass hero frame for the image (cyberpunk hacker aesthetic) */
.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,215,0,.75);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}
.image-frame::after {
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 20% -10%, rgba(255,215,0,.22), transparent 40%),
              radial-gradient(circle at 100% 0%, rgba(0,0,0,.15), transparent 40%);
  mix-blend-mode: screen;
  pointer-events:none;
}
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Footer / call-to-action area (frosted glass ad) */
footer {
  width: 100%;
  padding: 1.25rem;
  display: flex;
  justify-content: center;
}
.product-ad {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,215,0,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  min-width: min(92vw, 760px);
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
  text-shadow: 0 0 6px rgba(255,255,255,.25);
}
.product-ad a { color: inherit; text-decoration: none; display: inline-block; }
.product-ad a > p {
  margin: 0;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd053, #f2b400);
  color: #1b1b1b;
  font-weight: 700;
}
.product-ad a > p:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a > p:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 12px rgba(255,215,0,.8);
}
p { margin: 0; }

/* Accessibility: focus visibility for keyboard users on the CTA */
.product-ad:focus-within > h3,
.product-ad:focus-within > a > p {
  outline: 2px dashed rgba(255,255,255,.9);
  outline-offset: 2px;
  border-radius: 10px;
  padding: .55rem 1rem;
}

/* Responsive tweaks (tablet/desktop) */
@media (min-width: 600px) {
  main { padding: 3rem 0; }
  .image-frame { border-radius: 20px; }
  .product-ad { min-width: 520px; }
  .product-ad h3 { font-size: 1rem; }
}
