/* Beige hacker-futurist landing page - mobile-first, single stylesheet */

:root{
  --bg: #efe4d0;
  --bg-soft: #f5ecd9;
  --text: #2b251b;
  --muted: #6b5a37;
  --surface: rgba(255,255,255,0.18);
  --accent: #d4ba8a;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0,0,0,.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background:
    radial-gradient(circle at 20% -10%, rgba(246,235,197,0.95) 0%, rgba(246,235,197,0.75) 35%, rgba(246,235,197,0.40) 70%),
    radial-gradient(circle at 80% 0%, rgba(222,199,150,0.25) 0%, rgba(222,199,150,0.05) 40%, transparent 70%),
    #efe6d0;
  background-attachment: fixed;
  display: grid;
  place-items: start center;
  padding: 2rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 0.75rem 0 1.25rem;
  position: relative;
}

/* Hero title (becomes visible text above the image as a faux hero) */
main::before {
  content: "Stranded Train Nightmare at Midnight";
  display: block;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #2b251b;
  margin-bottom: .75rem;
  letter-spacing: .3px;
}
@media (min-width: 640px) {
  main::before { font-size: 1.65rem; }
}
@media (min-width: 1024px) {
  main::before { font-size: 1.95rem; }
}

.image-frame {
  width: min(92vw, 900px);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  position: relative;
  overflow: hidden;
}

/* subtle frosted glass grid for cyberpunk vibe */
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .25;
  mix-blend-mode: overlay;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* faint edge glow */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(105%);
}

/* footer with CTA styled as a prominent button */
footer {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 1.25rem 0 2rem;
  color: var(--muted);
}

.product-ad {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: .75rem 1rem;
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-size: .95rem;
  margin-bottom: .25rem;
  color: #2b2510;
}
.product-ad a {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 8px;
  /* warm beige button look with a cyber highlight */
  background: linear-gradient(135deg, #f1e0bd 0%, #d8c089 100%);
  color: #2b210f;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.product-ad a:focus-visible { outline: 3px solid #2f2f2f; outline-offset: 2px; }
.product-ad a p { margin: 0; padding: 0; }

footer p { margin: 0.25rem 0 0; font-size: .85rem; color: rgba(43,37,26,.9); }

/* responsive tweaks */
@media (min-width: 768px) {
  .image-frame { padding: 1.25rem; width: min(860px, 80vw); }
  footer { padding: 1.5rem 0 2.5rem; }
}
