/* Minimal reset and base for a clean, hacker-teal theme */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: #e9feff;
  line-height: 1.45;
  /* Teal paper texture feel with indigo cyberpunk vibe */
  background-color: #062033;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(0, 255, 230, .08) 0 40px, transparent 40px),
    radial-gradient(circle at 85% 100%, rgba(0, 0, 0, .25) 0 60px, transparent 60px),
    linear-gradient(#0b1d2e, #06172a),
    repeating-linear-gradient(0deg, rgba(0,0,0,.04) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0, 255, 230, .04) 0 2px, transparent 2px 4px);
  background-blend-mode: overlay, overlay, normal, normal, normal;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Light reset for margins/padding across the page */
main, footer { padding: 0; margin: 0; }

/* Layout: mobile-first, center the hero image with frosted-glass accent */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  position: relative;
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0, 180, 200, 0.45);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  /* Frosted glass feel on the frame edges */
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
}

/* Image inside the frame */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.05);
}

/* Subtle frosted glass bottom overlay to suggest a glass panel */
.image-frame::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(to top, rgba(10,26,60,.78), rgba(10,26,60,.25) 60%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(160, 240, 255, 0.25);
  pointer-events: none;
}

/* Glowing indigo/cyan edge for a hacker vibe */
.image-frame::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid rgba(0, 255, 230, .55);
  box-shadow: 0 0 18px rgba(0, 255, 230, .45);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: borderPulse 6s linear infinite;
}
@keyframes borderPulse {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .image-frame::after { animation: none; }
  .image-frame::borderPulse { animation: none; }
}

/* Footer area with a prominent CTA styled as a frosty button */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: #bfe8f5;
  background: linear-gradient(to top, rgba(3,6,20,.9), rgba(3,6,20,.65));
  border-top: 1px solid rgba(0, 180, 200, 0.25);
}
.product-ad { display: inline-block; padding: .25rem; border-radius: 12px; margin-bottom: .75rem; background: rgba(7,19,40,.6); border: 1px solid rgba(100, 180, 255, 0.5); }
.product-ad h3 {
  font-size: .92rem;
  margin: 0 0 .25rem;
  color: #d9f7ff;
  font-weight: 700;
  letter-spacing: .2px;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: .72rem 1.1rem;
  border-radius: 9px;
  font-weight: 800;
  color: #eaffff;
  background: linear-gradient(135deg, #0b1740 0%, #1c2a7a 60%, #0d1a5a 100%);
  border: 1px solid rgba(150, 210, 255, .8);
  box-shadow: 0 6px 14px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-ad a p:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.55); }
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 3px solid #2fffd5; outline-offset: 2px;
}

/* Improve accessibility for color contrast where needed */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(70vw, 860px); border-radius: 18px; }
  footer { font-size: 0.98rem; }
}
@media (min-width: 1100px) {
  /* Slightly larger hero on wide screens for emphasis */
  main { padding: 4rem 2rem; }
  .image-frame { border-radius: 20px; }
  .product-ad h3 { font-size: 1rem; }
}

/* Reduced motion preference respected above; ensure no jarring animations */
@media (prefers-reduced-motion: reduce) {
  .image-frame::after { animation: none; }
  .image-frame { transition: none; }
}