:root {
  /* Palette: peach + pastel blue cyberpunk vibe with glassy surfaces */
  --bg: #0b0f14;
  --bg-2: #11171e;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.14);
  --text: #e8f6ff;
  --muted: #a8b8cc;
  --accent: #4bd7ff;
  --accent-2: #ffb58a;
  --card: rgba(14, 20, 32, 0.66);
  --border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 24px rgba(0,0,0,.5);
  --ring: 0 0 0 3px rgba(75, 215, 255, .75);
}

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

html { color-scheme: dark; }
html, body { height: 100%; }

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  font-size: clamp(14px, 1.6vw, 16px);
  min-height: 100dvh;

  /* Layered background: gradient + subtle honeycomb-like pattern + scanlines (pure CSS) */
  background:
    linear-gradient(135deg, rgba(251,204,178,.25), rgba(122,203,255,.25) 60%, rgba(11,15,20,.95) 100%),
    linear-gradient(#000 0 0);
  background-blend-mode: normal, overlay;
  /* subtle peach hexagonal hint via repeating gradients (lightweight) */
  background-image:
    linear-gradient(30deg, rgba(251,204,178,.25) 12.5%, transparent 12.5%),
    linear-gradient(-30deg, rgba(251,204,178,.25) 12.5%, transparent 12.5%),
    linear-gradient(0deg, rgba(0,0,0,.08), rgba(0,0,0,.08));
  background-size: 40px 70px, 40px 70px, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  /* overlay for honeycomb texture (subtle) */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, rgba(251,204,178,.25) 12.5%, transparent 12.5%),
    linear-gradient(-30deg, rgba(251,204,178,.25) 12.5%, transparent 12.5%);
  background-size: 40px 70px, 40px 70px;
  mix-blend-mode: overlay;
  opacity: .5;
}

body::after {
  /* light scanlines for texture (GPU-friendly) */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  opacity: .8;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.container {
  width: min(90%, 1100px);
  margin-inline: auto;
  padding: 1rem;
}

/* Header, main, footer glass panels */
header, main, footer {
  background: rgba(8, 12, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: var(--shadow);
  margin: 1rem auto;
}

header { padding-bottom: 0.25rem; }
header h1 { font-size: clamp(1.8rem, 2.8vw, 3rem); margin: .25rem 0 .35rem; line-height: 1.05; color: var(--text); }
header .meta { color: var(--muted); font-size: clamp(0.8rem, 0.6vw, 0.95rem); }

main { padding-top: .75rem; }
article { max-width: 760px; margin: 0 auto; padding: 0; }

.featured-image { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 8px 24px rgba(0,0,0,.45); margin: 0 0 1rem; background: #000; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin: .75rem 0 .25rem; color: var(--text); }

p { color: var(--text); margin: 0 0 1rem; }

blockquote { margin: .5rem 0 1rem; padding: .5rem 1rem; border-left: 4px solid rgba(75,215,255,.8); background: rgba(0,0,0,.15); border-radius: 6px; color: #eaf6ff; }

/* Lists: accessible, readable on glass */
ul { margin: 0 0 1rem 1.25rem; padding: 0; color: var(--text); }
li { margin: .25rem 0; }

/* Glass card utility */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: .75rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }

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

/* Content helper (section alignments) */
.content { padding: 0; }

/* Product ad / sponsor blocks in footer */
.product-ad { display: block; padding: .6rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(18,25,40,.6); text-align: center; }
.product-ad a { display: inline-block; padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: var(--text); text-decoration: none; }

/* Footer sections grid (responsive) */
footer { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 600px) {
  footer { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .sponsored-page { justify-self: end; }
}
.sponsored-page { text-align: center; }

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

.tag { display: inline-block; padding: .25rem .5rem; border-radius: 999px; font-size: .75rem; background: rgba(75,215,255,.25); border: 1px solid rgba(75,215,255,.6); color: #eaffff; }

/* Buttons & interactive elements */
.btn, .cta, a.btn { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover, .cta:hover, a.btn:hover { transform: translateY(-1px); background: rgba(0,0,0,.35); }
.btn:active, .cta:active, a.btn:active { transform: translateY(0); }

/* Solid and outline variants (modify as needed in HTML classes) */
.btn--solid { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.38); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.6); }

/* Focus visibility for accessibility */
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* Form elements (basic) */
input, select, textarea, button { font: inherit; color: inherit; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); padding: .5rem; border-radius: 6px; }

/* Print styles for readability */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: #fff; border: none; border-radius: 0; box-shadow: none; }
  a { color: #000; text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
 
/* Section headers (placeholders to satisfy "section headers" comment rule) */
/* Section: Base typography & layout */
 
/* Section: Theme tokens & color vars */

/* Section: Interaction & accessibility */
