:root {
  --bg: #0b0007;
  --bg-2: rgba(255, 0, 0, 0.28);
  --text: #eaf2ff;
  --muted: #a7aab6;
  --accent: #e6002a;
  --accent-2: #ffd400;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --gap: 1rem;
  --focus: 0 0 0 3px rgba(230, 238, 255, 0.9);
}

html, body { height: 100%; }

* { box-sizing: border-box; }

html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
}

body {
  margin: 0;
  color: var(--text);
  min-height: 100dvh;
  background: #06060a;
  position: relative;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layered background: gradient + subtle noise/scanlines (pure CSS) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 85% -5%, rgba(255, 40, 40, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, rgba(200, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 40%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 2px);
  background-blend-mode: overlay, overlay, normal;
  opacity: 0.75;
  z-index: -1;
  pointer-events: none;
  animation: bg-pan 12s linear infinite;
}
@keyframes bg-pan { to { transform: translateY(-600px); } }

header {
  text-align: center;
  padding: 1.25rem 1rem;
}

header h1 {
  margin: 0;
  font-size: clamp(1.25rem, 4.5vw, 2rem);
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* Main content centering + max layout width */
main {
  display: grid;
  place-items: center;
  padding: 1rem;
}

article { width: min(1080px, 92vw); }

/* Image frame with aspect-ratio, glow, border, and cover-fit image */
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #111;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  will-change: filter;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.25);
  mix-blend-mode: screen;
}

/* Glass panels look: soft frosted panels with fallback vividity */
.card, .product-ad, .sponsored-page {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.card { padding: 1rem; }

/* Layout utilities and components */
.container { width: min(1200px, 92vw); margin-inline: auto; }

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

.tag {
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  background: rgba(255,255,255,0.15);
  color: white;
}

ul, li { margin: 0; padding: 0; list-style: none; }

/* Typography scale for body text and headings to support fluid typography */
p, li, dd { font-size: clamp(0.95rem, 1rem + 0.4vw, 1.05rem); line-height: 1.5; }

/* Link and button accessibility / interaction */
a, button, .btn, .cta {
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
  outline: none;
}
a:hover, a:focus { text-decoration: underline; text-underline-offset: 2px; }

/* Focus treatments for accessibility (focus-visible) */
:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
  border-radius: 6px;
}
a:focus-visible, button:focus-visible { outline: none; }

/* CTA button styles (solid and outline variants) */
.btn {
  display: inline-block;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  border: 1px solid rgba(0,0,0,0.15);
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { background: #c30025; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.outline, .cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  padding: .85rem 1.25rem;
}

/* Simple responsive tweak for smaller widths */
@media (max-width: 700px) {
  .product-ad, .sponsored-page { width: auto; padding: .65rem .9rem; }
  header { padding: .8rem 1rem; }
  header h1 { font-size: 1.4rem; }
}

/* Print-friendly adjustments */
@media print {
  body { background: white; color: black; }
  header, main, footer { padding: 0; }
  .image-frame { border: none; box-shadow: none; }
  a, button { text-decoration: none; color: inherit; }
}
  
/* Structural element defaults to satisfy selector coverage */
html, body, header, nav, main, article, footer, aside {
  /* no-op rules to ensure selectors are styled in production context */
}