/* Minimal reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --turquoise: #2ee3d9;
  --turquoise-dark: #1fb2a6;
}
body {
  margin: 0;
  color: #eafff3;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  /* green striped background with turquoise glow for hacker vibe */
  background-color: #041a0f;
  background-image:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    repeating-linear-gradient(135deg, rgba(0,128,0,0.25) 0 16px, rgba(0,128,0,0.6) 16px 32px);
  background-size: cover;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Frosted glass surfaces */
.frost { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 12px; }

/* Layout sections */
header { display: grid; place-items: center; padding: 2.5rem 1rem; text-align: center; }
main { display: grid; place-items: center; padding: 1rem; }
article { width: min(1100px, 92%); }

/* Hero title with frosted-glass look and neon glow */
header h1 {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  line-height: 1.08;
  color: #eaffff;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: rgba(8, 28, 28, 0.6);
  border: 1px solid rgba(46, 227, 217, 0.5);
  box-shadow: 0 0 24px rgba(46, 227, 217, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 0 6px rgba(46,227,217,0.8);
}

/* Image frame with frosted glass feel */
.image-frame { background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* Footer / ad area as a prominent CTA region */
footer { padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 1rem;
  color: #d9fff0; }

/* Product Ad block */
.product-ad {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(46,227,217,0.5);
  padding: 0.75rem;
  border-radius: 12px;
  text-align: center;
  width: min(520px, 90%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 { color: var(--turquoise); font-size: 1.15rem; margin: 0 0 0.25rem; }

/* CTA button style for the ad link */
.product-ad a {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #041a15;
  background: linear-gradient(135deg, var(--turquoise) 0%, #18b3a0 100%);
  border: 1px solid rgba(255,255,255,0.6);
  font-weight: 700;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(46,227,217,0.4); }
.product-ad a:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; }

/* Link styling accessibility */
a { color: var(--turquoise); text-decoration: none; transition: color .2s ease, text-shadow .2s ease; }
a:hover { color: #7ef5ee; text-shadow: 0 0 6px rgba(46,227,217,0.5); }
a:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; }

/* Typography refinements for readability on dark background */
p { color: #d5fff0; }

/* Responsive adjustments: switch to two-column layout on larger screens for a "hero + image" feel */
@media (min-width: 900px) {
  header { padding: 3.5rem 1rem; }
  article { display: grid; grid-template-columns: 1fr 0.95fr; gap: 2rem; align-items: center; }
  .image-frame { padding: 1.25rem; }
  header h1 { font-size: clamp(2.4rem, 4vw + 1rem, 4.8rem); }
}

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