/* Mobile-first, single stylesheet for a coral waves hacker-themed landing */

/* 1) Light reset & root palette */
:root {
  --bg: #0b0b0e;
  --coral: #FF6F61;
  --coral-dark: #e3554d;
  --yellow: #ffd700;
  --yellow-deep: #ffcc00;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #f7f6c0;
  --muted: #e5d76b;
  --shadow: 0 12px 28px rgba(0,0,0,.5);
}

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

/* 2) Accessible background: coral waves (data-URL SVG layers) */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* layered coral wave visuals for depth */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='400' viewBox='0 0 1200 400'><path fill='%23FF6F61' fill-opacity='.95' d='M0,320 C200,280 400,360 600,320 C800,280 1000,320 1200,360 L1200,400 L0,400 Z'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='400' viewBox='0 0 1200 400'><path fill='%23FFD54A' fill-opacity='.55' d='M0,360 C200,320 380,360 600,340 C820,320 990,360 1200,390 L1200,400 L0,400 Z'/></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position: bottom left, bottom left;
  background-size: 1200px 400px, 1200px 400px;
  background-attachment: fixed, fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3) Layout scaffolding (mobile-first) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* 4) Frosted glass hero frame for the image (hero section) */
.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(1.25);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}

/* Image fills the frame and keeps cypher vibe */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  filter: saturate(1.05);
}

/* 5) Footer / CTA styling (prominent CTA button) */
footer {
  padding: 1.75rem 1rem 2.5rem;
  text-align: center;
  color: #f7f3c6;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0));
}

.product-ad {
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: .75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 .4rem;
}
.product-ad a {
  display: inline-block;
  padding: .65rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd54a 0%, #ffcc33 100%);
  color: #1a1a00;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.product-ad a:focus-visible {
  outline: 2px solid #ffd800;
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-1px);
}

footer p { margin: .75rem 0 0; font-size: .92rem; opacity: .95; }

a { color: #ffea6b; text-decoration: none; }

a:focus-visible {
  outline: 2px solid #ffd800;
  outline-offset: 2px;
}

/* 6) Responsive tweaks (tablet, desktop) */
@media (min-width: 600px) {
  main { padding: 4rem 1rem; }
  .image-frame { width: min(70vw, 860px); }
  .product-ad { transform: translateZ(0); }
}

@media (min-width: 900px) {
  .image-frame { width: min(60vw, 980px); }
  footer { padding-bottom: 3rem; }
}