:root{
  --bg: #0b0b0b;
  --bg-2: #141414;
  --text: #eefaff;
  --muted: #a6a6a6;
  --accent: #b76a2b;      /* copper */
  --accent-2: #d9c3a7;    /* chrome highlight */
  --card: rgba(255,255,255,.10);
  --border: rgba(255,255,255,.28);
  --glass: rgba(255,255,255,.12);
  --shadow: 0 10px 28px rgba(0,0,0,.45);
  --radius: 14px;
  --focus: 2px solid #ffdca8;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html, body { margin: 0; padding: 0; }

html, body {
  color: var(--text);
  background: linear-gradient(135deg, rgba(95,25,0,0.8) 0%, rgba(12,12,12,0.92) 60%, rgba(8,8,8,1) 100%), 
              radial-gradient(circle at 70% 0%, rgba(210,140,60,0.08), transparent 40%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}

/* Subtle copper-chrome glassy texture over the page (pure CSS layers) */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 6px 6px, 6px 6px;
  mix-blend-mode: overlay;
  opacity: 0.25;
}
body::after {
  background: repeating-linear-gradient(
      to bottom,
      rgba(0,0,0,0.12),
      rgba(0,0,0,0.12) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: overlay;
  opacity: 0.12;
  z-index: 0;
}

/* Layout scaffolding */
.container {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  color: var(--text);
}

.panel, .product-ad, .sponsored-page {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
}
@supports not (backdrop-filter: blur(12px)) {
  .panel, .product-ad, .sponsored-page {
    background: rgba(10,10,10,0.60);
  }
}

header, main, footer, aside, article {
  position: relative;
  z-index: 1;
}

header {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}
header h1 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 3rem);
  margin: 0 0 .35rem;
  letter-spacing: .5px;
  color: #fff;
}
header .meta {
  margin: 0;
  font-size: clamp(0.85rem, 0.8vw + 0.8rem, 1rem);
  color: var(--muted);
}
nav {
  margin-top: .75rem;
}
nav a {
  display: inline-block;
  padding: .55rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,.25);
  transition: transform .15s ease, background .2s ease;
}
nav a:hover, nav a:focus-visible {
  background: rgba(255,255,255,.15);
  text-decoration: underline;
  outline: none;
}
main {
  padding: 1rem 0 2rem;
}
.featured-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  margin: 0 0 1rem;
}
.featured-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 0 12px rgba(0,0,0,.25), 0 6px 18px rgba(0,0,0,.4);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h2 {
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
  margin: .75rem 0 0.5rem;
  color: #fff;
}
p {
  font-size: clamp(0.95rem, 0.6vw + 0.95rem, 1.05rem);
  line-height: 1.6;
  color: #eaf6ff;
  margin: 0 0 1rem;
}
ul {
  padding-left: 1.25rem;
  margin: .25rem 0 1rem;
  color: #eaf6ff;
}
li { margin: .25rem 0; }

blockquote {
  margin: .75rem 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--accent);
  color: #fff;
  background: rgba(0,0,0,.25);
  border-radius: 6px;
}

.product-ad, .sponsored-page {
  display: block;
  margin: 1rem 0 0;
  text-align: center;
}
.product-ad a, .sponsored-page a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}
.product-ad p, .sponsored-page p {
  margin: 0;
  font-weight: 600;
}
a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
  text-decoration: underline;
}

/* Button styles (solid + outline variants) */
.btn, .cta {
  display: inline-block;
  padding: .65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.32);
  background: var(--accent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); background: #d07a2a; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.btn:active, .cta:active { transform: translateY(0); }
.btn:focus-visible, .cta:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.45);
}
.btn.secondary:hover {
  background: rgba(255,255,255,.12);
}

/* Utility text variants for contrast over glassy panels */
.text-muted { color: var(--muted); }

/* Glass panels styling for content blocks (fallback + modern) */
.panel, .card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28); border-radius: 12px;
  padding: 1rem; box-shadow: 0 8px 22px rgba(0,0,0,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .panel, .card { background: rgba(0,0,0,.40); border-color: rgba(255,255,255,.60); }
}

/* Typography scale helpers (compact, high-contrast) */
.tag {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  color: #fff;
}
.content { color: #eaf6ff; }

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .panel, .card { background: #fff; border: 1px solid #000; box-shadow: none; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
