/* Base */
:root{
  --bg: #0b1020;
  --bg-2: #0a1220;
  --text: #e9f0ff;
  --muted: #a6b6d6;
  --accent: #f3ff2e;          /* laser lemon */
  --accent-2: #e0ff4a;
  --glass: rgba(255,255,255,0.12);
  --glass-2: rgba(255,255,255,0.20);
  --border: rgba(255,255,255,0.28);
}
*,
*::before,
*::after{ box-sizing: border-box; }
html, body{ height:100%; }
html{ color-scheme: dark; }
html, body{
  margin:0;
  padding:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: 
    linear-gradient(135deg, rgba(10,14,40,0.95), rgba(6,10,28,0.95)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px),
    linear-gradient(to bottom right, rgba(255,255,255,0.03), rgba(255,255,255,0.0) 60%);
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width:100%; display:block; }

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

/* Glass panels (fallback included) */
header, main, footer, .card, .image-frame, .product-ad{
  background: rgba(8,12,28,0.40);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
header, main, footer{ padding: 1rem; }

/* Header styling */
header{ display:block; padding: 1.25rem; margin-block: 1rem; }
header h1{ font-size: clamp(1.4rem, 2vw + 1rem, 2.4rem); line-height: 1.15; margin: .25rem 0 0; letter-spacing: .2px; }
header .meta{ color: var(--muted); font-size: clamp(0.8rem, 0.6vw + 0.8rem, 1rem); margin-top: .25rem; }

/* Main + Article */
main{ padding: 1rem 0; }
article{ padding: 0; }

/* Featured image / image frame (covering both .image-frame and .featured-image) */
.image-frame, .featured-image{ position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,0.28); background: #000; }
.image-frame{ aspect-ratio: 16/9; }
.image-frame img, .featured-image img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content utility */
.content{ padding: 0; color: var(--text); }

/* Typography hierarchy */
h2{ font-size: clamp(1.25rem, 1.5vw + 0.6rem, 2rem); margin: .75rem 0 .5rem; color: #fff; }
h3{ font-size: clamp(1.05rem, 1vw + 0.4rem, 1.35rem); margin: .5rem 0; color: #eaf2ff; }
p{ margin: .5rem 0 1rem; }

/* Lists */
ul{ padding-left: 1.25rem; margin: .5rem 0 1rem; }
li{ margin: .25rem 0; }

/* Product ad / footer callouts */
.product-ad{ padding: 1rem; text-align: center; margin: 1rem 0; }
.product-ad h3{ margin: 0 0 .25rem; font-size: 1.05rem; }
.product-ad a{ display:inline-block; padding:.6rem 1rem; border-radius: 999px; border:1px solid rgba(255,255,255,0.4); color: var(--text); text-decoration: none; background: rgba(240,240,60,0.15); }

/* Links / interactive elements */
a, button, .btn, .cta{ color: var(--text); text-decoration: none; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease; outline: none; }
a:hover, a:focus{ text-decoration: underline; outline: none; color: var(--accent); }
a:focus-visible, button:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.btn{ display:inline-block; padding: .68rem 1.2rem; border-radius: 999px; border: 1px solid var(--border); background: var(--accent); color: #000; font-weight: 700; }
.btn:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn--outline{ background: transparent; color: var(--text); border: 1px solid var(--border); }

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

/* Cards (glass panels) */
.card{ padding: .9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }

/* Tags */
.tag{ display:inline-block; padding:.25rem .5rem; border-radius:999px; font-size:.75rem; background: rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.25); }

/* Footer */
footer{ padding: 1rem; text-align: center; color: var(--muted); }

/* Accessibility / motion */
@media (prefers-reduced-motion: reduce){
  * { transition: none !important; transform: none !important; }
  .btn{ transition: none; }
}
@media print{
  html, body{ background: #fff; color: #000; }
  header, main, footer{ background: transparent; border: none; box-shadow: none; }
}
