:root {
  --bg: #0a0f1a;
  --bg-2: #0b1a2b;
  --text: #eaf4ff;
  --muted: #a9b7d9;
  --accent: #1e6eff;
  --accent-2: #00d4ff;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.15);
  --border: rgba(173,216,255,0.4);
  --shadow: 0 6px 20px rgba(0,0,0,0.25);
  --radius: 14px;
  --focus: 2px solid #fff;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
html { background: transparent; }
body {
  margin: 0;
  color: var(--text);
  background: transparent;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

/* Layered neon background (gradient + scanlines + spiral hint) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 25% 15%, rgba(0,210,255,0.25) 0 40px, transparent 41px),
    radial-gradient(circle at 75% 60%, rgba(0,210,255,0.18) 0 60px, transparent 61px),
    conic-gradient(from 180deg at 50% 50%, rgba(0,210,255,0.18) 0deg, rgba(0,0,0,0) 60deg, rgba(0,210,255,0.18) 120deg, rgba(0,0,0,0) 180deg, rgba(0,210,255,0.18) 240deg, rgba(0,0,0,0) 300deg, rgba(0,210,255,0.18) 360deg),
    linear-gradient(135deg, rgba(6,12,30,0.95), rgba(2,6,20,0.95));
  background-blend-mode: screen, screen, normal;
  opacity: 0.85;
  pointer-events: none;
  animation: drift 60s linear infinite;
}
@keyframes drift { to { transform: rotate(360deg); } }

/* Layout helpers */
.container { width: 100%; max-width: clamp(320px, 92vw, 1100px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Core page sections */
header, main, footer, aside, nav, article { display: block; }
header { padding: 2rem 1rem; text-align: center; }
header h1 { font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem); line-height: 1.08; margin: 0 0 .25rem; letter-spacing: .2px; font-weight: 700; }
header .meta { color: var(--muted); font-size: clamp(0.8rem, 0.5vw + 0.8rem, 1rem); margin-top: .25rem; }

/* Article/content styling */
main { padding: 0 0 2rem; }
article { padding: 0; margin: 0 auto; max-width: clamp(28rem, 92vw, 980px); }
.image-frame, .featured-image { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(180,210,255,.40); box-shadow: 0 6px 20px rgba(0,122,255,.40); margin: 0 auto 1rem; }
.image-frame img, .featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content wrapper for readability inside card-like panels */
.content { padding: 0.75rem 0; }

/* Text styling for headings inside article to establish hierarchy */
h2, h3 { color: var(--text); margin: .75rem 0 .25rem; font-weight: 700; }
h2 { font-size: clamp(1.4rem, 0.8rem + 2.5vw, 2.4rem); line-height: 1.15; }
h3 { font-size: clamp(1.05rem, 0.6rem + 1.8vw, 1.4rem); line-height: 1.25; }

/* Paragraphs and lists */
p { color: var(--muted); font-size: clamp(0.95rem, 0.8vw + 0.95rem, 1.15rem); margin: .5rem 0 1rem; }
ul { margin: 0 0 1rem 1.25rem; padding: 0; }
li { margin: .25rem 0; }

/* Mock "glass" product ad panel in footer */
.product-ad { padding: .9rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: inline-block; min-width: 240px; }
.product-ad h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.product-ad a { display: inline-block; padding: .5rem 1rem; border-radius: 999px; text-decoration: none; color: white; background: linear-gradient(#0c2f6b, #0b1f4a); border: 1px solid rgba(255,255,255,.5); }

/* Links and interactive elements */
a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: #9de7ff; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Button variants (solid and outline) */
.btn, .cta { display: inline-block; padding: .75rem 1.25rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); text-decoration: none; font-weight: 600; letter-spacing: .2px; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; }
.btn { background: linear-gradient(#0f43a1, #0b2a7a); color: #eaffff; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Outline variant */
.btn--outline { background: transparent; color: var(--text); border: 1px solid rgba(30,144,255,.8); }
.btn--outline:hover { background: rgba(30,144,255,.08); }

/* Utility classes for layout */
.container { margin: 0 auto; padding: 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 1rem; }

/* Glass panel fallback without backdrop-filter */
@supports not (backdrop-filter: blur(8px)) and not (-webkit-backdrop-filter: blur(8px)) {
  .card, .product-ad, .image-frame { background: rgba(255,255,255,.14); }
  .image-frame { border-color: rgba(180,210,255,.6); }
  .product-ad { background: rgba(255,255,255,.14); }
}

/* Typography helpers for responsive rhythm on body copy */
p { line-height: 1.6; }

/* Print-friendly adjustments */
@media print {
  body { color: #000; background: #fff; }
  a { color: #00f; text-decoration: underline; }
  .image-frame, .featured-image { page-break-inside: avoid; }
}
 
/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
} 

/* Specific selectors required by prompt (even if not all used by HTML) */
html, body, header, nav, main, article, footer, aside { }
.image-frame, .image-frame img { }
.content { }
.product-ad { }
a, button, .btn, .cta { }
ul, li { }
.container, .grid, .card, .tag { }