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

:root {
  --bg: #0b1020;
  --indigo: #1a1f3a;
  --teal: #2bd4c3;
  --teal-dark: #14b1a3;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #eaffff;
  --muted: #a6b7d4;
  --focus: #2bd4c3;
}

html, body {
  height: 100%;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  /* Teal carbon fiber feel with indigo hacker vibe */
  background-image:
    linear-gradient(135deg, rgba(43,212,195,0.08) 0 2px, transparent 2px 4px),
    linear-gradient(45deg, rgba(43,212,195,0.08) 0 2px, transparent 2px 4px);
  background-size: 40px 40px, 40px 40px;
  background-position: 0 0, 20px 20px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

.image-frame {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.55);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

footer {
  padding: 1rem;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(8, 12, 28, 0.6);
  border: 1px solid rgba(60, 240, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
  max-width: 520px;
  margin: 0 auto;
}

.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-ad a {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f2a4b, #0b3a71);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(46, 196, 230, 0.6);
  box-shadow: 0 6px 14px rgba(0,0,0,0.40),
              inset 0 0 8px rgba(46, 196, 230, 0.5);
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.45),
              inset 0 0 8px rgba(46, 196, 230, 0.6);
}

.product-ad a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 999px;
}

footer p {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
}

a, button {
  color: inherit;
  text-decoration: none;
}

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

@media (max-width: 700px) {
  .image-frame { width: 95vw; }
  footer { padding: 0.75rem; }
  .product-ad { width: 100%; }
}