/* Tokens & Color System */
:root {
  --bg: #0b0b12;
  --bg-2: #14101d;
  --text: #e9e0e6;
  --muted: #c58aa3;
  --accent: #ff1a9f;        /* hot pink */
  --accent-2: #e6a97a;       /* rose gold */
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(255, 26, 159, 0.6);
  --gap: 1rem;
  color-scheme: dark;
}

/* Section: Base & Layout */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background:
    /* Gradient base (cyber noir) */
    linear-gradient(135deg, rgba(0,0,0,.95) 0%, rgba(12,6,20,.92) 60%, rgba(10,6,18,.96) 100%),
    /* Subtle hot-pink lava crack pattern (pure CSS) */
    repeating-linear-gradient(to bottom, rgba(255,0,140,.08) 0 2px, transparent 2px 4px),
    /* faint rose-gold glow accents */
    linear-gradient(120deg, rgba(230,168,122,.15), rgba(255,0,140,.08) 60%, transparent 60%);
  min-height: 100%;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layered noise/scanlines approximated with subtle overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 0, 140, .15), transparent 25px),
    radial-gradient(circle at 80% 20%, rgba(255, 170, 200, .08), transparent 30px);
  mix-blend-mode: overlay;
  opacity: .25;
}

/* Container utilities */
.container {
  width: 100%;
  max-width: clamp(320px, 90vw + 0px, 1120px);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid & Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .card { background: rgba(255,255,255,.12); }
}
.tag {
  display:inline-block;
  padding: .2em .6em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.image-frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.5); background: #000; }
.image-frame img { display: block; width: 100%; height: auto; object-fit: cover; }

/* Section: Typography & hero feel */
header, main, article, footer { display: block; }
header { text-align: center; padding: 2rem 1rem 1.5rem; }
header h1 {
  font-size: clamp(1.8rem, 4vw + 0.5rem, 3.8rem);
  line-height: 1.06;
  margin: 0 0 .25rem;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 26, 159, 0.9);
}
header .meta { color: var(--muted); font-size: clamp(.9rem, 1.5vw, 1.05rem); }

/* Main content spacing */
main { padding: 1rem 0 2rem; }
article { max-width: 72ch; margin: 0 auto; padding: 0 0.5rem; }
article h2 {
  font-size: clamp(1.25rem, 2vw + 1rem, 2rem);
  color: #fff;
  margin: .75rem 0 .25rem;
}
p { color: #f6e7f2; line-height: 1.6; margin: 0 0 1rem; }
blockquote {
  margin: .75rem 0; padding: .75rem 1rem;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  color: #fff;
}
ul { padding-left: 1.25rem; margin: .25rem 0 1rem; color: #ffd9f3; }
li { margin: .25rem 0; }

/* Subtle content helpers */
.content { background: var(--glass); border: 1px solid var(--glass-border); padding: .95rem; border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Newsletter / product-ad styles */
.product-ad {
  display: inline-block;
  margin: .25rem;
  padding: .6rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease;
}
.product-ad a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.product-ad:hover { transform: translateY(-1px); }

/* Links & buttons (interactive) */
a, button, .btn, .cta {
  color: #fff;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}
a:hover { text-decoration: underline; text-underline-offset: 2px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff4aa7);
  color: #fff;
  font-weight: 600;
  transition: transform .2s ease, filter .2s ease;
  box-shadow: 0 6px 14px rgba(255,0,140,.5);
}
.btn.secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  box-shadow: none;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

/* Utility helpers (dark-mode-friendly tweaks) */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f0f6;
    --bg-2: #ffffff;
    --text: #1b1b1b;
    --muted: #555;
    --accent: #e4007a;
    --accent-2: #c89a6f;
    --glass: rgba(0,0,0,.07);
    --glass-border: rgba(0,0,0,.15);
    --shadow: 0 6px 20px rgba(0,0,0,.08);
  }
  body { color-scheme: light; background: #fff; }
  header h1 { text-shadow: none; color: #1a1a1a; }
  .btn { background: linear-gradient(135deg, var(--accent), #ff6b9d); }
  .image-frame { border-color: rgba(0,0,0,.15); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .image-frame { page-break-inside: avoid; }
}
