/* CSS reset and base setup (mobile-first) */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #f2f2f2;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: #000;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Brown geometric shapes background (futuristic hacker/Cyberpunk vibe) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  /* layered shapes for a geometric brown backdrop */
  background-image:
    conic-gradient(from 45deg at 20% 20%, rgba(120,60,20,0.95) 0 25%, transparent 25% 50%, rgba(60,30,10,0.95) 50% 75%, transparent 75% 100%),
    radial-gradient(circle at 25% 10%, rgba(120,60,20,0.55) 0 40%, transparent 42%),
    radial-gradient(circle at 70% 40%, rgba(80,40,15,0.6) 0 60%, transparent 62%),
    linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
  mix-blend-mode: overlay;
  opacity: 0.95;
  pointer-events: none;
  /* subtle micro-texture via repetition of gradients is enough to read as geometry */
}
body { background-color: #000; }

/* Page layout containers (single column, mobile-first) */
header, main, footer { position: relative; z-index: 1; }

/* Hero-like header card with frosted glass look */
header {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto 1rem;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 14px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
header h1 {
  margin: 0 0 0.4rem;
  font-family: "Segoe UI", Roboto, Arial;
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: #fff;
  letter-spacing: .02em;
  text-shadow: 0 0 8px rgba(255,255,255,0.25);
}
header .meta {
  color: #e6e0dc;
  font-size: 0.92rem;
}

/* Main content area with frosted glass article container */
main { padding: 1rem; display: block; }

/* Article content is readable on dark glass with subtle glow */
article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Featured image styling */
.featured-image {
  display: flex;
  justify-content: center;
  margin: 1rem auto;
}
.featured-image img {
  width: 100%;
  height: auto;
  max-width: 720px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

/* Text content inside article */
article p {
  color: #eaeaea;
  font-size: 1rem;
  line-height: 1.75;
  margin: 1rem 0;
}
article a {
  color: #e8f0ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
article img { max-width: 100%; }

/* Footer styling with a subtle frosted glass card for the ad */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #d9d9d9;
}
footer .product-ad {
  display: inline-block;
  padding: .75rem 1rem;
  margin: 0.75rem 0 0;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
footer .product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: #fff;
}
footer a { text-decoration: none; color: inherit; }
footer a p { margin: 0; color: #fff; }

/* CTA button styles (prominent, accessible) */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  font-weight: 700;
  color: #0b0b0b;
  background: #ffd27d;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,214,122,0.8); }
.btn.primary {
  background: #111;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  text-shadow: 0 1px 0 rgba(0,0,0,0.7);
}
a.btn:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,214,122,0.8);
}

/* Accessibility helpers (links and buttons visible on keyboard) */
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,214,122,0.8); }

/* Responsive adjustments (tablet and up) */
@media (min-width: 768px) {
  article { padding: 1.5rem 2rem; }
  header { padding: 3rem 1.5rem; border-radius: 18px; }
  .featured-image img { max-width: 860px; }
}
@media (min-width: 1024px) {
  header { text-align: left; padding: 3.5rem 2rem; }
  header h1 { font-size: 3.25rem; }
  article { padding: 2rem 2.25rem; }
}