/* Base & Tokens (mobile-first) */
:root{
  --bg: #0b0f14;
  --bg-2: #14181d;
  --surface: rgba(20,20,24,0.60);
  --surface-2: rgba(20,20,24,0.72);
  --text: #eaeef3;
  --muted: #a9b0b9;
  --accent: #b07a3a;
  --accent-2: #8a5e2e;
  --card: rgba(15,15,20,0.72);
  --glass-border: rgba(255,255,255,0.18);
  --focus: #ffffff;
  --shadow: 0 6px 28px rgba(0,0,0,.35);
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  min-height: 100%;
  background: 
    /* bronze spiral-like patterns (soft, CSS-only) */
    radial-gradient(circle at 20% 20%, rgba(176,122,58,.20) 0 6px, transparent 6px) 0 0 / 38px 38px,
    radial-gradient(circle at 70% 70%, rgba(122,93,54,.20) 0 6px, transparent 6px) 0 0 / 40px 40px,
    conic-gradient(from 180deg at 50% 50%, rgba(112,122,92,.15), rgba(0,0,0,0) 120deg, rgba(112,122,92,.15) 240deg, rgba(0,0,0,0) 360deg),
    linear-gradient(135deg, #0a0a0c 0%, #1a1c1f 40%, #0b0f14 100%);
  background-attachment: fixed;
  background-blend-mode: normal, normal, normal, normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  position: relative;
  isolation: isolate;
}
 /* Subtle screen-noise / scanline overlay (pure CSS) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: overlay;
  opacity: .55;
  z-index: 0;
}
main, header, footer, aside, article {
  position: relative;
  z-index: 1;
}
.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 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(--glass-border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .card, header, main, footer, aside {
    background: rgba(20,20,24,0.95);
  }
}
.content { padding: .75rem 0 0; color: var(--text); }

/* Layout primitives (must-styles) */
html, body, header, nav, main, article, footer, aside { }
header, footer { padding: 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18); background: rgba(12,12,14,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
header { margin: 1rem auto; text-align: left; }
header h1 { font-size: clamp(1.6rem, 2.6vw + 1rem, 2.6rem); line-height: 1.04; margin: 0 0 .25rem; letter-spacing:.2px; color: var(--text); }
header .meta { color: var(--muted); font-size: .92rem; margin-bottom: .25rem; }
nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: .25rem .5rem; border-radius: 6px; display: inline-block; }
nav a:hover { text-decoration: underline; }
nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Hero/typography flow in content area */
main { padding: 1rem 0; }
article { padding: 0; }

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

/* Glass panels sections */
.product-ad, .sponsored-page {
  display: inline-block;
  padding: .5rem 0;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,10,12,.55);
  box-shadow: var(--shadow);
}
.product-ad a, .sponsored-page a { display: block; padding: .75rem 1rem; color: #fff; text-decoration: none; border-radius: 8px; }
.product-ad a { background: linear-gradient(to bottom, rgba(176,122,58,.95), rgba(110,80,30,.95)); }
.sponsored-page a { background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.35)); }

/* Links & controls (buttons, CTAs) */
a, button, .btn, .cta {
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* Buttons (solid and outline variants) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75em 1.25em;
  border-radius: 10px;
  border: 1px solid rgba(183,130,60,.75);
  background: linear-gradient(to bottom, rgba(183,130,60,.95), rgba(110,80,30,.95));
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .98; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(183,130,60,.85);
}
.btn--outline:hover { background: rgba(255,255,255,.04); }
.cta { /* alternate emphasis for call-to-action */ 
  background: linear-gradient(to bottom, rgba(132,89,40,.95), rgba(72,54,26,.95));
  border: 1px solid rgba(183,130,60,.85);
}
.cta:hover { filter: brightness(1.03); }

/* Lists & typography tweaks for content readability */
ul, li { margin-block: .25rem; padding-left: 1.25rem; }
ul { list-style: disc; }
li { margin: .25rem 0; }
blockquote { margin: .75rem 0; padding: .75rem 1rem; border-left: 3px solid var(--accent); color: #f3f0e6; background: rgba(0,0,0,.15); border-radius: 6px; }

/* Section headers / headings within article */
article h2, article h3 { color: #f7f7f7; margin: .75rem 0 .5rem; }
article h2 { font-size: clamp(1.25rem, 1.2rem + 1.25vw, 2rem); letter-spacing: .2px; }
article h3 { font-size: clamp(1rem, .9rem + .8vw, 1.25rem); color: #e8e8e8; }

/* Utilities & small UI bits */
.tag {
  display: inline-block;
  padding: .25em .6em;
  font-size: .78rem;
  border-radius: 999px;
  background: rgba(176,122,58,.25);
  border: 1px solid rgba(176,122,58,.5);
  color: var(--text);
}

/* Print-friendly tweaks (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  body::before { display: none; }
  header, main, footer { background: #fff; border: none; box-shadow: none; }
  a { text-decoration: underline; }
}
 
/* Layout helpers for content structure (when used) */
@media (min-width: 640px) {
  .container { padding-inline: 1rem; }
}
 
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
} 

/* End of stylesheet - ready for production use */