/* ============================================================
   100 POPULAR / MOST READ SECTION STYLES — CSS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Newsreader:wght@400;500;600;700&display=swap');

:root {
    --bg: #0a0a0f;
    --bg2: #12121a;
    --bg3: #1a1a28;
    --card: rgba(255, 255, 255, 0.04);
    --card-h: rgba(255, 255, 255, 0.08);
    --text: #f0f0f5;
    --text2: #a0a0b8;
    --text3: #6b6b80;
    --accent: #7c5cfc;
    --accent2: #00d4ff;
    --gradient: linear-gradient(135deg, #7c5cfc, #00d4ff);
    --border: rgba(255, 255, 255, 0.08);
    --border2: rgba(255, 255, 255, 0.12);
    --red: #ef4444;
    --green: #22c55e;
    --blue: #3b82f6;
    --orange: #f97316;
    --pink: #ec4899;
    --purple: #a78bfa;
    --cyan: #06b6d4;
    --amber: #f59e0b;
    --gold: #fbbf24;
    --r: 12px;
    --tr: 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    touch-action: manipulation
}

/* Skill: Reduced Motion (UX guideline #9) */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important
    }
}

/* Skill: Focus States (UX guideline #28) */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px
}

a {
    color: inherit;
    text-decoration: none
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: .75rem 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border)
}

.navbar .ct {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem
}

.nav-logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.nav-back {
    padding: .5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text2);
    font-size: .82rem;
    font-weight: 500;
    transition: var(--tr)
}

.nav-back:hover {
    background: var(--card-h);
    color: var(--text)
}

/* ---- Page Hero ---- */
.page-hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem 2rem;
    position: relative;
    overflow: hidden
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15), transparent 70%);
    pointer-events: none
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: .75rem;
    letter-spacing: -0.03em;
    position: relative
}

.page-hero .gt {
    background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.page-hero p {
    font-size: 1rem;
    color: var(--text2);
    max-width: 500px;
    margin: 0 auto;
    position: relative
}

.ct {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem
}

/* ---- Section Labels ---- */
.slbl {
    padding: 2.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem
}

.slbl-num {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.slbl-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700
}

.slbl-info p {
    font-size: .72rem;
    color: var(--text3)
}

/* ---- Demo Wrapper ---- */
.dw {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg2);
    margin-bottom: .5rem;
    padding: 1.5rem
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.ph {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ph h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700
}

.ph-vl {
    font-size: .75rem;
    color: var(--accent2);
    font-weight: 500;
    cursor: pointer
}

.ph-vl:hover {
    text-decoration: underline
}

/* ============================================================
   10 SECTION LAYOUTS
   ============================================================ */

/* PL-1: Vertical List (classic) */
.pl-list {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

/* PL-2: Two Column Split */
.pl-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

/* PL-3: Sidebar Right (big #1 left, rest right) */
.pl-sidebar {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
    align-items: start
}

/* PL-4: Sidebar Left (rest left, big #1 right) */
.pl-sidebar-rev {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1.25rem;
    align-items: start
}

/* PL-5: Top Hero + Grid Below */
.pl-hero {
    display: flex;
    flex-direction: column;
    gap: 1.25rem
}

.pl-hero .pl-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: .75rem
}

/* PL-6: 3 Column Grid */
.pl-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

/* PL-7: Masonry 2-col Staggered */
.pl-masonry {
    columns: 2;
    column-gap: 1rem
}

.pl-masonry>* {
    break-inside: avoid;
    margin-bottom: .75rem
}

/* PL-8: Horizontal Scroll */
.pl-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: .75rem;
    scroll-snap-type: x mandatory
}

.pl-scroll>* {
    flex: 0 0 280px;
    scroll-snap-align: start
}

.pl-scroll::-webkit-scrollbar {
    height: 4px
}

.pl-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px
}

/* PL-9: Big + Small Alternating */
.pl-zigzag {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

/* PL-10: Center Focus (big center, small sides) */
.pl-center {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 1rem;
    align-items: start
}

.pl-center-side {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

/* ============================================================
   10 RANKING DISPLAY TYPES
   ============================================================ */

/* PR-1: Big Number */
.pr-big {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
    min-width: 50px;
    text-align: center
}

.pr-big.top3 {
    background: linear-gradient(135deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* PR-2: Circle Badge */
.pr-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .75rem;
    flex-shrink: 0;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2)
}

.pr-circle.top3 {
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border: none;
    color: #000
}

/* PR-3: Square Tag */
.pr-square {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .7rem;
    flex-shrink: 0;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text3)
}

.pr-square.top3 {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

/* PR-4: Line Accent */
.pr-line {
    position: relative;
    padding-left: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    color: var(--text3);
    font-weight: 600
}

.pr-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
    border-radius: 2px
}

.pr-line.top3::before {
    background: linear-gradient(180deg, #fbbf24, #ef4444)
}

/* PR-5: Dot Indicator */
.pr-dot {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
    color: var(--text3);
    font-weight: 600
}

.pr-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0
}

.pr-dot.top3::before {
    background: var(--red);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5)
}

/* PR-6: Hash Tag Style */
.pr-hash {
    font-family: 'JetBrains Mono', monospace;
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1)
}

.pr-hash.top3 {
    color: var(--accent2)
}

/* PR-7: Medal / Trophy */
.pr-medal {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: var(--bg3);
    border: 2px solid var(--border)
}

.pr-medal.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #fbbf24;
    color: #000
}

.pr-medal.silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    border-color: #94a3b8;
    color: #000
}

.pr-medal.bronze {
    background: linear-gradient(135deg, #d97706, #92400e);
    border-color: #d97706;
    color: #fff
}

/* PR-8: Fire / Heat Bar */
.pr-heat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    min-width: 50px
}

.pr-heat-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    min-width: 20px;
    transition: width var(--tr)
}

.pr-heat-bar.hot {
    background: linear-gradient(90deg, #ef4444, #f97316)
}

.pr-heat-bar.warm {
    background: linear-gradient(90deg, #f97316, #fbbf24)
}

.pr-heat-bar.cool {
    background: var(--border2)
}

.pr-heat-num {
    font-size: .65rem;
    color: var(--text3);
    font-weight: 600;
    margin-top: 2px
}

/* PR-9: Vertical Stripe */
.pr-stripe {
    width: 4px;
    border-radius: 2px;
    align-self: stretch;
    flex-shrink: 0;
    min-height: 40px;
    background: var(--border)
}

.pr-stripe.top3 {
    background: linear-gradient(180deg, #ef4444, #f97316, #fbbf24)
}

/* PR-10: Outline Number */
.pr-outline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
    color: transparent;
    min-width: 40px;
    text-align: center
}

.pr-outline.top3 {
    -webkit-text-stroke: 2px var(--accent);
    text-shadow: 0 0 20px rgba(124, 92, 252, 0.3)
}

/* ============================================================
   10 ITEM CARD TYPES
   ============================================================ */

/* PC-1: Horizontal Row (thumb + info) */
.pc-row {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    cursor: pointer;
    transition: var(--tr)
}

.pc-row:hover {
    background: var(--card-h);
    border-color: var(--border2);
    transform: translateX(4px)
}

.pc-row .pc-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0
}

.pc-row .pc-info {
    flex: 1;
    min-width: 0
}

.pc-row .pc-title {
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.pc-row .pc-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PC-2: Vertical Card (img top, info below) */
.pc-vcard {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.pc-vcard:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4)
}

.pc-vcard .pc-thumb {
    height: 140px;
    background-size: cover;
    background-position: center
}

.pc-vcard .pc-body {
    padding: .75rem
}

.pc-vcard .pc-title {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.pc-vcard .pc-meta {
    font-size: .68rem;
    color: var(--text3)
}

/* PC-3: Text Only (minimal, no image) */
.pc-text {
    padding: .65rem .75rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--tr)
}

.pc-text:last-child {
    border-bottom: none
}

.pc-text:hover {
    background: var(--card);
    padding-left: 1rem
}

.pc-text .pc-title {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: .15rem
}

.pc-text .pc-meta {
    font-size: .68rem;
    color: var(--text3)
}

/* PC-4: Glass Card */
.pc-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: .85rem;
    display: flex;
    gap: .75rem;
    align-items: center;
    cursor: pointer;
    transition: var(--tr)
}

.pc-glass:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 92, 252, 0.1)
}

.pc-glass .pc-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0
}

.pc-glass .pc-info {
    flex: 1;
    min-width: 0
}

.pc-glass .pc-title {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.pc-glass .pc-meta {
    font-size: .68rem;
    color: var(--text3)
}

/* PC-5: Tall Portrait Card */
.pc-tall {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.pc-tall:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5)
}

.pc-tall .pc-thumb {
    height: 220px;
    background-size: cover;
    background-position: center
}

.pc-tall .pc-body {
    padding: .85rem
}

.pc-tall .pc-title {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .3rem
}

.pc-tall .pc-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PC-6: Overlay Card (text on image) */
.pc-overlay {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr);
    min-height: 180px
}

.pc-overlay:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5)
}

.pc-overlay .pc-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center
}

.pc-overlay .pc-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85))
}

.pc-overlay .pc-title {
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: .2rem
}

.pc-overlay .pc-meta {
    font-size: .68rem;
    color: rgba(255, 255, 255, 0.5)
}

/* PC-7: Neon Border Card */
.pc-neon {
    padding: .75rem;
    display: flex;
    gap: .75rem;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: var(--r);
    cursor: pointer;
    transition: var(--tr);
    box-shadow: 0 0 10px rgba(124, 92, 252, 0.1), inset 0 0 10px rgba(124, 92, 252, 0.03)
}

.pc-neon:hover {
    box-shadow: 0 0 20px rgba(124, 92, 252, 0.2), inset 0 0 15px rgba(124, 92, 252, 0.05);
    transform: translateY(-2px)
}

.pc-neon .pc-thumb {
    width: 65px;
    height: 50px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0
}

.pc-neon .pc-info {
    flex: 1;
    min-width: 0
}

.pc-neon .pc-title {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .15rem
}

.pc-neon .pc-meta {
    font-size: .68rem;
    color: var(--text3)
}

/* PC-8: Split Horizontal (50/50 image + text) */
.pc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr);
    min-height: 100px
}

.pc-split:hover {
    border-color: var(--border2);
    transform: translateX(4px)
}

.pc-split .pc-thumb {
    background-size: cover;
    background-position: center;
    min-height: 100px
}

.pc-split .pc-body {
    padding: .75rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.pc-split .pc-title {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.pc-split .pc-meta {
    font-size: .68rem;
    color: var(--text3)
}

/* PC-9: Compact Chip */
.pc-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .85rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--tr);
    font-size: .78rem;
    font-weight: 500
}

.pc-chip:hover {
    background: var(--card-h);
    border-color: var(--border2)
}

.pc-chip .pc-meta {
    font-size: .65rem;
    color: var(--text3);
    margin-left: auto
}

/* PC-10: Magazine Card (serif, editorial) */
.pc-magazine {
    padding: .85rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    cursor: pointer;
    transition: var(--tr)
}

.pc-magazine:hover {
    background: var(--card-h);
    border-color: rgba(251, 191, 36, 0.2)
}

.pc-magazine .pc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: .25rem
}

.pc-magazine .pc-excerpt {
    font-size: .75rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.pc-magazine .pc-meta {
    font-size: .68rem;
    color: var(--text3)
}

/* ============================================================
   BADGES
   ============================================================ */
.pb {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .3rem .65rem;
    border-radius: 6px;
    font-size: .65rem;
    font-weight: 700;
    z-index: 2
}

.pb-fire {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff
}

.pb-hot {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3)
}

.pb-trend {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent2);
    border: 1px solid rgba(0, 212, 255, 0.25)
}

.pb-views {
    background: rgba(251, 191, 36, 0.12);
    color: var(--gold);
    border: 1px solid rgba(251, 191, 36, 0.25)
}

.pb-crown {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000
}

/* ============================================================
   BIG FEATURE CARD (for hero #1 article)
   ============================================================ */

/* PF-1: Overlay Hero */
.pf-overlay {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr);
    min-height: 350px
}

.pf-overlay:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5)
}

.pf-overlay .pf-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center
}

.pf-overlay .pf-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9))
}

.pf-overlay .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .25rem
}

.pf-overlay .pf-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: .4rem
}

.pf-overlay .pf-excerpt {
    font-size: .82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: .4rem
}

.pf-overlay .pf-meta {
    font-size: .72rem;
    color: rgba(255, 255, 255, 0.35)
}

/* PF-2: Card Hero */
.pf-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.pf-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4)
}

.pf-card .pf-img {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative
}

.pf-card .pf-body {
    padding: 1.25rem
}

.pf-card .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .15rem
}

.pf-card .pf-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem
}

.pf-card .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .35rem
}

.pf-card .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PF-3: Split Hero */
.pf-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr);
    min-height: 280px
}

.pf-split:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4)
}

.pf-split .pf-img {
    background-size: cover;
    background-position: center;
    min-height: 280px
}

.pf-split .pf-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.pf-split .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .25rem
}

.pf-split .pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .4rem
}

.pf-split .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .4rem
}

.pf-split .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PF-4: Glass Hero */
.pf-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.pf-glass:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(239, 68, 68, 0.1)
}

.pf-glass .pf-img {
    height: 240px;
    background-size: cover;
    background-position: center
}

.pf-glass .pf-body {
    padding: 1.25rem
}

.pf-glass .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .2rem
}

.pf-glass .pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem
}

.pf-glass .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .35rem
}

.pf-glass .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PF-5: Tall Hero */
.pf-tall {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.pf-tall:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5)
}

.pf-tall .pf-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative
}

.pf-tall .pf-body {
    padding: 1.25rem
}

.pf-tall .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .2rem
}

.pf-tall .pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem
}

.pf-tall .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .35rem
}

.pf-tall .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PF-6: Neon Hero */
.pf-neon {
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr);
    box-shadow: 0 0 15px rgba(124, 92, 252, 0.15), inset 0 0 15px rgba(124, 92, 252, 0.05)
}

.pf-neon:hover {
    box-shadow: 0 0 30px rgba(124, 92, 252, 0.3), inset 0 0 20px rgba(124, 92, 252, 0.08);
    transform: translateY(-4px)
}

.pf-neon .pf-img {
    height: 240px;
    background-size: cover;
    background-position: center
}

.pf-neon .pf-body {
    padding: 1.25rem
}

.pf-neon .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
    margin-bottom: .2rem;
    text-shadow: 0 0 20px rgba(124, 92, 252, 0.5)
}

.pf-neon .pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem
}

.pf-neon .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .35rem
}

.pf-neon .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PF-7: Magazine Hero */
.pf-mag {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.pf-mag:hover {
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4)
}

.pf-mag .pf-img {
    height: 280px;
    background-size: cover;
    background-position: center
}

.pf-mag .pf-body {
    padding: 1.5rem
}

.pf-mag .pf-rank {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .25rem
}

.pf-mag .pf-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: .5rem
}

.pf-mag .pf-excerpt {
    font-size: .88rem;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: .4rem
}

.pf-mag .pf-meta {
    font-size: .72rem;
    color: var(--text3)
}

/* PF-8: Perspective Hero */
.pf-persp {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr);
    transform: perspective(1200px) rotateY(-3deg)
}

.pf-persp:hover {
    transform: perspective(1200px) rotateY(0deg) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5)
}

.pf-persp .pf-img {
    height: 240px;
    background-size: cover;
    background-position: center
}

.pf-persp .pf-body {
    padding: 1.25rem
}

.pf-persp .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .2rem
}

.pf-persp .pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem
}

.pf-persp .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .35rem
}

.pf-persp .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PF-9: Gradient Border Hero */
.pf-border {
    position: relative;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24);
    cursor: pointer;
    transition: var(--tr);
    overflow: hidden
}

.pf-border:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(239, 68, 68, 0.2)
}

.pf-border .pf-inner {
    background: var(--bg2);
    border-radius: 12px;
    overflow: hidden
}

.pf-border .pf-img {
    height: 240px;
    background-size: cover;
    background-position: center
}

.pf-border .pf-body {
    padding: 1.25rem
}

.pf-border .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .2rem
}

.pf-border .pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem
}

.pf-border .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .35rem
}

.pf-border .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* PF-10: Stacked Hero */
.pf-stack {
    position: relative;
    cursor: pointer;
    transition: var(--tr)
}

.pf-stack::before,
.pf-stack::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    background: var(--bg3);
    border: 1px solid var(--border)
}

.pf-stack::before {
    transform: rotate(2deg) translate(6px, 6px);
    z-index: -2;
    opacity: .3
}

.pf-stack::after {
    transform: rotate(1deg) translate(3px, 3px);
    z-index: -1;
    opacity: .5
}

.pf-stack:hover {
    transform: translateY(-5px)
}

.pf-stack .pf-inner-s {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    position: relative;
    z-index: 1
}

.pf-stack .pf-img {
    height: 240px;
    background-size: cover;
    background-position: center
}

.pf-stack .pf-body {
    padding: 1.25rem
}

.pf-stack .pf-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .2rem
}

.pf-stack .pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem
}

.pf-stack .pf-excerpt {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: .35rem
}

.pf-stack .pf-meta {
    font-size: .7rem;
    color: var(--text3)
}

/* ============================================================
   VIEW COUNT BADGES (inline)
   ============================================================ */
.pv {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .68rem;
    color: var(--text3)
}

.pv svg {
    width: 12px;
    height: 12px;
    fill: currentColor
}

.pv-hot {
    color: var(--red)
}

.pv-warm {
    color: var(--orange)
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width: 900px) {

    .pl-2col,
    .pl-3col {
        grid-template-columns: 1fr
    }

    .pl-sidebar,
    .pl-sidebar-rev {
        grid-template-columns: 1fr
    }

    .pl-center {
        grid-template-columns: 1fr
    }

    .pl-masonry {
        columns: 1
    }

    .pf-split {
        grid-template-columns: 1fr
    }

    .pf-split .pf-img {
        min-height: 200px
    }

    .pc-split {
        grid-template-columns: 1fr
    }

    .pc-split .pc-thumb {
        min-height: 150px
    }

    .pr-big {
        font-size: 1.8rem
    }

    .pr-outline {
        font-size: 1.5rem
    }
}

@media(max-width: 600px) {
    .pl-scroll>* {
        flex: 0 0 240px
    }

    .pf-overlay {
        min-height: 260px
    }

    .pf-tall .pf-img {
        height: 280px
    }

    .pc-tall .pc-thumb {
        height: 160px
    }

    .pc-overlay {
        min-height: 140px
    }
}

/* ============================================================
   UI UX PRO MAX — ENHANCED TYPOGRAPHY + EDITORIAL
   ============================================================ */

/* Skill: News Editorial typography (#14) */
.ph h3 {
    font-family: 'Newsreader', 'Space Grotesk', serif
}

.pf-title {
    font-family: 'Newsreader', serif;
    letter-spacing: -0.02em
}

.pf-excerpt {
    font-family: 'Inter', sans-serif;
    line-height: 1.65
}

/* Skill: Views badge micro-interaction (#16) */
.pv {
    transition: transform 200ms ease-out
}

.pv-hot {
    animation: pv-pulse 2s ease-in-out infinite
}

@keyframes pv-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .7
    }
}

/* Skill: Smooth hover feedback 150-300ms (#8, #29) */
.pc-row,
.pc-vcard,
.pc-glass,
.pc-tall,
.pc-overlay,
.pc-neon,
.pc-split,
.pc-chip,
.pc-text {
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1)
}

/* Skill: Content jump prevention (#19) */
.pc-vcard .pc-thumb,
.pc-tall .pc-thumb,
.pc-overlay .pc-thumb {
    aspect-ratio: auto
}

/* Skill: Performance — use transform & opacity (#13) */
.dw {
    will-change: transform, opacity
}