/* ============================================================
   100 CATEGORY 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&family=Space+Grotesk: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;
    --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
}

::-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(124, 92, 252, 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: var(--gradient);
    -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: var(--accent);
    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
}

/* ============================================================
   HEADER STYLES (20 variations)
   ============================================================ */
/* H1: Bar accent left */
.ch1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch1 h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem
}

.ch1 h3::before {
    content: '';
    width: 4px;
    height: 22px;
    border-radius: 2px
}

.ch1 .vl {
    font-size: .78rem;
    font-weight: 500;
    transition: var(--tr);
    cursor: pointer
}

.ch1 .vl:hover {
    opacity: .8
}

/* H2: Underline */
.ch2 {
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.ch2 h3 {
    font-size: 1.1rem;
    font-weight: 700
}

.ch2 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H3: Badge style */
.ch3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch3 h3 {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 700;
    color: #fff
}

.ch3 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H4: Large serif */
.ch4 {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between
}

.ch4 h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700
}

.ch4 .vl {
    font-size: .78rem;
    cursor: pointer
}

/* H5: Minimal dot */
.ch5 {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem
}

.ch5 .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.ch5 h3 {
    font-size: 1rem;
    font-weight: 600;
    flex: 1
}

.ch5 .vl {
    font-size: .78rem;
    cursor: pointer
}

/* H6: Gradient text */
.ch6 {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.ch6 h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.ch6 .vl {
    font-size: .78rem;
    cursor: pointer
}

/* H7: Tab style */
.ch7 {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border)
}

.ch7 .tab {
    padding: .5rem 1.25rem;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--tr);
    color: var(--text3)
}

.ch7 .tab.active {
    border-bottom-color: var(--accent);
    color: var(--text)
}

/* H8: Pill tabs */
.ch8 {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap
}

.ch8 .pill {
    padding: .35rem .9rem;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--tr);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text2)
}

.ch8 .pill.active {
    color: #fff;
    border-color: transparent
}

.ch8 .pill:hover {
    background: var(--card-h)
}

/* H9: Icon + title */
.ch9 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch9 h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.05rem;
    font-weight: 700
}

.ch9 .icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: #fff
}

.ch9 .vl {
    font-size: .78rem;
    cursor: pointer
}

/* H10: Count badge */
.ch10 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch10 h3 {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem
}

.ch10 .cnt {
    padding: .15rem .5rem;
    font-size: .6rem;
    font-weight: 700;
    border-radius: 100px;
    color: #fff
}

.ch10 .vl {
    font-size: .78rem;
    cursor: pointer
}

/* ============================================================
   ARTICLE CARD IN CATEGORY (reusable)
   ============================================================ */
.cc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: var(--tr);
    cursor: pointer
}

.cc:hover {
    border-color: rgba(124, 92, 252, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3)
}

.cc .img {
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 0
}

.cc .bd {
    padding: .85rem
}

.cc .bd .cat {
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .3rem
}

.cc .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .25rem;
    color: var(--text)
}

.cc .bd .mt {
    font-size: .65rem;
    color: var(--text3)
}

/* Horizontal variant */
.cc-h {
    display: flex;
    gap: .75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: .65rem;
    transition: var(--tr);
    cursor: pointer;
    align-items: center
}

.cc-h:hover {
    border-color: rgba(124, 92, 252, 0.25);
    transform: translateX(3px)
}

.cc-h .img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center
}

.cc-h .bd {
    flex: 1
}

.cc-h .bd .tl {
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .15rem
}

.cc-h .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* Overlay variant */
.cc-o {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.cc-o:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4)
}

.cc-o .img {
    height: 180px;
    background-size: cover;
    background-position: center
}

.cc-o .ov {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85))
}

.cc-o .ov .tl {
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3
}

.cc-o .ov .mt {
    font-size: .62rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: .2rem
}

/* Glass variant */
.cc-g {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.cc-g:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(124, 92, 252, 0.12)
}

.cc-g .img {
    height: 130px;
    background-size: cover;
    background-position: center
}

.cc-g .bd {
    padding: .85rem
}

.cc-g .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-g .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* Minimal text */
.cc-t {
    padding: .6rem 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--tr)
}

.cc-t:hover {
    padding-left: .75rem;
    background: var(--card)
}

.cc-t .tl {
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .15rem
}

.cc-t .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* Gradient border */
.cc-gb {
    position: relative;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    cursor: pointer;
    transition: var(--tr);
    overflow: hidden
}

.cc-gb:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 92, 252, 0.15)
}

.cc-gb .inner {
    background: var(--bg2);
    border-radius: 13px;
    overflow: hidden
}

.cc-gb .img {
    height: 130px;
    background-size: cover;
    background-position: center
}

.cc-gb .bd {
    padding: .85rem
}

.cc-gb .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-gb .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* ============================================================
   GRID LAYOUTS FOR CATEGORY SECTIONS
   ============================================================ */
.cg-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem
}

.cg-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.cg-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem
}

.cg-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem
}

.cg-list {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.cg-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scroll-snap-type: x mandatory
}

.cg-scroll>* {
    min-width: 250px;
    flex-shrink: 0;
    scroll-snap-align: start
}

.cg-feat {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1rem
}

.cg-feat .side {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.cg-masonry {
    columns: 3;
    gap: 1rem
}

.cg-masonry>* {
    break-inside: avoid;
    margin-bottom: 1rem
}

.cg-1plus3 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1rem
}

.cg-1plus3 .right {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: .5rem
}

/* ============================================================
   NEW HEADER STYLES (h11-h20)
   ============================================================ */
/* H11: Split Two-Tone */
.ch11 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch11 .hl {
    padding: .45rem 1.2rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif
}

.ch11 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H12: Neon Underline */
.ch12 {
    margin-bottom: 1.25rem;
    position: relative
}

.ch12 h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .5rem
}

.ch12 .line {
    display: block;
    height: 2px;
    border-radius: 1px;
    box-shadow: 0 0 8px currentColor;
    opacity: .8
}

.ch12 .vl {
    position: absolute;
    top: 0;
    right: 0;
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H13: Uppercase Tracker */
.ch13 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch13 h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px
}

.ch13 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H14: Blockquote Left Border */
.ch14 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid
}

.ch14 h3 {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif
}

.ch14 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H15: Outline Text */
.ch15 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch15 h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    -webkit-text-stroke: 1.5px;
    -webkit-text-fill-color: transparent;
    letter-spacing: -.02em
}

.ch15 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H16: Chip Label */
.ch16 {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem
}

.ch16 .chip {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: #fff;
    flex-shrink: 0
}

.ch16 h3 {
    font-size: 1rem;
    font-weight: 700;
    flex: 1
}

.ch16 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H17: Slash Divider */
.ch17 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch17 h3 {
    font-size: 1.05rem;
    font-weight: 700
}

.ch17 .slash {
    color: var(--text3);
    padding: 0 .3rem;
    font-weight: 300
}

.ch17 .sub {
    font-weight: 400;
    color: var(--text3);
    font-size: .9rem
}

.ch17 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H18: Mega Bold */
.ch18 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem
}

.ch18 h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1
}

.ch18 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H19: Double Border */
.ch19 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: .6rem 0;
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2)
}

.ch19 h3 {
    font-size: 1.05rem;
    font-weight: 700
}

.ch19 .vl {
    font-size: .78rem;
    cursor: pointer;
    transition: var(--tr)
}

/* H20: Stacked Subtitle */
.ch20 {
    margin-bottom: 1.25rem
}

.ch20 h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: .2rem
}

.ch20 .sub-desc {
    font-size: .72rem;
    font-style: italic
}

/* ============================================================
   NEW CARD TYPES
   ============================================================ */
/* cc-n: Neon border card */
.cc-n {
    background: var(--bg);
    border: 1.5px solid var(--accent);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr);
    box-shadow: 0 0 12px rgba(124, 92, 252, .08)
}

.cc-n:hover {
    box-shadow: 0 0 25px rgba(124, 92, 252, .2);
    transform: translateY(-3px)
}

.cc-n .img {
    height: 130px;
    background-size: cover;
    background-position: center
}

.cc-n .bd {
    padding: .85rem
}

.cc-n .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-n .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* cc-m: Magazine card */
.cc-m {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.cc-m:hover {
    border-color: rgba(124, 92, 252, .25);
    transform: translateY(-3px)
}

.cc-m .img {
    height: 180px;
    background-size: cover;
    background-position: center
}

.cc-m .bd {
    padding: 1rem
}

.cc-m .bd .tl {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .3rem
}

.cc-m .bd .mt {
    font-size: .65rem;
    color: var(--text3);
    font-style: italic
}

/* cc-s: Split card */
.cc-s {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.cc-s:hover {
    border-color: rgba(124, 92, 252, .25);
    transform: translateY(-2px)
}

.cc-s .img {
    min-height: 120px;
    background-size: cover;
    background-position: center
}

.cc-s .bd {
    padding: .85rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.cc-s .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-s .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* cc-r: Ranked card */
.cc-r {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.cc-r:hover {
    border-color: rgba(124, 92, 252, .25);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3)
}

.cc-r .img {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative
}

.cc-r .rk {
    position: absolute;
    top: .5rem;
    left: .5rem;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
    color: #fff
}

.cc-r .bd {
    padding: .85rem
}

.cc-r .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-r .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* ============================================================
   NEW GRID LAYOUTS
   ============================================================ */
.cg-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .6rem
}

.cg-asym {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem
}

.cg-zigzag {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem
}

.cg-zigzag>*:nth-child(3n+1) {
    grid-column: 1/-1
}

.cg-filmstrip {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scroll-snap-type: x mandatory
}

.cg-filmstrip>* {
    min-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start
}

/* ============================================================
   TALL / PERSPECTIVE CARD TYPES
   ============================================================ */
/* cc-tall: Tall portrait card */
.cc-tall {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.cc-tall:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35)
}

.cc-tall .img {
    height: 240px;
    background-size: cover;
    background-position: center
}

.cc-tall .bd {
    padding: .85rem
}

.cc-tall .bd .tl {
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-tall .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* cc-persp: Perspective 3D card */
.cc-persp {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: transform .4s ease, box-shadow .4s ease
}

.cc-persp:nth-child(odd) {
    transform: perspective(800px) rotateY(-3deg)
}

.cc-persp:nth-child(even) {
    transform: perspective(800px) rotateY(3deg)
}

.cc-persp:hover {
    transform: perspective(800px) rotateY(0) scale(1.03) !important;
    box-shadow: 0 20px 40px rgba(124, 92, 252, .18)
}

.cc-persp .img {
    height: 150px;
    background-size: cover;
    background-position: center
}

.cc-persp .bd {
    padding: .85rem
}

.cc-persp .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-persp .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* cc-tilt: Alternating tilted cards */
.cc-tilt {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tr)
}

.cc-tilt:nth-child(odd) {
    transform: rotate(-1.5deg)
}

.cc-tilt:nth-child(even) {
    transform: rotate(1.5deg)
}

.cc-tilt:hover {
    transform: rotate(0) scale(1.04) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .3)
}

.cc-tilt .img {
    height: 140px;
    background-size: cover;
    background-position: center
}

.cc-tilt .bd {
    padding: .85rem
}

.cc-tilt .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-tilt .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* cc-stack: Stacked layered card */
.cc-stack {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: visible;
    cursor: pointer;
    transition: var(--tr)
}

.cc-stack::before {
    content: '';
    position: absolute;
    inset: 6px -6px -6px 6px;
    background: var(--accent);
    opacity: .12;
    border-radius: var(--r);
    z-index: -1;
    transition: var(--tr)
}

.cc-stack::after {
    content: '';
    position: absolute;
    inset: 12px -3px -12px 3px;
    background: var(--accent2);
    opacity: .06;
    border-radius: var(--r);
    z-index: -2
}

.cc-stack:hover {
    transform: translateY(-5px)
}

.cc-stack:hover::before {
    opacity: .22;
    inset: 8px -8px -8px 8px
}

.cc-stack .inner-s {
    border-radius: var(--r);
    overflow: hidden
}

.cc-stack .img {
    height: 140px;
    background-size: cover;
    background-position: center
}

.cc-stack .bd {
    padding: .85rem
}

.cc-stack .bd .tl {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .2rem
}

.cc-stack .bd .mt {
    font-size: .62rem;
    color: var(--text3)
}

/* ============================================================
   TALL / PERSPECTIVE GRID LAYOUTS
   ============================================================ */
.cg-stagger {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem
}

.cg-stagger>*:nth-child(even) {
    transform: translateY(28px)
}

.cg-persp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    perspective: 1200px
}

@media(max-width:768px) {

    .cg-4,
    .cg-3,
    .cg-5,
    .cg-asym {
        grid-template-columns: 1fr 1fr
    }

    .cg-6 {
        grid-template-columns: repeat(3, 1fr)
    }

    .cg-2,
    .cg-feat,
    .cg-1plus3 {
        grid-template-columns: 1fr
    }

    .cg-masonry {
        columns: 1
    }

    .cg-zigzag {
        grid-template-columns: 1fr
    }

    .cg-zigzag>*:nth-child(3n+1) {
        grid-column: 1
    }

    .cc-s {
        grid-template-columns: 1fr
    }

    .cg-stagger {
        grid-template-columns: 1fr 1fr
    }

    .cg-stagger>*:nth-child(even) {
        transform: translateY(15px)
    }

    .cg-persp {
        grid-template-columns: 1fr 1fr;
        perspective: 800px
    }

    .cc-persp:nth-child(odd),
    .cc-persp:nth-child(even) {
        transform: perspective(600px) rotateY(0)
    }

    .cc-tilt:nth-child(odd),
    .cc-tilt:nth-child(even) {
        transform: rotate(0)
    }
}