/* Base / Layout */
html, body, header, nav, main, article, aside, footer { margin: 0; padding: 0; }
html, body { height: auto; }
:root {
  /* Copper / Turquoise themed tokens */
  --bg: #0a0a0a;
  --bg-2: #0f1414;
  --text: #eaffff;
  --muted: #9bd7d6;
  --accent: #00e5c8;
  --accent-2: #b87333;
  --glass: rgba(8,12,16,.28);
  --glass-2: rgba(8,12,16,.16);
  --border: rgba(255,255,255,.32);
  --shadow: 0 8px 28px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  background: linear-gradient(135deg, rgba(184,115,51,.50) 0%, rgba(0,229,200,.28) 60%, rgba(0,0,0,.75) 100%), radial-gradient(circle at 20% -10%, rgba(0,229,200,.15), transparent 40%), radial-gradient(circle at 90% 10%, rgba(184,115,51,.15), transparent 40%), #000;
  position: relative;
  min-height: 100vh;
  padding-bottom: 2rem;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Subtle CSS noise + scanlines (pure CSS) */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 3px 7px, rgba(0,0,0,.04) 1px, transparent 2px);
  background-size: 4px 4px, 4px 4px;
  opacity: .65;
  mix-blend-mode: overlay;
}
main { position: relative; z-index: 1; padding: 2rem 1rem 3rem; display: block; }

/* Sections / structure */
header, nav, main, article, footer, aside { width: 100%; }
header { text-align: center; padding: 1.75rem 0 1rem; }
header h1 { font-size: clamp(1.6rem, 3vw + 1rem, 2.6rem); line-height: 1.15; margin: .25rem 0 0.25rem; }
header .meta { color: var(--muted); font-size: clamp(0.8rem, 0.8vw + .4rem, 1rem); }

/* Container / Grid utilities */
.container { width: 100%; max-width: clamp(640px, 90vw, 1100px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; }
.card { background: var(--glass); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px); }

/* Image frame */
.image-frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 6px 18px rgba(0,0,0,.25); aspect-ratio: 16/9; background: #111; display: block; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content styling hook */
.content { color: var(--text); }

/* Typography tweaks for readability on glass */
h1, h2, h3 { font-weight: 700; letter-spacing: .2px; }
p { margin: .75rem 0; color: color-mix(in srgb, var(--text) 92%, #fff 8%); }
strong { color: var(--text); }

/* Links / buttons / CTAs */
a, button, .btn, .cta { font-family: inherit; font-weight: 600; text-decoration: none; color: inherit; cursor: pointer; }
a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Button variants */
.btn { display: inline-block; padding: .75rem 1.25rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); background: var(--accent); color: #04251b; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); background: #00d9c0; }
.btn:active { transform: translateY(0); }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.4); }

/* Outline / ghost CTA */
.cta { padding: .85rem 1.1rem; border-radius: 9px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.15); color: var(--text); }

/* Glass panels fallback for environments without backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .card { background: rgba(8,12,16,.42); }
  .image-frame { border-color: rgba(255,255,255,.5); }
}

/* Focus styles for accessibility */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Lists and utility elements */
ul, li { margin: 0 0 .5rem 0; padding-left: 1.25rem; }
li { line-height: 1.6; }
.tag { display: inline-block; padding: .15em .5em; font-size: .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.15); color: #eaffff; }

/* Header navigation adjustments for compact layouts */
nav { display: inline-flex; gap: .5rem; padding-top: .25rem; }

/* Footer / product ad panels */
footer { padding: 2rem 1rem; text-align: center; color: var(--text); }
footer .product-ad, footer .sponsored-page { display: inline-block; vertical-align: top; width: min(100%, 520px); margin: .25rem; padding: .9rem 1rem; border-radius: 12px; background: var(--glass); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Featured image wrapper to align with content structure if present */
.featured-image { padding: .75rem 0; }

/* Print styles */
@media print {
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card { background: #fff; border: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}
@media (max-width: 720px) {
  header { padding-top: 1.25rem; }
  .product-ad, .sponsored-page { width: 100%; }
}
