*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
html { font-size: 16px; }

:root {
  --bg: #0b111a;
  --turq: #2ee0d9;
  --turq-dark: #0b4a4a;
  --orange: #ff7a18;
  --panel: rgba(6,12,18,.65);
  --glass: rgba(255,255,255,.08);
  --text: #eaffff;
  --muted: #a6d8d8;
  --shadow: rgba(0,0,0,.5);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: #0a0f14;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* orange dots pattern background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--orange) 2px, transparent 2px);
  background-size: 24px 24px;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.1);
}

/* Layout */
main {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 1rem 2rem;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: min(92vw, 980px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 1rem;
  background: rgba(6,12,18,.65);
  border: 1px solid rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 0 16px rgba(0,0,0,.25);
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) hue-rotate(-6deg);
  border: 1px solid rgba(0,255,255,.25);
}

/* footer with product ad */
footer {
  width: 100%;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(4, 9, 12, 0.75);
  border-top: 1px solid rgba(0, 255, 255, 0.25);
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2, 12, 24, 0.75);
  border: 1px solid rgba(0,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 0.95rem;
  color: var(--orange);
  text-shadow: 0 0 8px rgba(255,122,24,.85);
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #14f0d2, #0bd0b0);
  color: #041716;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.product-ad a:hover,
.product-ad a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  outline: none;
}

footer p {
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* accessible focus styles for all focusable elements */
:focus-visible {
  outline: 3px solid #2ee6d6;
  outline-offset: 2px;
  border-radius: 6px;
}

/* responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 8rem 1.5rem 4rem; }
  body::before { background-size: 32px 32px; opacity: .25; }
}

@media (min-width: 900px) {
  main { padding: 8rem 2rem 6rem; }
  .image-frame { width: min(70vw, 960px); }
  footer { padding: 20px 24px; }
}