/* Base */ 
:root{
  --bg: #062a1f;
  --bg-2: #041f1b;
  --text: #eafff0;
  --muted: #a7d8c6;
  --accent: #2bd4ff;
  --accent-2: #1e3a8a;
  --glass: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.25);
  --shadow: 0 8px 20px rgba(0,0,0,.25);
}
html, body { height: 100%; }
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
html, body { margin: 0; color: var(--text); background: transparent; }
body {
  min-height: 100%;
  color: var(--text);
  background: linear-gradient(135deg, rgba(0,120,80,.25), rgba(0,40,120,.25)),
              linear-gradient(#f7ecd1 0%, #e8d6a7 40%, #d6c07a 100%);
  position: relative;
  z-index: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.04) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Layout helpers */
.container { max-width: clamp(28rem, 86vw, 1100px); margin: 0 auto; padding: 0 1rem; }

/* Glass panels */ 
.glass, article {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
@supports not (backdrop-filter: blur(10px)) {
  .glass, article { background: rgba(255,255,255,.16); }
}

/* Header & typography */
header {
  text-align: center;
  padding: 1.25rem 1rem;
  margin: 1rem auto;
}
header h1 {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.8rem);
  line-height: 1.08;
  margin: .25rem 0 .5rem;
  color: var(--text);
}
header .meta { font-size: .85rem; color: var(--muted); }

/* Navigation */
nav { margin-top: .5rem; }
nav a {
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15);
  color: var(--text);
  text-decoration: none;
}
nav a:hover, nav a:focus-visible { text-decoration: underline; outline: none; }

/* Main content */
main { padding: 0; }
article {
  max-width: 70ch;
  margin: 1rem auto;
  /* glass styling applied via .glass/ article rules */
}
.featured-image { margin: 1rem 0; }
.image-frame { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.15);
  box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Text content */
h2, h3, h4 { color: var(--text); }
p { color: rgba(234,245,238,.95); margin: .6rem 0; }
ul { margin: .5rem 0 1rem; padding-left: 1.25rem; }
li { margin: .25rem 0; }

/* Section blocks in footer/ad areas */
.product-ad {
  display: inline-block; margin: .5rem; padding: .8rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.product-ad a { color: var(--text); text-decoration: none; }
.product-ad a:hover, .product-ad a:focus-visible { text-decoration: underline; color: var(--accent-2); }

footer { padding: 1rem; text-align: center; color: var(--muted); }
.sponsored-page { display: inline-block; margin: .5rem; padding: .8rem 1rem;
  border-radius: 12px; background: rgba(0,0,0,.12); border: 1px solid rgba(255,255,255,.25); }

/* Utilities & components */
a, button, .btn, .cta { font-family: inherit; color: inherit; text-decoration: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { padding: 1rem; border-radius: 12px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.tag { display: inline-block; padding: .15rem .5rem; border-radius: 999px; font-size: .75rem;
  background: rgba(43,212,255,.25); color: #eaffff; border: 1px solid rgba(43,212,255,.5); }

/* Buttons & CTAs */
.btn { display:inline-block; padding:.7rem 1rem; border-radius:8px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(43,212,255,.9); color: #041100; font-weight:600;
  cursor: pointer; transition: transform .15s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); background: rgba(43,212,255,1); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn--outline { background: transparent; border: 1px solid rgba(43,212,255,.9); color: var(--text); }

/* Interactive links accessibility */
a:hover, a:focus-visible { text-decoration: underline; outline: none; }

/* Content wrapper helper (for potential .content usage) */
.content { padding: .5rem 0; }

/* Responsive tweaks */
@media (max-width: 900px) {
  .container { max-width: 90vw; }
  article { padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  body { background: #fff; color: #000; }
  article { background: transparent; border: none; box-shadow: none; }
  a, .btn { color: #000; text-decoration: underline; }
}
aside { display: none; }