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

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

:root {
  --bg: #0b0f14;
  --panel: rgba(20, 20, 24, 0.72);
  --panel-border: rgba(140, 140, 140, 0.4);
  --text: #e6e9ee;
  --muted: #aab2bc;
  --accent: #5bd1ff;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: #0b0f14;
  /* subtle metallic sheen + grid for hacker vibe */
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    repeating-linear-gradient(90deg, rgba(60,60,60,0.25) 0, rgba(60,60,60,0.25) 1px, transparent 1px, transparent 6px);
  background-blend-mode: overlay;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #cfe6ff; text-decoration: none; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(200,200,200,0.25);
  background: rgba(20,20,24,0.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04),
              0 20px 40px rgba(0,0,0,0.55);
  position: relative;
}
.image-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Frosted glass accent for content blocks (footer card) */
.product-ad {
  max-width: 720px;
  margin: 1.25rem auto;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.65);
  border: 1px solid var(--panel-border);
  color: var(--text);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a { display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 6px;
  background: linear-gradient(#2a2f38, #1a1f28);
  color: #e7f1ff;
  border: 1px solid rgba(180,180,180,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover p,
.product-ad a:focus-visible p {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}
footer p {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 560px) {
  main { padding: 3rem 1rem; }
  .image-frame { width: min(92vw, 860px); }
  .product-ad { margin: 1.5rem auto; }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(80vw, 900px); }
  .product-ad { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}