/* Global reset and design tokens */
:root{
  --bg: #0b1020;
  --card: rgba(20, 28, 60, 0.68);
  --glass-border: rgba(120, 160, 255, 0.40);
  --text: #e6f0ff;
  --muted: #a9c8ff;
  --accent: #4ea8ff;
  --violet: #7a5cff;
  --shadow: 0 8px 28px rgba(0,0,0,0.35);
}

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

html, body { height: 100%; padding: 0; margin: 0; }

/* Light, responsive, hacker-themed background (violet noise vibe) */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* layered violet-noise texture look */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(162, 120, 255, 0.25) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(80, 100, 255, 0.25) 0 2px, transparent 2px),
    radial-gradient(circle at 40% 70%, rgba(50, 0, 120, 0.20) 0 2px, transparent 2px),
    linear-gradient(135deg, rgba(9,0,40,0.95), rgba(10,8,40,0.95));
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout: mobile-first, center hero content, glassy sections */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  flex: 1 1 auto;
}

.image-frame {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: rgba(15, 20, 45, 0.60);
  border: 1px solid rgba(120, 160, 255, 0.40);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Frosted glass feel for the page's glassy region (footer card) */
footer {
  padding: 1.75rem 1rem;
  margin-top: auto;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

/* Product ad block styled as a frosted glass card with a clear CTA */
.product-ad {
  width: 90%;
  max-width: 640px;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(14, 19, 40, 0.65);
  border: 1px solid rgba(110, 150, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  box-shadow: var(--shadow);
}

.product-ad h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: #cfe8ff;
  text-shadow: 0 0 8px rgba(120, 200, 255, 0.5);
}

.product-ad a { text-decoration: none; display: inline-block; }

.product-ad p {
  margin: 0;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e4bd3, #0950d3);
  color: white;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform 0.15s ease;
}
.product-ad p:hover { transform: translateY(-1px); }

/* Accessible focus styles for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #5bdfff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks for larger screens (still mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 0; }
  .image-frame { max-width: 860px; border-radius: 22px; }
  .product-ad { width: 60%; }
}