/* Frosted glass hacker vibe with maroon stripes - single stylesheet */
/* Light reset and mobile-first base */
:root {
  --bg-stripe: rgba(128, 0, 0, 0.65);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --text: #e9e9e9;
  --muted: #b5b5b5;
  --accent: #2ee6ff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.6;
  background-color: #0b0b0b;
  /* maroon striped pattern background (diagonal stripes) */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    repeating-linear-gradient(135deg, rgba(128,0,0,0.65) 0 14px, rgba(0,0,0,0) 14px 28px);
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

header,
main,
footer {
  width: 100%;
}

/* Frosted base for glassy panels */
.frosted {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Header / hero */
header {
  padding: 2rem 1rem;
  text-align: center;
}
header h1 {
  margin: 0 0 .25rem;
  font-size: clamp(2rem, 4vw + 1rem, 3.75rem);
  line-height: 1.05;
  font-weight: 700;
  color: #f7f7f7;
  text-shadow: 0 0 12px rgba(46, 232, 255, 0.25);
}
header .meta {
  margin-top: .25rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  letter-spacing: .4px;
}

/* Main article area (content) */
main {
  padding: 0 1rem 2rem;
}
article {
  max-width: 720px;
  margin: 1rem auto;
  padding: 1rem 1.1rem;
  background: rgba(10, 10, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  color: #e9e9e9;
}
.featured-image {
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 1rem;
}
.featured-image img {
  width: min(92%, 720px);
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 18px rgba(0,0,0,.5);
  background: rgba(255,255,255,.08);
  backdrop-filter: saturate(1.2);
}
article p {
  color: #e9e9e9;
  font-size: 1.04rem;
  margin: 1rem 0;
}
article p + p {
  margin-top: .75rem;
}

/* Footer / ad area as frosted panel with CTA */
footer {
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
  text-align: center;
}
.product-ad {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0 auto 1rem;
}
.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}
.product-ad a {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #2b2b2b, #3b3b3b);
  color: #e9f5ff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 600;
}
.product-ad a:hover {
  background: linear-gradient(135deg, #3b3b3b, #2b2b2b);
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
footer p {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
}

/* Focus styles for accessibility on anchors/buttons */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
a:hover { text-decoration: underline; }

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

/* Responsive tweaks for larger screens */
@media (min-width: 768px) {
  article {
    padding: 1.25rem 1.5rem;
  }
  article p { font-size: 1.12rem; }
  header { padding: 3rem 1rem; }
  header h1 { font-size: 4rem; }
  .product-ad { grid-template-columns: auto 1fr; justify-items: center; }
}