:root {
  --bg: #031018;
  --bg-2: #04131a;
  --text: #eaffff;
  --muted: #b6e3ea;
  --accent: #2ff6e3;        /* bright turquoise */
  --accent-2: #f2cbdc;      /* powder rose */
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.28);
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0,0,0,.28);
}

/* Section: Baseline */
html, body { height: 100%; }
* { box-sizing: border-box; }
html { font-size: 16px; }
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;
  min-height: 100%;
  background: 
    radial-gradient(circle at 20% 0%, rgba(0,255,230,.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(0,180,200,.15) 0%, transparent 40%),
    linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.65) 100%),
    var(--bg);
  background-blend-mode: screen, screen, normal, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 2px, 2px 100%;
  mix-blend-mode: overlay;
  opacity: .25;
}

/* Section: Layout helpers */
.container {
  max-width: clamp(320px, 90vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  padding: .85rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
}
.tag {
  display:inline-block;
  padding: .2em .6em;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--text);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.28);
}
ul, li { margin: 0; padding: 0; list-style: none; }

/* Section: Global elements styling (the HTML uses these) */
html, body, header, nav, main, article, aside, footer {
  /* semantic scaffolding helpers; kept lean for performance */
}

/* Section: Glass panels (fallbacks included) */
header,
nav,
main,
footer,
.aside,
.section,
.product-ad,
.sponsored-page { 
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
@supports not (backdrop-filter: blur(10px)) {
  header, nav, main, footer, .section { background: rgba(255,255,255,.08); }
}
header { padding: 1rem 0; text-align: center; }
header h1 { margin: .25rem 0 0; font-size: clamp(1.6rem, 4vw, 2.75rem); line-height: 1.15; color: var(--text); }

/* Section: Hero / content area */
main { padding: 1rem 0; display: block; }
.image-frame {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  margin: 0 auto;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.content { padding: 1rem; color: var(--text); }

/* Section: Links & actions */
a, button, .btn, .cta {
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
a { color: var(--accent); }
a:hover, a:focus-visible { text-decoration: underline; outline: none; }

.btn, .cta {
  padding: .6em .95em;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.28);
  display: inline-block;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover, .cta:hover { background: rgba(0,0,0,.38); transform: translateY(-1px); }
.btn:focus-visible, .cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Button variants */
.btn.primary { background: linear-gradient(135deg, var(--accent), #00ffe0); border: 0; color: #04201f; }
.btn.secondary { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32); color: var(--text); }

/* Section: Utilitys */
footer { padding: 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; align-items: stretch; }
.product-ad, .sponsored-page { display:flex; align-items:center; justify-content:center; padding: .6rem; }
.product-ad a, .sponsored-page a { display:block; width:100%; text-align:center; color: var(--text); padding: .6rem; border-radius: 12px; }

/* Typography & readability */
h1, h2, h3, h4, h5 { color: var(--text); }
p { color: var(--muted); margin: .5rem 0; }

/* Section: Print */
@media print {
  body { color: #000; background: #fff; }
  a { text-decoration: none; }
}

/* Section: Responsive helpers */
@media (max-width: 720px) {
  .container { padding-inline: 0.75rem; }
  header { padding: .75rem 0; }
  .image-frame { border-radius: 12px; }
}

/* Section: Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}