/* Reset + variables */
:root {
  --bg-deep: #0a1b2a;
  --bg-mid: #173246;
  --turq: #2ee6e0;
  --turq-dark: #16b6b1;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(0,255,255,0.6);
  --text: #eaffff;
  --muted: #c9f2f5;
  --shadow: 0 10px 25px rgba(0,0,0,.35);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  line-height: 1.4;
  background:
    linear-gradient(135deg, #0e1a2b 0%, #1a2a40 60%, #0e1a2b 100%),
    radial-gradient(circle at 10% 0%, rgba(246,238,214,0.06), transparent 40%),
    radial-gradient(circle at 60% 10%, rgba(0,255,255,0.08), transparent 40%);
  min-height: 100vh;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 6vmin 4vw 4vmin;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.image-frame {
  width: min(92vw, 860px);
  padding: 0.75rem;
  background: rgba(8, 20, 35, 0.55); /* frosted glass base */
  border: 1px solid rgba(0,255,255,0.55);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(1.2);
  overflow: hidden;
  /* subtle glow to hint at hacker neon vibe */
  position: relative;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: inset 0 0 40px rgba(46, 230, 224, 0.25);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0;
  gap: 0.75rem;
  color: var(--muted);
}

.product-ad {
  width: min(92vw, 860px);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  border-radius: 12px;
  background: rgba(8, 20, 35, 0.65);
  border: 1px solid rgba(0, 255, 255, 0.60);
  backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #b8fff7;
  text-shadow: 0 0 6px rgba(46, 255, 255, 0.6);
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  min-width: 180px;
}

.product-ad a p {
  margin: 0;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: rgba(46, 255, 230, 0.95);
  color: #022029;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  text-align: center;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.5);
}

.product-ad a:focus-visible {
  outline: 3px solid rgba(0, 255, 255, 0.8);
  outline-offset: 2px;
  border-radius: 999px;
}

footer p {
  font-size: .9rem;
  color: #9bbbd6;
  opacity: 0.95;
  margin: 0;
}

/* Responsive: stack CTA on small screens */
@media (max-width: 640px) {
  .product-ad {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.6rem;
  }
  .product-ad a { justify-self: start; }
  .product-ad h3 { font-size: 0.9rem; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}