:root{
  --bg: #041f1e;
  --bg-2: #0b2a2a;
  --text: #eafffa;
  --muted: #c8fffb;
  --accent: #2ee2c9;     /* mint */
  --accent-2: #ff2fa3;   /* hot pink */
  --outline: #2ee2c9;
  --card-radius: 12px;
  --gap: 1rem;
}

html, body { height: 100%; }
* { box-sizing: border-box; }
html, body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.55;
  background:
    linear-gradient(135deg, rgba(4,31,29,.95) 0%, rgba(6,46,46,.9) 60%, rgba(2,18,20,.95) 100%),
    repeating-linear-gradient(to bottom, rgba(46,226,201,.08) 0 1px, transparent 1px 2px);
  background-attachment: fixed;
}

/* Layout helpers */
.container { max-width: clamp(320px, 90vw, 1100px); margin-inline: auto; padding: 0 1rem; }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card { background: rgba(10, 18, 18, 0.28); border: 1px solid rgba(255,255,255,.20); border-radius: var(--card-radius); padding: 0.75rem; }

a, button, .btn, .cta { cursor: pointer; color: var(--accent-2); text-decoration: none; }
ul, li { margin: 0; padding: 0; list-style: none; }
li { padding-left: 1.15rem; position: relative; }
li::marker { color: var(--accent); }

header, nav, main, article, aside, footer { display: block; }

header { padding: 2rem 0 1rem; text-align: center; }
header h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.08; margin: 0 0 .25rem; letter-spacing: .2px; }
header .meta { color: var(--muted); font-size: 0.95rem; }

nav { margin-top: .5rem; }

nav a { color: var(--accent-2); padding: .25rem .6rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
nav a:hover, nav a:focus { text-decoration: underline; outline: none; }

/* Main content area */
main { padding: 1rem 0 2rem; }
article { max-width: clamp(520px, 85vw, 860px); margin: 0 auto; padding: 1rem; border-radius: calc(var(--card-radius) + 2px); background: rgba(8, 12, 14, 0.22);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@supports not (backdrop-filter: blur(8px)) {
  article { background: rgba(8,12,14,0.70); }
}
.featured-image { width: 100%; display: block; margin: 0 auto 1rem; border-radius: 12px; overflow: hidden; }
.image-frame { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content typography inside article */
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin: .75rem 0 .25rem; }
h3 { font-size: clamp(1.1rem, 2.6vw, 1.25rem); margin: .75rem 0; }
p { font-size: clamp(1rem, 1.8vw, 1.125rem); color: #eefaef; margin: .5rem 0 1rem; }
ol, ul { margin-block: .75rem; padding-left: 1.25rem; }
ol li, ul li { margin: .25rem 0; }

/* Blockquotes */
blockquote { margin: 1rem 0; padding-left: .75rem; border-left: 3px solid var(--accent-2); color: #eafffa; opacity: .95; }

/* Glass panels (fallback and backdrop-filtered) */
.glass { background: rgba(14, 22, 26, 0.22); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--card-radius);
  padding: 0.75rem; box-shadow: 0 6px 20px rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.no-backdrop { background: rgba(14,22,26,.75); border: 1px solid rgba(255,255,255,.25); }

/* Content-specific sections (panels) */
.product-ad { display: block; padding: .75rem; margin: .5rem 0 1rem; border-radius: var(--card-radius);
  background: rgba(2,6,8,.28); border: 1px solid rgba(46,226,201,.5); text-align: center; }
.product-ad a { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(46,226,201,.7);
  background: rgba(46,226,201,.25); color: #eafffa; font-weight: 600; }
.product-ad a:hover { background: rgba(46,226,201,.4); }

/* Link and button treatments (interactive) */
a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 2px; }
button, .btn, .cta {
  font-family: inherit; font-weight: 600; border-radius: 999px; border: 1px solid rgba(46,226,201,.7);
  padding: .65rem 1rem; background: rgba(46,226,201,.25); color: #002019; transition: transform .15s ease, background .2s ease;
}
.btn { background: rgba(46,226,201,.25); color: #001f1a; border-color: rgba(46,226,201,.6); }
.btn:hover { transform: translateY(-1px); background: rgba(46,226,201,.38); }
.btn:focus-visible, .cta:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Utility and small helpers */
.tag { display: inline-block; padding: .15rem .5rem; border-radius: 999px; font-size: .75rem;
  background: rgba(46,226,201,.25); color: #eafffa; border: 1px solid rgba(46,226,201,.6); }

/* Structure-specific selectors (as requested) */
html, body, header, nav, main, article, footer, aside { /* appearance defaults are above; kept empty for brevity */ }

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

/* .content placeholder (for page sections that may use it) */
.content { padding: 0.5rem 0; }

/* Print styles (readable, compact) */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; color: #000; }
  .glass { background: #fff; border: 1px solid #000; box-shadow: none; backdrop-filter: none; }
}

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