/* Cyberpunk landing CSS: cyan circuit board background, frosted glass panels, gold CTA, mobile-first. */
:root{
  --bg-dark: #02131a;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0,229,255,.65);
  --gold: #ffd166;
  --gold-deep: #e0b53a;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --text: #eaffff;
  --muted: rgba(234,255,255,.8);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: var(--bg-dark);
  /* Cyan circuit-board look: layered lines + glow */
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, .18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, .18) 1px, transparent 1px),
    radial-gradient(circle at 20% 15%, rgba(0, 229, 255, .20), transparent 40%),
    radial-gradient(circle at 70% 65%, rgba(255, 215, 0, .08), transparent 40%);
  background-size: 28px 28px, 28px 28px, 60vw, 60vw;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-blend-mode: screen, screen, normal, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 1.25rem;
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

/* Layout helpers */
main { width: 100%; display: grid; justify-items: center; }

.image-frame {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.25);
  background: #031018;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}

/* The image fills the frame */
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* subtle color punch for hacker vibe */
  mix-blend-mode: normal;
}

/* Frosted glass overlay on the image to create the frosted-frame effect */
.image-frame::after {
  content:"";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: rgba(6, 20, 28, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
  /* soften the glow a bit around edges */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

/* Subtle neon edge glow for the frame when prominent on dark bg */
.image-frame { outline: 2px solid transparent; outline-offset: -6px; }
.image-frame:hover { outline-color: rgba(0,255,255,.5); outline-offset: -4px; }

/* Footer / CTA area */
footer {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 0.75rem 0 1.25rem;
  color: var(--muted);
}

/* Glassy product ad card */
.product-ad {
  width: min(100%, 700px);
  padding: 14px 20px;
  text-align: center;
  border-radius: 16px;
  background: rgba(2,12,20,.55);
  border: 1px solid rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
}

/* Ad header and CTA styling */
.product-ad h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #eaffff;
  opacity: .95;
  letter-spacing: .2px;
}
.product-ad a { text-decoration: none; }

.product-ad a p {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  color: #111;
  font-weight: 900;
  font-family: inherit;
  border: 2px solid rgba(255, 214, 102, .95);
  background: linear-gradient(135deg, #fff, #f3d067);
  box-shadow: 0 0 14px rgba(255,214,102,.9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:focus-visible p {
  outline: 3px solid rgba(255,214,102,1);
  outline-offset: 2px;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255,214,102,.95);
}

/* Footer copyright text styling for contrast */
footer p {
  margin: 0.75rem 0 0;
  color: rgba(234,255,255,.75);
  font-size: .9rem;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  body { padding: 1.75rem; }
  .product-ad { margin-top: 0.5rem; }
}

@media (min-width: 1024px) {
  body { padding: 2.5rem; }
  .image-frame { border-radius: 28px; }
  .image-frame::after { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}