/* Frosted glass cyberpunk landing CSS - mobile first */

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI"; color: #eaf7ff; background: #0b0f14; line-height: 1.6; }

/* Theme variables for accessibility and quick tweaks */
:root {
  --bg: #0b0f14;
  --card: rgba(4, 12, 28, 0.6);
  --text: #eaf7ff;
  --muted: #9bd7eb;
  --cyan: #2af0ff;
  --pink: #ff4db8;
  --glass: rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --focus: 0 0 0 3px rgba(42, 240, 255, 0.25);
}

/* Abstract cyan/pink blur background (futuristic hacker vibe) */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.9;
}
body::before {
  left: -12vmax;
  top: -12vmax;
  background: radial-gradient(circle at 30% 30%, rgba(0,255,255,.75), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(255,0,180,.6), transparent 45%);
}
body::after {
  right: -12vmax;
  bottom: -12vmax;
  background: radial-gradient(circle at 60% 40%, rgba(0,255,255,.45), transparent 40%),
              radial-gradient(circle at 20% 60%, rgba(255,0,140,.5), transparent 50%);
}

/* Layout shell */
header {
  padding: 2rem 1rem 1rem;
  background: rgba(4, 8, 20, 0.6);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky; top: 0; z-index: 10;
}
header h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.05;
  color: #ffd6ea;
  text-shadow: 0 0 12px rgba(255, 0, 170, 0.6);
  letter-spacing: .5px;
}
header .meta {
  display: inline-block;
  margin-top: .25rem;
  padding: .25rem .5rem;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
  color: #a6d8f0;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}
main { display: flex; justify-content: center; padding: 1rem; }
article {
  width: 100%;
  max-width: 900px;
  background: rgba(8,12,24,.6);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.featured-image { border-radius: 12px; overflow: hidden; margin: 0 0 1rem; }
.featured-image img { width: 100%; height: auto; display: block; }
article p { margin: 0.75rem 0; color: #eaf7ff; }
article p + p { text-wrap: pretty; }

/* Footer / ad block styled as CTA area */
footer { padding: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.product-ad {
  width: 100%; background: rgba(8,18,32,.6);
  padding: .75rem; border-radius: 12px; margin-bottom: .75rem;
  display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid rgba(255,255,255,.1);
}
.product-ad h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.product-ad p { margin: 0; color: #d7f0ff; }

/* CTA button look for the product ad (and any other inline CTAs) */
.product-ad a,
a.button {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #041018;
  background: linear-gradient(135deg, rgba(42,240,255,.95), rgba(255,77,184,.95));
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, filter .2s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.product-ad a:hover,
a.button:hover { transform: translateY(-1px); filter: brightness(1.05); }
.product-ad a:focus-visible,
a.button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.product-ad a:focus-visible { outline: none; }

/* Link defaults for accessibility on dark bg */
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Focus styles for keyboard accessibility on all interactive elements */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(42,240,255,.15);
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 700px) {
  article { padding: 1.5rem 2rem; }
  header { padding: 2rem 2rem 0.75rem; }
  .product-ad { flex-direction: row; align-items: center; justify-content: space-between; }
  .product-ad h3 { margin: 0; }
}
