/* Light reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Mobile-first, accessible palette with cyber-hacker vibe */
:root {
  --bg-start: #0a2a66;
  --bg-end:   #0e3d7a;
  --beige:    rgba(245, 238, 214, 0.85);
  --beige-soft: rgba(245, 238, 214, 0.65);
  --glass: rgba(255, 251, 235, 0.25);
  --border: rgba(255,255,255,0.25);
  --text: #1a1a14;
  --accent: #7cc6ff;
}

html, body { height: 100%; }

/* Global layout */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Frosted glass frame for hero image */
.image-frame {
  width: min(92vw, 900px);
  border-radius: 20px;
  padding: 1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25), inset 0 0 0 rgba(0,0,0,0);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 0 0 rgba(0,0,0,0);
}

/* Subtle cyberpunk neon glow on the frame for depth */
.image-frame {
  position: relative;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(120, 190, 255, 0.25), transparent 40%),
              radial-gradient(circle at 90% 100%, rgba(120, 190, 255, 0.15), transparent 40%);
  mix-blend-mode: screen;
  filter: saturate(1.2);
}

/* Footer with frosted glass sections */
footer {
  width: 100%;
  padding: 1.25rem;
  background: rgba(10, 12, 14, 0.35);
  color: #f5e8d0;
  border-top: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Product ad card (frosted glass) */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  min-width: 180px;
  border-radius: 12px;
  background: rgba(255, 248, 225, 0.28);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-align: center;
}

.product-ad h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #e6d8a6;
  text-shadow: 0 0 6px rgba(124, 198, 255, 0.6);
}

.product-ad p {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New";
  font-size: 0.95rem;
  color: #0b1e3a;
  margin: 0.25rem 0 0;
}

.product-ad a {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular;
  color: #0b1e3a;
  text-decoration: none;
  background: linear-gradient(135deg, #e8f2ff 0%, #dbe6ff 100%);
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 999px;
}

/* Footer text (copyright) */
footer > p {
  color: rgba(230, 220, 190, 0.95);
  font-size: 0.92rem;
  margin: 0.25rem 0;
  text-shadow: 0 0 8px rgba(0,0,0,0.15);
}

/* Focus styles for accessibility on links and interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 700px) {
  main { padding: 3rem 0; }
  .image-frame { padding: 1.25rem; }
  .product-ad { min-width: 220px; }
}
