/* Section: Base tokens */
:root{
  --bg: #0b0b12;
  --bg-2: #14101a;
  --rose: #B76E7A;
  --rose-2: #D99BA6;
  --accent: #F5E36B;
  --accent-2: #FDEB83;
  --text: #F7F4E3;
  --muted: #DAD2B3;
  --card: rgba(255,255,255,0.12);
  --card-2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.28);
  --shadow: 0 6px 18px rgba(0,0,0,.25);
  --radius: 14px;
  --radius-sm: 12px;
}

/* Section: Reset & Global */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% -10%, rgba(255,255,255,.08), rgba(255,255,255,0) 40%),
    linear-gradient(135deg, rgba(183,110,121,.25), rgba(246,214,120,.18)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px),
    linear-gradient(to bottom, var(--bg), var(--bg-2) 60%, var(--bg));
  background-blend-mode: screen, overlay, overlay, normal;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }

/* Section: Layout helpers */
.container { max-width: clamp(320px, 88vw, 1100px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Section: Glass panels (fallbacks included) */
.content,
.card,
.product-ad,
.sponsored-page {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
@supports not (backdrop-filter: blur(12px)) {
  .content,
  .card,
  .product-ad,
  .sponsored-page { background: rgba(255,255,255,.86); }
}
.image-frame { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section: Typography scale (mobile-first) */
h1, h2, h3 { margin: 0.25rem 0; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: 1.15; text-align: center; }
h2 { font-size: clamp(1.25rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1rem, 2.6vw, 1.25rem); color: var(--rose); }
p { font-size: clamp(1rem, 1.2vw + 0.9rem, 1.125rem); color: var(--text); margin: 0.5rem 0 1rem; }
blockquote { margin: .75rem 0; padding: .75rem 1rem; border-left: 3px solid var(--accent); background: rgba(255,255,255,.05); border-radius: 6px; }

/* Section: Generic elements */
header, main, footer, nav, aside { padding: 0; }
header { padding-block: 1rem; text-align: center; }
header .meta { font-size: .9rem; color: var(--muted); margin-top: .25rem; }

a, button, .btn, .cta { cursor: pointer; color: var(--text); text-decoration: none; }
a { color: var(--accent); }
a:hover, a:focus-visible { text-decoration: underline; outline: none; }

.btn {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(135deg, rgba(183,110,121,.7), rgba(246,214,120,.6));
  color: #1a1000;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn.secondary {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid rgba(246,214,120,.7);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn:active { transform: translateY(0); }

/* Focus visibility for accessibility */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Section: Lists & tags */
ul, ol { padding-left: 1.25rem; }
li { margin: .25rem 0; }
.tag {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--text);
  background: rgba(246,214,120,.25);
  border: 1px solid rgba(246,214,120,.65);
  margin-right: .25rem;
}

/* Section: Print */
@media print {
  body { background: white; color: black; }
  a { text-decoration: underline; color: black; }
}

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

/* Section: Layout composition for page sections (semantic targets) */
main { padding: 1rem 0; }
article { padding: 0; }

/* Section: Utility tweaks for this layout */
.header-hero { padding: .5rem 0 1rem; }

/* End of stylesheet */