/* Minimal reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; padding: 0; }

/* Theme: beige striped background + white frosted panels with cyberpunk/hacker vibe */
:root {
  --bg-stripe-a: #f5ecd6;
  --bg-stripe-b: #e8d6b1;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #0b0b0b;
  --muted: #5a5a5a;
  --cyan: #2eeadc;
  --cyan-2: #0ff0e6;
  --glow: 0 0 18px rgba(46, 234, 220, 0.6);
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0,0,0,.08);
}

body {
  /* beige striped background (diagonal stripes) */
  background: repeating-linear-gradient(
    135deg,
    var(--bg-stripe-a) 0 20px,
    var(--bg-stripe-b) 20px 40px
  );
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

/* Layout container to center content on larger screens */
.main-wrap {
  width: 100%;
  display: grid;
  place-items: start center;
  padding: 1rem;
}

/* Header / hero styling (clear, prominent) */
header {
  width: min(980px, 92vw);
  margin: 0 auto 1rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,255,240,.15), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}
header h1 {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.8rem);
  margin: 0 0 0.4rem;
  color: #0b0b0b;
  letter-spacing: .2px;
  text-shadow: 0 0 8px rgba(0, 255, 230, 0.6);
}
header .meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.25rem;
  opacity: 0.95;
}

/* Main content area with frosted glass card feel */
main {
  width: min(980px, 92vw);
  display: grid;
  gap: 1rem;
  margin: 0 auto;
}

article {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.04);
  margin-bottom: 1rem;
  background: #fff;
}

/* Paragraph content styling */
article p {
  font-size: 1.02rem;
  color: #111;
  margin: 0.8rem 0;
}

/* First-letter emphasis for p.content only (bold + larger) */
p.content:first-letter {
  font-weight: 700;
  font-size: 1.6em;
  color: #0a0a0a;
  float: left;
  padding-right: .1em;
  line-height: 1;
}

/* Footer / ad area with call-to-action */
footer {
  width: min(980px, 92vw);
  margin: 1rem auto 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.product-ad {
  background: rgba(255,255,255,.75);
  border-radius: calc(var(--radius) - 4px);
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.product-ad a {
  display: inline-block;
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  color: #062b2b;
  font-weight: 700;
  background: linear-gradient(135deg, #e8fbff 0%, #d8fbff 100%);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .15s ease;
  display: inline-block;
}
.product-ad a p:hover { transform: translateY(-1px); }
.product-ad a p:focus-visible { outline: 3px solid var(--cyan-2); outline-offset: 2px; }

/* Small footer note */
footer > p {
  text-align: center;
  color: #555;
  font-size: .92rem;
  margin: 0;
}

/* Links and interactive elements accessibility */
a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px dashed rgba(46, 234, 220, 0.6);
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan-2);
  outline-offset: 2px;
  border-radius: 6px;
}
button, [role="button"] {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img { max-width: 100%; height: auto; }

/* Subtle neon accents for cyberpunk vibe on headings */
h2, h3 {
  color: #0a0a0a;
  text-shadow: 0 0 6px rgba(46,238,220,.6);
}
h3 { font-size: 1.12rem; margin: .5rem 0 0.25rem; }

/* Responsive: widen content on larger screens, keep mobile-first feel */
@media (min-width: 600px) {
  main { padding: 0 0; }
  article { padding: 1.75rem; }
  footer { grid-template-columns: 1fr; }
}
@media (min-width: 860px) {
  header { margin-bottom: 0.75rem; }
  footer { width: min(980px, 92vw); }
  .product-ad { align-self: start; }
}
