/* Reset & base */
:root {
  --bg0: #041c20;
  --bg1: #062e39;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #e6feff;
  --cyan: #4ef3ff;
  --blue: #2db6ff;
}
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background-color: #0b2b2f;
  /* Teal noise texture: subtle interference dots for a hacker vibe */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 255, 255, 0.22) 1px, transparent 1px),
    radial-gradient(circle at 3px 4px, rgba(0, 170, 255, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 8px 6px, rgba(0,0,0,0.08) 2px, transparent 2px);
  background-size: 6px 6px, 6px 6px, 6px 6px;
  background-repeat: repeat;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* header hero */
header {
  padding: 2rem 1rem;
  text-align: center;
}
header h1 {
  margin: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05;
  text-align: center;
  background: linear-gradient(90deg, #7cf1ff 0%, #4ab8ff 60%, #6af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.7);
}
header h1:hover { text-shadow: 0 0 12px rgba(0, 255, 255, 0.95); }

/* frosted glass frame around the image (hero visual) */
.image-frame {
  width: min(92%, 900px);
  margin: 1.5rem auto;
  padding: 0.75rem;
  border-radius: 18px;
  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 8px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .image-frame { padding: 1rem; }
  .image-frame img { border-radius: 14px; }
}

/* footer with glass panels */
footer {
  padding: 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(to top, rgba(2, 12, 20, 0.9), rgba(2, 12, 20, 0.6));
  border-top: 1px solid rgba(0,0,0,0.25);
}
.product-ad {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  min-width: 240px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.product-ad h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #ccfbff;
  display: inline-flex;
  align-items: center;
}
.product-ad a {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0a74d2 0%, #2a9cff 60%, #12e5ff 100%);
  box-shadow: 0 6px 14px rgba(0, 180, 255, 0.5);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 180, 255, 0.6);
}
.product-ad a:focus-visible {
  outline: 3px solid #00eaff;
  outline-offset: 2px;
}
.product-ad > p {
  margin: 0;
}
footer > p { margin: 0; color: #9feaff; opacity: 0.95; }

/* accessibility: focus for any link */
a:focus-visible { outline: 3px solid #00e6ff; outline-offset: 2px; border-radius: 6px; }

/* responsive tweaks */
@media (max-width: 600px) {
  footer { align-items: stretch; }
  .product-ad { width: 100%; }
}

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