/* Minimal, responsive CSS for a blue-sunset hacker-themed landing page */
/* Light reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --text: #e5e7eb;
  --muted: #aab4c5;
  --bg1: rgba(2,6,23,0.6);
  --card: rgba(19,24,40,0.62);
  --border: rgba(255,255,255,.18);
  --accent: #7bdfff;
  --ctaA: #3b82f6;
  --ctaB: #1d4ed8;
}

html, body { height: 100%; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: linear-gradient(135deg, #0b1020 0%, #162038 40%, #1b2a4b 70%, #0b1020 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.25;
}

/* Subtle blue sunset glow overlay to enrich the gradient (non-intrusive) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(0,180,255,.25), transparent 40%),
              radial-gradient(circle at 90% 100%, rgba(255,120,0,.18), transparent 30%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

/* Layout sections */
header, main, footer {
  position: relative;
  z-index: 1;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(8,12,20,.55);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}

header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: .4rem;
  /* frosted glass glow text look via gradient fill */
  background: linear-gradient(90deg, #7dd3fc, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(125, 211, 255, .35);
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: start;
  padding: 1rem;
  gap: 1rem;
  min-height: 0;
}

.image-frame {
  width: min(92%, 700px);
  border-radius: 16px;
  padding: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.05);
  outline: 1px solid rgba(255,255,255,.12);
}

footer {
  padding: .9rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  background: rgba(6,8,16,.6);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  color: #d1d5db;
  text-align: center;
}

.product-ad {
  display: grid;
  gap: .4rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(20,24,40,.62);
  border: 1px solid rgba(255,255,255,.16);
  min-width: 240px;
  justify-items: center;
}
.product-ad h3 {
  font-size: .95rem;
  color: #e2e8f0;
}
.product-ad a {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 14px rgba(59,130,246,.6);
  transition: transform .15s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

footer p {
  margin: 0;
  font-size: .9rem;
  color: #cbd5e1;
  opacity: .95;
}

/* Accessibility: focus styles for interactive elements */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #7bdfff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  header h1 { font-size: 1.9rem; }
  .image-frame { width: min(88%, 760px); }
  .product-ad { min-width: 260px; }
}

@media (min-width: 900px) {
  main { padding: 2rem; }
  .image-frame { width: 720px; }
  /* Optional: footer spacing tweaks on larger screens */
  footer { gap: 1.2rem; }
}
