html, body, header, nav, main, article, footer, aside {
  height: auto;
}

:root {
  --bg: #0b0b0f;
  --bg-2: #1a0f15;
  --text: #f9e8f0;
  --muted: #d9b8c8;
  --accent: #ff6f92;      /* coral/pastel pink */
  --accent-2: #ffd6e8;     /* lighter accent for contrasts */
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--text);
  background: 
    radial-gradient(circle at 20% 0%, rgba(255, 107, 135, 0.22), transparent 40%),
    linear-gradient(135deg, rgba(255, 137, 162, 0.15), rgba(13, 6, 8, 0.15) 60%, rgba(255, 214, 237, 0.15) 100%),
    linear-gradient(#0b0b0f 0%, #0b0b0f 100%);
  background-attachment: fixed;
  font-family: ui-system, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Noto Sans", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* subtle noise/scanline pattern (pure CSS) */
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: overlay;
  opacity: 0.25;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
}

header, main, article, aside, footer, nav {
  /* Glassy container look for all major regions */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  margin: 0.75rem auto;
  z-index: 1;
}
header { text-align: center; padding: 1.25rem 1rem; }
main { padding: 1rem 1rem 2rem; }
article { padding: 0; }
footer { padding: 1rem; display: grid; gap: .75rem; grid-template-columns: 1fr; justify-items: start; }

.image-frame {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  background: #000;
  margin: 0.75rem 0;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transform: translateZ(0);
}
.content { padding: .25rem 0 0; }

.container { width: 100%; margin: 0 auto; padding: 0 1rem; }

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

/* Cards / tags */
.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.tag {
  display: inline-block;
  padding: .18rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.16);
  color: var(--text);
}

/* Typography scale (fluid) */
h1, h2, h3 {
  line-height: 1.15;
  margin: .25rem 0 .5rem;
  letter-spacing: .2px;
}
h1 { font-size: clamp(1.75rem, 4.5vw, 3rem); font-weight: 700; color: var(--text); }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); color: var(--text); margin-top: .5rem; }
h3 { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: var(--text); font-weight: 600; margin-top: .6rem; }

p { margin: .5rem 0; color: #f9e6f0; }
blockquote {
  margin: .5rem 0;
  padding: .5rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.08);
  border-radius: 6px;
}
ul { padding-left: 1.25rem; margin: .5rem 0; }
li { margin: .35rem 0; }

/* Links & buttons */
a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }

button, .btn, .cta {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn {
  background: var(--accent);
  color: #111018;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.08); }

.cta { /* alias variant for primary call-to-action if used in markup */ }

/* Interaction focus for non-link controls */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Product ad styling (in footer) */
.product-ad {
  padding: .5rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  display: inline-block;
}
.product-ad a { color: #fff; text-decoration: none; padding: .4rem 0; display: block; }
.product-ad a:hover { text-decoration: underline; }

/* Print styles (basic readability) */
@media print {
  body { color: #000; background: #fff; }
  header, main, article, footer { background: #fff; border: none; border-radius: 0; padding: 0; }
  a { color: #000; text-decoration: underline; }
}

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