/* CSS: Cyberpunk/Hacker Themed Landing (Mobile-First, Single Stylesheet) */

:root{
  --coral: #FF6F61;
  --coral-soft: rgba(255,111,97,.25);
  --green: #39FF14;
  --green-glow: 0 0 12px rgba(57,255,20,.9), 0 0 28px rgba(57,255,20,.6);
  --glass: rgba(8,8,12,.58);
  --text: #eafff0;
  --muted: #c6ffd8;
  --shadow: 0 12px 40px rgba(0,0,0,.6);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  background-color: #0a0a0a;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Coral crosshatch background with dark base for hacker vibe */
  background-image:
    repeating-linear-gradient(45deg, rgba(255,111,97,.25) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(-45deg, rgba(255,111,97,.25) 0 8px, transparent 8px 16px);
  background-size: 16px 16px;
  background-color: #0a0a0a;
  background-blend-mode: overlay;
  overflow-x: hidden;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Image frame (hero visual) */
.image-frame {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.5);
  background: #111;
  box-shadow: var(--shadow);
  position: relative;
}

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

/* Frosted glass hero caption overlay (neon green, accessible contrast) */
.image-frame::before {
  content: "Horror at the Midnight Carnival of Shadows";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 12px 18px;
  font-family: ui-sans-serif, system-ui;
  font-size: clamp(14px, 3.2vw, 20px);
  color: var(--green);
  text-shadow: 0 0 6px rgba(57,255,20,.9), 0 0 14px rgba(57,255,20,.6);
  background: rgba(8,8,12,.58);
  border: 1px solid rgba(57,255,20,.6);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.5);
  text-align: center;
  pointer-events: none;
  letter-spacing: .4px;
}

/* Footer / ad area */
footer {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  color: var(--muted);
}

.product-ad {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(10,10,14,.6);
  border: 1px solid rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

.product-ad h3 {
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  color: #eafff0;
  line-height: 1.2;
  font-weight: 700;
}

.product-ad a {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  color: #062a14;
  background: linear-gradient(135deg, #2cff74 0%, #19d067 100%);
  border: 1px solid rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0,0,0,.3);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
footer p {
  margin: 0;
  font-size: .9rem;
  color: #c6ffd8;
  text-align: center;
  letter-spacing: .2px;
}

/* Spacing tweaks for larger viewports */
@media (min-width: 640px) {
  main { padding: 3rem 0; }
  .image-frame { width: 80vw; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 0; }
  .image-frame { width: 72vw; }
}

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