:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    --border: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(139, 92, 246, 0.3);
    --accent-purple: #8b5cf6;
    --accent-violet: #7c3aed;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --text-primary: #f1f0ff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --gradient-main: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #ef4444);
    --gradient-teal: linear-gradient(135deg, #06b6d4, #8b5cf6);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .6);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, .2);
    --transition: .3s cubic-bezier(.4, 0, .2, 1)
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

input,
button,
select {
    font-family: inherit
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--gradient-main);
    color: #fff;
    padding: .75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(139, 92, 246, .35)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, .5)
}

.btn-primary.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem
}

.btn-primary.btn-full {
    width: 100%;
    justify-content: center
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--text-primary);
    padding: .75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition)
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .06);
    border-color: var(--accent-purple);
    color: var(--accent-purple)
}

.btn-ghost.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, .85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition)
}

.navbar.scrolled {
    background: rgba(10, 10, 15, .98);
    box-shadow: var(--shadow-md)
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 72px
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    font-size: 1.3rem;
    white-space: nowrap
}

.logo-spark {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 8px #f59e0b)
}

.logo-accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin-left: auto
}

.nav-link {
    padding: .5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: .92rem;
    color: var(--text-secondary);
    transition: var(--transition)
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, .06)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: .3rem
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(10, 10, 15, .98)
}

.mobile-menu a {
    padding: .85rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    transition: color .2s
}

.mobile-menu a:last-child {
    border-bottom: none
}

.mobile-menu a:hover {
    color: var(--accent-purple)
}

.mobile-menu.open {
    display: flex
}

/* Nav user chip (logged-in state) */
.nav-user-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: rgba(139, 92, 246, .12);
    border: 1px solid rgba(139, 92, 246, .3);
    border-radius: 50px;
    padding: .4rem .9rem .4rem .4rem;
    cursor: pointer;
    transition: var(--transition)
}

.nav-user-chip:hover {
    background: rgba(139, 92, 246, .2);
    border-color: rgba(139, 92, 246, .5)
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0
}

.nav-username {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 80px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .5rem;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    flex-direction: column;
    gap: .15rem
}

.nav-user-chip:hover .nav-dropdown {
    display: flex
}

.nav-dropdown a {
    padding: .6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap
}

.nav-dropdown a:hover {
    background: rgba(139, 92, 246, .12);
    color: var(--text-primary)
}

.nav-dropdown .logout-link {
    color: #f87171
}

.nav-dropdown .logout-link:hover {
    background: rgba(239, 68, 68, .1);
    color: #fca5a5
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;
    gap: 4rem
}

.hero-bg-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .15;
    animation: orb-float 8s ease-in-out infinite
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -20%;
    left: -15%
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-pink);
    bottom: -10%;
    right: -10%;
    animation-delay: -3s
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    top: 40%;
    left: 40%;
    animation-delay: -5s
}

@keyframes orb-float {

    0%,
    100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-30px) scale(1.05)
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 640px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(139, 92, 246, .15);
    border: 1px solid rgba(139, 92, 246, .3);
    border-radius: 50px;
    padding: .5rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 2rem;
    animation: fade-up .8s ease both
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 1.5s ease-in-out infinite
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fade-up .8s .1s ease both
}

.hero-em {
    font-style: italic;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fade-up .8s .2s ease both
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fade-up .8s .3s ease both
}

.btn-arrow {
    transition: transform .3s
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px)
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fade-up .8s .4s ease both
}

.stat {
    text-align: center
}

.stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800
}

.stat-label {
    font-size: .82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border)
}

.hero-visual {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 380px
}

.floating-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition)
}

.floating-card:hover {
    transform: translateX(-6px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow)
}

.card-1 {
    animation: float-card 6s ease-in-out infinite
}

.card-2 {
    animation: float-card 6s 2s ease-in-out infinite;
    margin-left: 2rem
}

.card-3 {
    animation: float-card 6s 4s ease-in-out infinite
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.fc-icon {
    font-size: 1.8rem;
    flex-shrink: 0
}

.fc-text strong {
    display: block;
    font-size: .92rem;
    color: var(--text-primary);
    margin-bottom: .25rem;
    line-height: 1.4
}

.fc-text span {
    font-size: .8rem;
    color: var(--text-muted)
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Ad Banners */
.ad-banner {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1.5rem;
    text-align: center;
    position: relative
}

.ad-label {
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: .65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em
}

.ad-mock p {
    font-size: .95rem;
    color: var(--text-secondary)
}

.ad-mock strong {
    color: var(--text-primary)
}

.ad-link {
    color: var(--accent-purple);
    font-weight: 600
}

.ad-link:hover {
    text-decoration: underline
}

.story-ad-inline {
    margin: 2rem 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: center;
    position: relative
}

/* Section Shared */
.categories-section,
.featured-section,
.trending-section,
.testimonials-section,
.support-section {
    padding: 6rem 0
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem
}

.section-eyebrow {
    display: inline-block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--accent-purple);
    letter-spacing: .05em;
    margin-bottom: .75rem
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: .75rem
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto
}

/* Categories */
.categories-section {
    background: var(--bg-secondary)
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: block
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition)
}

.cat-success::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, .15), transparent)
}

.cat-resilience::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, .15), transparent)
}

.cat-health::before {
    background: linear-gradient(135deg, rgba(236, 72, 153, .15), transparent)
}

.cat-business::before {
    background: linear-gradient(135deg, rgba(6, 182, 212, .15), transparent)
}

.cat-education::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, .15), transparent)
}

.cat-sports::before {
    background: linear-gradient(135deg, rgba(249, 115, 22, .15), transparent)
}

.cat-card:hover::before {
    opacity: 1
}

.cat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, .4);
    box-shadow: var(--shadow-lg)
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block
}

.cat-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .4rem
}

.cat-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem
}

.cat-count {
    font-size: .8rem;
    color: var(--accent-purple);
    font-weight: 600;
    background: rgba(139, 92, 246, .12);
    padding: .25rem .75rem;
    border-radius: 50px
}

/* Story Cards */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column
}

.story-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, .35);
    box-shadow: var(--shadow-lg), var(--shadow-glow)
}

.story-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden
}

.story-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, .6))
}

.story-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column
}

.story-cat-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: .85rem
}

.story-cat-success {
    background: rgba(245, 158, 11, .15);
    color: #f59e0b
}

.story-cat-resilience {
    background: rgba(139, 92, 246, .15);
    color: #a78bfa
}

.story-cat-health {
    background: rgba(236, 72, 153, .15);
    color: #f472b6
}

.story-cat-entrepreneurship {
    background: rgba(6, 182, 212, .15);
    color: #22d3ee
}

.story-cat-education {
    background: rgba(34, 197, 94, .15);
    color: #4ade80
}

.story-cat-sports {
    background: rgba(249, 115, 22, .15);
    color: #fb923c
}

.story-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: .75rem;
    color: var(--text-primary);
    transition: color .2s
}

.story-card:hover .story-card-title {
    color: #c4b5fd
}

.story-card-excerpt {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1
}

.story-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: .82rem;
    color: var(--text-muted)
}

.story-card-author {
    display: flex;
    align-items: center;
    gap: .5rem
}

.author-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0
}

.story-card-meta {
    display: flex;
    gap: .75rem;
    align-items: center
}

.story-likes {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: var(--accent-pink)
}

/* Quote */
.quote-section {
    padding: 5rem 0
}

.quote-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, .1), rgba(236, 72, 153, .1));
    border: 1px solid rgba(139, 92, 246, .25);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden
}

.quote-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, .05) 0%, transparent 70%);
    pointer-events: none
}

.quote-icon {
    font-size: 5rem;
    line-height: 1;
    color: var(--accent-purple);
    opacity: .3;
    margin-bottom: 1rem
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

.quote-author {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem
}

/* Trending */
.trending-section {
    background: var(--bg-secondary);
    padding: 6rem 0
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit
}

.trending-item:hover {
    transform: translateX(8px);
    border-color: rgba(139, 92, 246, .3);
    box-shadow: var(--shadow-sm)
}

.trending-num {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 40px;
    text-align: center;
    line-height: 1
}

.trending-emoji {
    font-size: 2rem;
    flex-shrink: 0
}

.trending-info {
    flex: 1
}

.trending-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .25rem
}

.trending-info p {
    font-size: .85rem;
    color: var(--text-secondary)
}

.trending-views {
    font-size: .82rem;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition)
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg)
}

.testi-featured {
    background: linear-gradient(135deg, rgba(139, 92, 246, .12), rgba(236, 72, 153, .08));
    border-color: rgba(139, 92, 246, .3)
}

.testi-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px
}

.testi-card p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic
}

.testi-author {
    display: flex;
    align-items: center;
    gap: .85rem
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0
}

.testi-author strong {
    display: block;
    font-size: .95rem
}

.testi-author span {
    font-size: .8rem;
    color: var(--text-muted)
}

/* Newsletter */
.newsletter-section {
    padding: 6rem 0;
    background: var(--bg-secondary)
}

.newsletter-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, .1), rgba(236, 72, 153, .07));
    border: 1px solid rgba(139, 92, 246, .25);
    border-radius: var(--radius-xl);
    padding: 4rem;
    position: relative;
    overflow: hidden
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, .08) 0%, transparent 70%);
    pointer-events: none
}

.nl-eyebrow {
    font-size: .9rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 1rem
}

.newsletter-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.25rem
}

.newsletter-left p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem
}

.nl-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.nl-perks li {
    font-size: .95rem;
    color: var(--text-secondary)
}

.newsletter-right {
    position: relative;
    z-index: 1
}

.newsletter-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem
}

.newsletter-form input {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: .9rem 1.25rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition)
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, .08);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .15)
}

.newsletter-form input::placeholder {
    color: var(--text-muted)
}

.newsletter-form .btn-primary {
    margin-bottom: 1rem
}

.nl-privacy {
    font-size: .8rem;
    color: var(--text-muted);
    text-align: center
}

.nl-success {
    text-align: center;
    padding: 2rem
}

.nl-success-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem
}

.nl-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem
}

.nl-success p {
    color: var(--text-secondary)
}

/* Support */
.support-section {
    padding: 4rem 0
}

.support-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7
}

/* Footer */
.footer {
    background: #060609;
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem
}

.footer-brand p {
    font-size: .9rem;
    color: var(--text-muted);
    max-width: 260px;
    line-height: 1.7;
    margin-bottom: 1.5rem
}

.footer-social {
    display: flex;
    gap: .75rem
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer
}

.social-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
    transform: translateY(-2px)
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.footer-links h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: .5rem
}

.footer-links a {
    font-size: .9rem;
    color: var(--text-secondary);
    transition: color .2s
}

.footer-links a:hover {
    color: var(--accent-purple)
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: .85rem;
    color: var(--text-muted)
}

/* Page Hero */
.page-hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary)
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem
}

.page-hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7
}

.search-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .75rem 1.5rem;
    transition: var(--transition)
}

.search-bar:focus-within {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .15)
}

.search-icon {
    font-size: 1.1rem;
    flex-shrink: 0
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem
}

.search-bar input::placeholder {
    color: var(--text-muted)
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: color .2s
}

.search-clear:hover {
    color: var(--text-primary)
}

/* Filter */
.filter-section {
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100
}

.filter-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap
}

.filter-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.filter-tab {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .5rem 1.2rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition)
}

.filter-tab:hover {
    color: var(--text-primary);
    border-color: rgba(139, 92, 246, .4)
}

.filter-tab.active {
    background: var(--gradient-main);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(139, 92, 246, .35)
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .9rem;
    color: var(--text-secondary)
}

.filter-sort select {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .5rem 1rem;
    color: var(--text-primary);
    font-size: .9rem;
    cursor: pointer
}

.filter-sort select:focus {
    outline: none;
    border-color: var(--accent-purple)
}

/* Stories Browse */
.stories-browse-section {
    padding: 3rem 0 5rem
}

.results-info {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 2rem
}

.no-results {
    text-align: center;
    padding: 5rem 2rem
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 2rem
}

/* Story Detail */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-main);
    z-index: 9999;
    transition: width .1s
}

.story-main {
    padding: 120px 0 4rem
}

.story-breadcrumb {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem
}

.story-breadcrumb a {
    color: var(--accent-purple)
}

.story-breadcrumb a:hover {
    text-decoration: underline
}

.story-article {
    max-width: 780px;
    margin: 0 auto
}

.story-article-header {
    margin-bottom: 2.5rem
}

.story-article-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 1rem 0 1.5rem
}

.story-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.story-article-author {
    display: flex;
    align-items: center;
    gap: .85rem
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0
}

.story-article-author strong {
    display: block;
    font-weight: 700
}

.story-article-author span {
    font-size: .85rem;
    color: var(--text-muted)
}

.story-article-info {
    display: flex;
    gap: 1.25rem;
    font-size: .88rem;
    color: var(--text-muted);
    flex-wrap: wrap
}

.story-hero-image {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    margin: 2.5rem 0
}

.story-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #d1d5db
}

.story-body p {
    margin-bottom: 1.75rem
}

.story-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-purple);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.8
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 2.5rem 0
}

.story-tag {
    background: rgba(139, 92, 246, .1);
    border: 1px solid rgba(139, 92, 246, .2);
    border-radius: 50px;
    padding: .35rem 1rem;
    font-size: .82rem;
    color: #a78bfa
}

.story-reactions {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin: 2.5rem 0;
    text-align: center
}

.reaction-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem
}

.reaction-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap
}

.reaction-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .65rem 1.5rem;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .5rem
}

.reaction-btn:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, .1)
}

.reaction-btn.reacted {
    background: rgba(139, 92, 246, .15);
    border-color: var(--accent-purple);
    color: #c4b5fd
}

.story-share {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border)
}

.story-share span {
    font-size: .9rem;
    color: var(--text-muted)
}

.share-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .5rem 1.1rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition)
}

.share-btn:hover {
    background: rgba(139, 92, 246, .1);
    border-color: var(--accent-purple);
    color: var(--text-primary)
}

.related-section {
    padding: 5rem 0;
    background: var(--bg-secondary)
}

/* Responsive */
@media(max-width:1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .newsletter-card {
        gap: 2.5rem;
        padding: 3rem
    }
}

@media(max-width:768px) {
    .nav-links {
        display: none
    }

    .nav-hamburger {
        display: block
    }

    .hero {
        flex-direction: column;
        padding: 120px 1.5rem 60px;
        gap: 3rem
    }

    .hero-visual {
        max-width: 100%
    }

    .card-2 {
        margin-left: 0
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem
    }

    .stories-grid {
        grid-template-columns: 1fr
    }

    .testimonials-grid {
        grid-template-columns: 1fr
    }

    .newsletter-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: .5rem;
        text-align: center
    }

    .hero-stats {
        justify-content: center
    }

    .filter-section .container {
        justify-content: flex-start
    }

    .story-article-meta {
        flex-direction: column;
        align-items: flex-start
    }

    .story-hero-image {
        height: 220px;
        font-size: 4rem
    }

    .trending-item {
        gap: 1rem
    }
}

@media(max-width:480px) {
    .categories-grid {
        grid-template-columns: 1fr
    }

    .hero-cta {
        flex-direction: column
    }

    .hero-stats {
        gap: 1.25rem
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .newsletter-card {
        padding: 1.5rem
    }

    .reaction-btns {
        flex-direction: column;
        align-items: center
    }
}