/* Section: Theme Variables */
:root{
  --bg: #0b0b10;
  --bg-2: #12131a;
  --surface: rgba(255,255,255,0.12);
  --surface-2: rgba(255,255,255,0.20);
  --text: #e8e8e8;
  --muted: #b5b5b5;
  --accent: #b66e2e;       /* copper */
  --accent-2: #f0b26b;     /* brighter copper/highlight */
  --border: rgba(255,255,255,0.28);
  --shadow: 0 10px 26px rgba(0,0,0,.45);
  --radius: 14px;
  --radius-sm: 12px;
  --blur: 10px;
}

/* Section: Base & Reset (mobile-first) */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background:
    /* Subtle copper-tinted gradient (layered) */
    linear-gradient(135deg, rgba(8,8,12,.95) 0%, rgba(12,12,18,.95) 60%, rgba(8,8,12,.95) 100%),
    /* Soft glow noise/scanline effect (pure CSS) */
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px),
    linear-gradient(to bottom right, rgba(0,0,0,.15), rgba(0,0,0,.0) 60%);
  background-blend-mode: overlay, overlay, normal;
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Section: Layout Utilities */
.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid { display: grid; gap: 1rem; }
.card { padding: 1rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.20); }

/* Section: Glass Panels (with fallback) */
.glass {
  background: rgba(18,18,22,.20);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
@supports not (backdrop-filter: blur(10px)) {
  .glass { background: rgba(18,18,22,.60); border-color: rgba(255,255,255,.40); }
}

/* Section: Image Frame (frame with glow) */
.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 6px 24px rgba(0,0,0,.55), inset 0 0 12px rgba(182,106,42,.25);
  background: #000;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.image-frame:hover img { transform: scale(1.02); }

/* Section: Typography & Hero */
h1, h2, h3 { margin: 0 0 .5rem; font-weight: 700; letter-spacing: .2px; }
h1 { font-size: clamp(1.25rem, 2.4vw + 1rem, 2rem); line-height: 1.15; color: var(--text); }
p { margin: 0 0 0.75rem; color: var(--muted); }
strong { color: color-mb(#fff); }

/* Section: Content & Structural Elements */
header, nav, main, article, aside, footer {
  display: block;
}
header { padding: 1rem 0; text-align: center; }
header h1 { font-size: clamp(1.1rem, 2vw + 1rem, 1.75rem); margin: .25rem 0 0; color: var(--text); }
nav { margin-top: .25rem; }
nav a { color: var(--text); text-decoration: none; padding: .25rem .5rem; border-radius: 6px; }
nav a:hover { text-decoration: underline; }

/* Section: Content Area */
.content { padding: 1rem; }

/* Section: Links & Buttons (interactive states) */
a, button { color: var(--text); text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s; }
a:hover, a:focus-visible { text-decoration: underline; outline: none; }

/* Focus ring for keyboard users (focus-visible) */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* Button variants */
.btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  background: var(--accent);
  color: #1a0e00;
  cursor: pointer;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); background: #c06421; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.secondary:hover { background: rgba(255,255,255,.08); text-decoration: underline; }

/* Section: Utility classes (grid, card, tag) */
.grid.auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card { padding: 1rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); }

/* Tag badge */
.tag {
  display: inline-block; padding: .25em .6em; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: #111; background: var(--accent);
  border: 1px solid rgba(0,0,0,.15);
}

/* Section: Links with accessibility contrast on glass */
.glass a { color: var(--text); }

/* Section: Print */
@media print {
  body { color: #000; background: #fff; }
  a { text-decoration: underline; }
}
 
/* Section: Layout: Page shell tuning for the provided structure */
header + main { padding: 1rem 0; }
main { padding: 0 0 1rem; }
footer { padding: 1rem 0; text-align: center; color: var(--muted); }

/* Specific element styles to target the provided HTML */
.product-ad { margin: 1rem auto; max-width: 420px; }
.product-ad a { display: block; padding: .75rem 1rem; text-align: center; border-radius: 999px; background: rgba(182,106,42,.18); border: 1px solid rgba(182,106,42,.5); }
.sponsored-page { margin: 1rem auto; max-width: 420px; display: block; }
.sponsored-page a { display: block; padding: .75rem 1rem; text-align: center; border-radius: 999px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.4); }
footer p { margin: .25rem 0 0; font-size: .875rem; color: var(--muted); }

/* End of stylesheet */