/* ============================================================
   Bloggerz — Apple-Inspired Dark Editorial Design System
   Self-hosted static CSS (zero JS, zero CDN, SRI-clean).
   Replaces the missing /assets/tailwind.js runtime compiler.
   ============================================================ */

/* ---------- 1. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #000000;
    color: #f5f5f7;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button { cursor: pointer; background: none; border: none; }

::selection { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ---------- 2. Images (fixes "huge image" problem) ---------- */
img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }
.object-top { object-position: top; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }

/* ---------- 3. Width & Height utilities ---------- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-3 { width: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-36 { width: 9rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-64 { width: 16rem; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }

.min-h-full { min-height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-full { max-width: 100%; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* ---------- 4. Spacing: margin / padding ---------- */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; } .mt-20 { margin-top: 5rem; } .mt-24 { margin-top: 6rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; } .mb-20 { margin-bottom: 5rem; } .mb-24 { margin-bottom: 6rem; }
.ml-auto { margin-left: auto; } .mr-auto { margin-right: auto; }
.ml-1 { margin-left: 0.25rem; } .ml-2 { margin-left: 0.5rem; } .ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; } .mr-1 { margin-right: 0.25rem; } .mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; } .mr-4 { margin-right: 1rem; }
.-mt-1 { margin-top: -0.25rem; } .-mt-4 { margin-top: -1rem; } .-mb-4 { margin-bottom: -1rem; }

.p-0 { padding: 0; } .p-1 { padding: 0.25rem; } .p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; } .p-10 { padding: 2.5rem; }
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-0 { padding-top: 0; } .pt-1 { padding-top: 0.25rem; } .pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; } .pt-4 { padding-top: 1rem; } .pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; } .pt-10 { padding-top: 2.5rem; } .pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; } .pt-20 { padding-top: 5rem; } .pt-24 { padding-top: 6rem; }
.pt-28 { padding-top: 7rem; } .pt-32 { padding-top: 8rem; }
.pb-2 { padding-bottom: 0.5rem; } .pb-4 { padding-bottom: 1rem; } .pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; } .pb-10 { padding-bottom: 2.5rem; } .pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; } .pb-20 { padding-bottom: 5rem; } .pb-24 { padding-bottom: 6rem; }
.pl-3 { padding-left: 0.75rem; } .pl-7 { padding-left: 1.75rem; } .pr-3 { padding-right: 0.75rem; }

/* ---------- 5. Flexbox ---------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.gap-0 { gap: 0; } .gap-1 { gap: 0.25rem; } .gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; } .gap-2\.5 { gap: 0.625rem; } .gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; } .gap-10 { gap: 2.5rem; } .gap-12 { gap: 3rem; }

.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-1\.5 > * + * { margin-left: 0.375rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-5 > * + * { margin-left: 1.25rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ---------- 6. Grid ---------- */
.grid { display: grid; }
.inline-grid { display: inline-grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }

/* ---------- 7. Display / visibility ---------- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }
.contents { display: contents; }

/* ---------- 8. Typography ---------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }

.font-thin { font-weight: 100; } .font-light { font-weight: 300; }
.font-normal { font-weight: 400; } .font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-line { white-space: pre-line; }
.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 9. Text colors ---------- */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-transparent { color: transparent; }
.text-current { color: currentColor; }
.text-\[\#f5f5f7\] { color: #f5f5f7; }
.text-\[\#86868b\] { color: #86868b; }
.text-\[\#6e6e73\] { color: #6e6e73; }
.text-white\/50 { color: rgba(255,255,255,0.5); }
.text-white\/60 { color: rgba(255,255,255,0.6); }
.text-white\/70 { color: rgba(255,255,255,0.7); }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-purple-400 { color: #c084fc; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-emerald-200 { color: #a7f3d0; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-rose-200 { color: #fecdd3; }
.text-rose-300 { color: #fda4af; }
.text-rose-400 { color: #fb7185; }
.text-rose-500 { color: #f43f5e; }
.text-neutral-200 { color: #e5e5e5; }
.text-neutral-300 { color: #d4d4d4; }
.text-neutral-400 { color: #a3a3a3; }
.text-neutral-500 { color: #737373; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-orange-400 { color: #fb923c; }
.text-sky-400 { color: #38bdf8; }

/* ---------- 10. Background colors ---------- */
.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000000; }
.bg-white { background-color: #ffffff; }
.bg-\[\#000000\] { background-color: #000000; }
.bg-\[\#1d1d1f\] { background-color: #1d1d1f; }
.bg-\[\#f5f5f7\] { background-color: #f5f5f7; }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }
.bg-black\/60 { background-color: rgba(0,0,0,0.6); }
.bg-black\/75 { background-color: rgba(0,0,0,0.75); }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.bg-white\/30 { background-color: rgba(255,255,255,0.3); }
.bg-white\/\[0\.03\] { background-color: rgba(255,255,255,0.03); }
.bg-white\/\[0\.04\] { background-color: rgba(255,255,255,0.04); }
.bg-white\/\[0\.06\] { background-color: rgba(255,255,255,0.06); }
.bg-white\/\[0\.07\] { background-color: rgba(255,255,255,0.07); }
.bg-white\/\[0\.08\] { background-color: rgba(255,255,255,0.08); }
.bg-neutral-200 { background-color: #e5e5e5; }
.bg-neutral-800 { background-color: #262626; }
.bg-neutral-900 { background-color: #171717; }
.bg-blue-500\/10 { background-color: rgba(59,130,246,0.1); }
.bg-blue-600\/15 { background-color: rgba(37,99,235,0.15); }
.bg-purple-600\/10 { background-color: rgba(147,51,234,0.1); }
.bg-purple-600\/15 { background-color: rgba(147,51,234,0.15); }
.bg-emerald-400\/10 { background-color: rgba(52,211,153,0.1); }
.bg-emerald-500\/10 { background-color: rgba(16,185,129,0.1); }
.bg-emerald-950\/40 { background-color: rgba(2,44,34,0.4); }
.bg-rose-500\/10 { background-color: rgba(244,63,94,0.1); }
.bg-rose-950\/40 { background-color: rgba(76,5,25,0.4); }
.bg-amber-500\/10 { background-color: rgba(245,158,11,0.1); }

/* ---------- 11. Borders ---------- */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }
.border-solid { border-style: solid; }
.border-dashed { border-style: dashed; }
.border-none { border-style: none; }
.border-transparent { border-color: transparent; }
.border-white { border-color: #ffffff; }
.border-black { border-color: #000000; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-white\/\[0\.08\] { border-color: rgba(255,255,255,0.08); }
.border-blue-400 { border-color: #60a5fa; }
.border-blue-500\/20 { border-color: rgba(59,130,246,0.2); }
.border-blue-500\/30 { border-color: rgba(59,130,246,0.3); }
.border-emerald-400\/20 { border-color: rgba(52,211,153,0.2); }
.border-emerald-500\/30 { border-color: rgba(16,185,129,0.3); }
.border-rose-400\/20 { border-color: rgba(251,113,133,0.2); }
.border-rose-500\/20 { border-color: rgba(244,63,94,0.2); }
.border-rose-500\/30 { border-color: rgba(244,63,94,0.3); }
.border-neutral-800 { border-color: #262626; }

/* ---------- 12. Border radius ---------- */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* ---------- 13. Position / layout ---------- */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.top-12 { top: 3rem; }
.top-1\/2 { top: 50%; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-2\.5 { left: 0.625rem; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-hidden { overflow-y: hidden; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* ---------- 14. Effects ---------- */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.4); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.4); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -4px rgba(0,0,0,0.4); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5), 0 8px 10px -6px rgba(0,0,0,0.5); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6); }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }
.blur-sm { filter: blur(4px); }
.blur { filter: blur(8px); }
.blur-xl { filter: blur(24px); }
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }
.mix-blend-multiply { mix-blend-mode: multiply; }

/* ---------- 15. Transitions / hover / focus ---------- */
.transition { transition: all 0.15s cubic-bezier(0.4,0,0.2,1); }
.transition-colors { transition: color 0.15s cubic-bezier(0.4,0,0.2,1), background-color 0.15s cubic-bezier(0.4,0,0.2,1), border-color 0.15s cubic-bezier(0.4,0,0.2,1); }
.transition-opacity { transition: opacity 0.15s cubic-bezier(0.4,0,0.2,1); }
.transition-all { transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
.transition-transform { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.duration-100 { transition-duration: 0.1s; }
.duration-150 { transition-duration: 0.15s; }
.duration-200 { transition-duration: 0.2s; }
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }
.ease-in { transition-timing-function: cubic-bezier(0.4,0,1,1); }
.ease-out { transition-timing-function: cubic-bezier(0,0,0.2,1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

a, button { transition: all 0.15s ease; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-black:hover { color: #000000; }
.hover\:text-blue-300:hover { color: #93c5fd; }
.hover\:text-blue-400:hover { color: #60a5fa; }
.hover\:text-rose-300:hover { color: #fda4af; }
.hover\:text-\[\#86868b\]:hover { color: #86868b; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.2); }
.hover\:bg-white\/\[0\.06\]:hover { background-color: rgba(255,255,255,0.06); }
.hover\:bg-neutral-200:hover { background-color: #e5e5e5; }
.hover\:bg-neutral-800:hover { background-color: #262626; }
.hover\:bg-blue-500\/10:hover { background-color: rgba(59,130,246,0.1); }
.hover\:bg-emerald-500\/10:hover { background-color: rgba(16,185,129,0.1); }
.hover\:bg-rose-500\/10:hover { background-color: rgba(244,63,94,0.1); }
.hover\:opacity-70:hover { opacity: 0.7; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-white\/20:hover { border-color: rgba(255,255,255,0.2); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5), 0 8px 10px -6px rgba(0,0,0,0.5); }

/* ---------- 16. Forms ---------- */
input, textarea, select, button {
    outline: none !important;
    box-shadow: none !important;
}
input:focus, textarea:focus, select:focus {
    border-color: rgba(255,255,255,0.3) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1) !important;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.4); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], textarea, select {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
}
.focus\:outline-none:focus { outline: none !important; }
.focus\:ring-0:focus { box-shadow: none !important; }
.focus\:border-white\/30:focus { border-color: rgba(255,255,255,0.3); }
.placeholder-white\/40::placeholder { color: rgba(255,255,255,0.4); }
.placeholder-white\/50::placeholder { color: rgba(255,255,255,0.5); }
.resize-none { resize: none; }
.select-none { user-select: none; }

/* ---------- 17. Animations ---------- */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s infinite; }

/* ---------- 18. Component: glassmorphism & cards ---------- */
.apple-blur {
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.apple-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.apple-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.16);
    transform: translateY(-2px);
}

/* ---------- 19. Buttons (semantic helpers) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    transition: all 0.15s ease;
}
.btn-primary { background: #ffffff; color: #000; }
.btn-primary:hover { background: #e5e5e5; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-danger { background: rgba(244,63,94,0.1); color: #fb7185; border: 1px solid rgba(244,63,94,0.3); }
.btn-danger:hover { background: rgba(244,63,94,0.2); }

/* ---------- 20. Article reader typography ---------- */
.prose-white h1, .prose-white h2, .prose-white h3 { color: #ffffff; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin: 2rem 0 1rem; }
.prose-white p { color: #d1d1d6; margin: 1rem 0; }
.prose-white a { color: #60a5fa; text-decoration: underline; }
.prose-white ul, .prose-white ol { color: #d1d1d6; padding-left: 1.5rem; margin: 1rem 0; }
.prose-white blockquote { border-left: 3px solid rgba(255,255,255,0.25); padding-left: 1rem; color: #f5f5f7; font-style: italic; margin: 1.5rem 0; }
.prose-white img { border-radius: 1rem; margin: 1.5rem 0; }

/* ---------- 21. Gradients (Tailwind CDN fallback) ---------- */
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.bg-gradient-to-tl { background-image: linear-gradient(to top left, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-blue-600\/15 { --tw-gradient-from: rgba(37,99,235,0.15); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37,99,235,0)); }
.from-purple-600\/15 { --tw-gradient-from: rgba(147,51,234,0.15); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(147,51,234,0)); }
.from-white\/\[0\.06\] { --tw-gradient-from: rgba(255,255,255,0.06); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-white\/\[0\.02\] { --tw-gradient-from: rgba(255,255,255,0.02); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-white\/\[0\.05\] { --tw-gradient-from: rgba(255,255,255,0.05); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-white\/\[0\.12\] { --tw-gradient-from: rgba(255,255,255,0.12); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-white\/\[0\.14\] { --tw-gradient-from: rgba(255,255,255,0.14); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-white\/\[0\.03\] { --tw-gradient-from: rgba(255,255,255,0.03); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-white\/\[0\.04\] { --tw-gradient-from: rgba(255,255,255,0.04); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-neutral-200 { --tw-gradient-from: #e5e5e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(229,229,229,0)); }
.from-white { --tw-gradient-from: #ffffff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.via-purple-600\/10 { --tw-gradient-via: rgba(147,51,234,0.1); }
.via-neutral-400 { --tw-gradient-via: #a3a3a3; }
.via-black\/20 { --tw-gradient-via: rgba(0,0,0,0.2); }
.via-white\/60 { --tw-gradient-via: rgba(255,255,255,0.6); }
.to-transparent { --tw-gradient-to: transparent; }
.to-neutral-600 { --tw-gradient-to: #525252; }
.to-black\/80 { --tw-gradient-to: rgba(0,0,0,0.8); }
.to-white\/\[0\.02\] { --tw-gradient-to: rgba(255,255,255,0.02); }

/* Gradient text */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }

/* Group hover (Tailwind CDN fallback) */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-blue-400 { color: #60a5fa; }
.group:hover .group-hover\:text-white { color: #ffffff; }

/* Arbitrary values */
.w-\[420px\] { width: 420px; }
.w-\[600px\] { width: 600px; }
.h-\[220px\] { height: 220px; }
.h-\[300px\] { height: 300px; }
.h-\[320px\] { height: 320px; }
.h-\[480px\] { height: 480px; }

/* Additional border opacity */
.border-white\/15 { border-color: rgba(255,255,255,0.15); }
.border-white\/25 { border-color: rgba(255,255,255,0.25); }
.hover\:border-white\/25:hover { border-color: rgba(255,255,255,0.25); }

/* Additional bg opacity */
.bg-white\/\[0\.02\] { background-color: rgba(255,255,255,0.02); }
.bg-white\/\[0\.05\] { background-color: rgba(255,255,255,0.05); }

/* Transition durations */
.duration-700 { transition-duration: 0.7s; }

/* Responsive sizing */
.sm\:w-32 { width: 8rem; }
.sm\:h-32 { height: 8rem; }
.sm\:w-20 { width: 5rem; }
.sm\:h-20 { height: 5rem; }
.sm\:gap-8 { gap: 2rem; }
.sm\:p-10 { padding: 2.5rem; }
.sm\:p-12 { padding: 3rem; }
.sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.sm\:text-base { font-size: 1rem; line-height: 1.5rem; }

/* Overflow */
.overflow-x-auto { overflow-x: auto; }

/* ---------- 22. Responsive (Tailwind breakpoints) ---------- */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:hidden { display: none; }
    .sm\:flex { display: flex; }
    .sm\:grid { display: grid; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .sm\:pt-24 { padding-top: 6rem; }
    .sm\:pt-28 { padding-top: 7rem; }
    .sm\:pt-32 { padding-top: 8rem; }
    .sm\:pb-16 { padding-bottom: 4rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
    .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .sm\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .sm\:text-8xl { font-size: 6rem; line-height: 1; }
    .sm\:space-x-4 > * + * { margin-left: 1rem; }
    .sm\:w-auto { width: auto; }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
    .md\:grid { display: grid; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:flex-col { flex-direction: column; }
    .md\:items-center { align-items: center; }
    .md\:items-start { align-items: flex-start; }
    .md\:justify-between { justify-content: space-between; }
    .md\:w-48 { width: 12rem; }
    .md\:w-64 { width: 16rem; }
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:hidden { display: none; }
    .lg\:flex { display: flex; }
    .lg\:grid { display: grid; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .lg\:flex-row { flex-direction: row; }
    .lg\:items-center { align-items: center; }
    .lg\:justify-between { justify-content: space-between; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:w-2\/3 { width: 66.666667%; }
}