/* Minimal, responsive CSS for hacker-themed, frosted-glass landing */

/* Reset and base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  color: #e9e1ff;
  background: 
    linear-gradient(135deg, rgba(255, 214, 68, 0.25) 0%, rgba(255, 166, 0, 0.25) 50%, rgba(255, 214, 68, 0.25) 100%),
    #0b0b14;
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Subtle violet/gold glow layered backdrop */
body::before {
  content: "";
  position: fixed;
  inset: -20vmin;
  background: radial-gradient(circle at 20% 20%, rgba(127, 90, 240, 0.25), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(200, 100, 255, 0.25), transparent 40%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

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

.image-frame {
  width: min(92vw, 960px);
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  padding: 12px;
  background: rgba(14, 0, 40, 0.55); /* frosted glass look */
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 2px rgba(255,255,255,0.15);
  backdrop-filter: blur(8px) saturate(1.15);
  overflow: hidden;
  display: block;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transform: scale(1);
  transition: transform .3s ease;
}
.image-frame:hover img { transform: scale(1.03); }

/* Footer / call-to-action area with frosted glass */
footer {
  width: 100%;
  padding: 1rem 1rem 2rem;
  margin-top: 1.5rem;
  background: rgba(12, 0, 40, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #e9e1ff;
  display: grid;
  gap: 0.75rem;
  align-items: center;
}

.product-ad {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: .65rem .8rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(60,0,80,0.55), rgba(60,0,80,0.25));
  border: 1px solid rgba(255,255,255,0.2);
}
.product-ad h3 { font-size: 0.95rem; margin: 0; font-weight: 700; letter-spacing: .2px; }

/* CTA button styling that stands out on mobile and scales up on larger screens */
.product-ad a {
  text-decoration: none;
  padding: .35rem .72rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover, .product-ad a:focus {
  transform: translateY(-1px);
  background: rgba(255,255,255,.20);
  outline: none;
}
p { margin: 0; font-size: 0.92rem; color: #d9caff; }

/* Focus accessibility for keyboard users */
a:focus-visible, button:focus-visible {
  outline: 3px solid #ffd166; /* gold focus ring for accessibility */
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 3rem 1.5rem; }
  .image-frame { border-radius: 32px; }
  .image-frame img { border-radius: 22px; }
}
@media (min-width: 1024px) {
  footer { grid-template-columns: 1fr; padding: 1rem 0.75rem; }
}
