/* Carnivalesque cyberpunk landing: beige waves, indigo hacker theme, frosted glass, mobile-first */

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

/* Theme variables */
:root {
  --bg-beige-1: #f5ecd9;
  --bg-beige-2: #ecdcc0;
  --bg-beige-3: #e6d6bf;
  --indigo: #4F46E5;
  --indigo-dark: #4338CA;
  --text: #0b0b0f;
  --muted: #5f5f5f;
  --glass: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow: 0 8px 20px rgba(0,0,0,.15);
  --glow: 0 0 12px rgba(79,70,229,.8);
}

/* Global look & feel: beige waves background with neon indigo accents */
html, body {
  height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  line-height: 1.4;
  background:
    /* soft wave-like speckles in beige */
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.65) 0 8px, transparent 9px) 0 0/60px 60px,
    radial-gradient(circle at 60% 0%, rgba(255,255,255,.50) 0 12px, transparent 13px) 0 0/60px 60px,
    linear-gradient(135deg, #f7efd9 0%, #e9dcc3 55%, #e4d2b3 100%);
  min-height: 100vh;
  /* avoid parallax issues on some mobile browsers; keep a clean stack kids */
  overflow-x: hidden;
}

/* Layout scaffolding */
main {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  position: relative;
  isolation: isolate;
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.image-frame:hover {
  transform: translateY(-2px) scale(1.01);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  outline: 0;
}

/* Subtle glow lines for cyberpunk vibe around the frame */
.image-frame::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; top: -6px; bottom: -6px;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(79,70,229,.25), rgba(0,0,0,0) 60%);
  pointer-events: none;
  filter: blur(2px);
  opacity: .6;
  z-index: -1;
}

/* Footer / Ad section as prominent CTA area (frosted glass) */
footer {
  margin-top: 2rem;
  padding: 1.75rem 1rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
  align-items: center;
  text-align: center;
  color: #333;
  background: rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
}

.product-ad {
  text-align: center;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

/* Accent heading with indigo glow */
.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--indigo-dark);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-shadow: 0 0 6px rgba(79,70,229,.45);
}

/* CTA button styling (becomes the prominent hacker-style action) */
.product-ad a {
  display: inline-block;
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(135deg, var(--indigo) 0%, #5b5fe6 100%);
  box-shadow: 0 6px 14px rgba(79,70,229,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(79,70,229,.65);
}
.product-ad a:focus-visible p {
  outline: 3px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

/* Footer meta text (copyright) */
footer p {
  font-size: .92rem;
  color: var(--muted);
  opacity: 0.95;
}

/* Focus ring for overall keyboard accessibility on the page (applies to links in CTA) */
:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.25rem; }
  .product-ad h3 { font-size: 1rem; }
  footer { padding: 2rem 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(60vw, 860px); padding: 1.75rem; }
  .product-ad a p { padding: .95rem 1.4rem; }
  footer { padding: 2.25rem 1rem; }
}