:root {
  --bg: #041c1a;
  --bg-2: #062522;
  --text: #e8fff3;
  --muted: #b8e6d8;
  --accent: #2af5d1;      /* mint city glow */
  --accent-2: #ff7a1f;    /* sunset orange */
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.25);
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  --focus: 2px solid #9ffbd8;
  --chip: rgba(0,0,0,0.25);
}

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

html, body { height: 100%; }
html { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; color: var(--text); }
body {
  margin: 0;
  min-height: 100%;
  line-height: 1.55;
  background: 
    linear-gradient(135deg, rgba(5,26,22,.95) 0%, rgba(3,38,28,.95) 60%, rgba(4,20,16,.95) 100%),
    radial-gradient(circle at 20% 10%, rgba(46, 241, 213, .08) 0 40%, transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(255, 122, 31, .08) 0 40%, transparent 40%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, rgba(0,0,0,0) 1px 2px);
  background-blend-mode: overlay, overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }
:focus-visible { outline: var(--focus); outline-offset: 4px; border-radius: 4px; }

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

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

header {
  text-align: center;
  padding-block: clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

header h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 0.25rem auto 0.75rem;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--text);
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

header .meta {
  color: var(--muted);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  margin-top: 0.25rem;
}

nav {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.25);
}

nav a {
  padding: 0.4rem 0.8rem;
  color: var(--text);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15);
  text-decoration: none;
  font-weight: 600;
}
nav a:hover { background: rgba(0,0,0,.3); text-decoration: underline; }

main { padding: 1rem 0 2rem; }

article { display: grid; gap: 1rem; }

.featured-image,
.image-frame { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.featured-image { aspect-ratio: 16 / 9; width: 100%; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.image-frame { aspect-ratio: 16 / 9; width: 100%; }

.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.content { 
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  color: var(--text);
}
@supports not (backdrop-filter: blur(8px)) {
  .content { background: rgba(255,255,255,.12); }
}

h2 {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  margin: 1rem 0 .5rem;
  color: var(--text);
}
p { color: #eaf7f0; margin: 0.4rem 0 0.9rem; }
ul { padding-left: 1.1rem; margin: 0.6rem 0 1rem; color: #eaf7f0; }
li { margin: 0.25rem 0; }

blockquote {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(0,0,0,.15);
  border-radius: 6px;
}

ul, li { list-style: disc; }

.product-ad, .sponsored-page {
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
  display: block;
}
.product-ad a, .sponsored-page a { display: inline-block; color: var(--text); text-decoration: none; padding: .4rem .8rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.15); }
.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }

footer { padding: 1.25rem 1rem; color: var(--muted); border-top: 1px solid rgba(255,255,255,.15); background: rgba(2, 18, 15, 0.25); }

footer > section { display: inline-block; vertical-align: top; width: calc(50% - 1rem); margin: .5rem; }
footer p { text-align: center; color: var(--muted); margin: .5rem 0 0; }

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

.btn, .cta {
  display: inline-block;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.14);
  color: #041714;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); text-decoration: underline; }
.btn.primary {
  background: linear-gradient(135deg, var(--accent-2), #ffb36a);
  color: #041714;
  border: 1px solid rgba(255,255,255,.5);
}
.btn:focus-visible, .cta:focus-visible { outline: 2px solid #9ffbd8; outline-offset: 2px; }

@media (min-width: 720px) {
  main { padding: 1.25rem 0 2rem; }
  article { padding: 0 0; grid-auto-rows: auto; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
  footer > section { width: calc(50% - 1rem); }
}

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

@media print {
  html, body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  header, nav, main, article, footer { display: block; }
  .content { background: transparent; border: 0; box-shadow: none; padding: 0; }
}