/* Base tokens & resets */
:root {
  --bg: #0a0a0a;
  --bg-2: #0f1115;
  --text: #e9f0e8;
  --muted: #a8b39d;
  --olive: #6b8e23;
  --olive-2: #4b6a1a;
  --pink: #ff2a9a;
  --pink-2: #ff6db3;
  --surface: rgba(12,12,12,.28);
  --surface-2: rgba(255,255,255,.18);
  --radius: 12px;
  --shadow: 0 8px 22px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html, body, header, nav, main, article, footer, aside {
  /* structural defaults if needed by layout */
}
html, body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Layered background: gradient + hot pink checkerboard + olive glaze */
  background-color: var(--bg);
  background-image:
    /* pink checkerboard overlay (soft) */
    repeating-linear-gradient(45deg, rgba(255,42,154,.25) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(-45deg, rgba(255,42,154,.25) 0 12px, transparent 12px 24px),
    /* olive glaze */
    linear-gradient(to bottom right, rgba(107,142,35,.16), rgba(75,106,26,.28)),
    /* subtle vignette gradient for depth */
    linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.75));
  background-blend-mode: overlay, overlay, multiply, normal;
  background-size: 24px 24px, 24px 24px, auto, auto;
}
@media (prefers-reduced-motion: reduce) {
  html, body { background-image: none; }
}

/* Section headers (organization) */

/* Header */
header {
  padding: 1.25rem 1rem;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
header h1 {
  font-size: clamp(1.75rem, 2.2vw + 1rem, 3.5rem);
  line-height: 1.1;
  margin: 0.25rem 0 0.25rem;
  letter-spacing: .3px;
}
header .meta {
  color: var(--muted);
  font-size: clamp(0.9rem, 0.5vw + .8rem, 1.05rem);
}

/* Main content area */
main {
  padding: 1rem;
}
.article {
  display: block;
}
.image-wrap, .featured-image {
  width: 100%;
}
.featured-image {
  width: 100%;
  margin: 0 0 1rem;
}
.image-frame {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 6px 16px rgba(0,0,0,.45);
  background: #000;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content {
  padding: 0.25rem 0 0.5rem;
}
.content p {
  color: var(--text);
  font-size: clamp(1rem, 0.9vw + .9rem, 1.125rem);
  line-height: 1.6;
  margin: 0.75rem 0;
}
.content h2 {
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2.4rem);
  margin: 0.5rem 0 0.25rem;
}
.content ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}
.content li {
  margin: 0.25rem 0;
}
blockquote {
  margin: .75rem 0;
  padding: .5rem 1rem;
  border-left: 3px solid var(--olive);
  color: var(--text);
  background: rgba(0,0,0,.25);
  border-radius: 6px;
}
a { color: var(--pink); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Product ad / sponsored blocks in footer */
.product-ad, .sponsored-page {
  display: block;
  margin: .5rem 0;
  padding: .6rem 0;
}
.product-ad a, .sponsored-page a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  color: #fff;
}
.product-ad p, .sponsored-page p {
  margin: 0;
  font-weight: 600;
  text-align: center;
}
@media (min-width: 720px) {
  .product-ad, .sponsored-page { padding: .75rem 1rem; }
}

/* Utility grid / cards / tags */
.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1100px);
  margin: 0 auto;
  padding: 0 1rem;
}
.grid {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem;
  min-height: 84px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .25s ease, opacity .25s ease;
}
.card:hover { transform: translateY(-2px); }
.card:focus-within { outline: 2px solid var(--pink); outline-offset: 2px; }

/* Tag pills */
.tag {
  display: inline-block;
  padding: .25em .6em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(107,142,35,.25);
  color: #d6eecd;
  border: 1px solid rgba(107,142,35,.6);
}

/* Glassy surfaces (fallback included) */
header, main, footer, aside {
  background: rgba(15,15,15,.28);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  header, main, footer, aside { background: rgba(15,15,15,.68); border-color: rgba(255,255,255,.55); }
}

/* Link/button styles with accessibility in mind */
button, .btn, .cta {
  font: inherit;
  font-synthesis: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: linear-gradient(to bottom, rgba(255,255,255,.14), rgba(255,255,255,.04));
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
button:hover, .btn:hover, .cta:hover { transform: translateY(-1px); }
button:active, .btn:active, .cta:active { transform: translateY(0); }

/* Primary vs outline variants (usage-friendly) */
.btn.primary, .cta.primary {
  background: linear-gradient(#ff2a9a, #e30674);
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255,42,154,.5);
}
.btn.outline, .cta.outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  color: var(--text);
}
a, button, .btn, .cta {
  outline: none;
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
a:hover, button:hover, .btn:hover, .cta:hover {
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Simple print styles for readability */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
