/* Base */
:root {
  --bg: #0b0f14;
  --bg-2: #14171b;
  --text: #ecf0f5;
  --muted: #b6bdc9;
  --accent: #FF6A00;       /* burnt orange */
  --accent-2: #c0c0c0;      /* gray accent */
  --glass: rgba(255,255,255,.08);
  --glass-2: rgba(255,255,255,.18);
  --shadow: 0 10px 28px rgba(0,0,0,.28);
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  line-height: 1.4;
  background:
    linear-gradient(135deg, rgba(18,18,18,.95), rgba(14,14,14,.95)),
    radial-gradient(circle at 20% 0%, rgba(255,106,0,.18) 0%, rgba(255,106,0,0) 40%),
    repeating-linear-gradient(45deg, rgba(255,106,0,.08) 0 2px, transparent 2px 6px),
    #0a0a0a;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { background-attachment: scroll; }
  * { animation: none !important; transition: none !important; transform: none !important; }
}

/* Layout helpers */
.container { width: 100%; max-width: clamp(320px, 90vw, 1100px); padding-inline: 1rem; margin-inline: auto; }

/* Sections */
header, main, article, aside, footer { display: block; }

/* Typography helpers */
h1 { font-weight: 800; font-size: clamp(1.6rem, 2.8vw + 1rem, 2.6rem); line-height: 1.12; letter-spacing: .2px; margin: .25rem 0 0; }
p { margin: .5rem 0; color: var(--muted); }
a { color: var(--accent); text-decoration: none; outline: none; }
a:hover { text-decoration: underline; }

/* Glass panels (fallback present) */
.glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.no-backdrop {
  background: rgba(20,20,20,.92);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.section-title { font-size: 0.95rem; color: var(--muted); margin: 0 0 .25rem; }

/* Image framing */
.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
  background: #111;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.image-frame:hover img { transform: scale(1.03); }

/* Structure */
header {
  display: grid;
  gap: .5rem;
  justify-items: center;
  padding: 1rem 1rem;
  margin: 1rem auto;
  width: min(1100px, 92%);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
header h1 { text-align: center; margin-bottom: .25rem; }
nav { display: flex; gap: .5rem; align-items: center; justify-content: center; }

/* Main area */
main { padding: 0 1rem 2rem; display: grid; place-items: center; }
article { width: 100%; max-width: clamp(320px, 90vw, 900px); }

/* Special sections in footer as cards */
.product-ad, .sponsored-page {
  display: block;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}
.product-ad { color: var(--text); }
.sponsored-page { color: var(--text); }

/* Footer layout */
footer {
  width: min(1100px, 92%);
  margin: 2rem auto 2rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 720px) {
  footer { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
footer .product-ad, footer .sponsored-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 72px;
  text-decoration: none;
}
footer p { text-align: center; margin: 0; padding: 0.25rem 0; color: var(--muted); }

/* Buttons and links variants */
.btn, .cta {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: .75rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s;
  text-align: center;
}
.btn { background: linear-gradient(#ff7a2e, #e05600); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.btn.secondary {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,.4);
}
.btn.secondary:hover { background: rgba(255,255,255,.08); }

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

.card { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }

/* Lists */
ul { margin: .5rem 0; padding: 0 0 0 1.25rem; }
li { margin: .25rem 0; }

/* Content area */
.content { padding: .75rem; border-radius: 12px; }

/* Accessibility helpers for focus rings on interactive elements */
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: transparent; box-shadow: none; }
}
