/**
 * HabariDuka Homepage Redesign CSS
 * New sections: Trending Now, Creator Spotlight, Enhanced CTA
 * All styles use the hd- prefix to avoid conflicts with existing marketplace.css
 */

/* ============================================================
   SHARED SECTION STRUCTURE
   ============================================================ */
html, body {
    overflow-x: hidden;
}

.hd-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hd-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00bf63;
    background: rgba(0, 191, 99, 0.1);
    border: 1px solid rgba(0, 191, 99, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.hd-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hd-section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.hd-section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Shared buttons */
.hd-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: 2px solid #00bf63;
    border-radius: 100px;
    color: #00bf63;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.hd-btn-outline:hover {
    background: #00bf63;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 99, 0.3);
}

.hd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #00bf63, #00a854);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.hd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 191, 99, 0.4);
    color: white;
}
.hd-btn-primary.hd-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.hd-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.25);
}
.hd-btn-ghost:hover {
    color: white;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
}

.hd-creator-badge, .hd-trending-sales {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hd-price-old {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85em;
    font-weight: 400;
    margin-left: 4px;
}

/* ============================================================
   TRENDING NOW SECTION
   ============================================================ */
.hd-trending-section {
    padding: 80px 0;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.hd-trending-section::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 99, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hd-trending-section .hd-section-label {
    color: #00bf63;
    background: rgba(0, 191, 99, 0.12);
    border-color: rgba(0, 191, 99, 0.3);
}

.hd-trending-section .hd-section-title {
    color: #f8fafc;
}

.hd-trending-section .hd-section-subtitle {
    color: #94a3b8;
}

.hd-trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1200px) {
    .hd-trending-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .hd-trending-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}

.hd-trending-card {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hd-trending-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 191, 99, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.hd-trending-card:hover {
    border-color: rgba(0, 191, 99, 0.4);
    background: rgba(0, 191, 99, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.hd-trending-card:hover::before { opacity: 1; }

.hd-trending-rank {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    min-width: 28px;
    flex-shrink: 0;
    padding-top: 2px;
}

.hd-trending-card:hover .hd-trending-rank {
    color: rgba(0, 191, 99, 0.4);
}

.hd-trending-cover {
    width: 64px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.hd-trending-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hd-trending-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a2f, #00bf63);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 1.25rem;
}

.hd-trending-fire-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(239,68,68,0.95), transparent);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 4px 4px 2px;
    text-align: center;
    line-height: 1.2;
}

.hd-trending-info {
    flex: 1;
    min-width: 0;
}

.hd-trending-category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #00bf63;
    margin-bottom: 0.25rem;
}

.hd-trending-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hd-trending-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.hd-trending-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.hd-trending-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #00bf63;
}

.hd-trending-sales {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* ============================================================
   CREATOR SPOTLIGHT SECTION
   ============================================================ */
.hd-creators-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.hd-creators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .hd-creators-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .hd-creators-grid { grid-template-columns: 1fr; }
}

.hd-creator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hd-creator-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bf63, #00a854);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hd-creator-card:hover {
    border-color: #00bf63;
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 191, 99, 0.15);
}

.hd-creator-card:hover::after {
    transform: scaleX(1);
}

.hd-creator-avatar-wrap {
    position: relative;
    margin-bottom: 1.25rem;
}

.hd-creator-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    transition: border-color 0.3s;
}

.hd-creator-card:hover .hd-creator-avatar {
    border-color: #00bf63;
}

.hd-creator-avatar-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bf63, #00a854);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.hd-creator-verified {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #00bf63;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
}

.hd-creator-info {
    flex: 1;
    width: 100%;
}

.hd-creator-name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.hd-creator-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.hd-creator-tier {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hd-creator-bio {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hd-creator-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #f1f5f9;
}

.hd-creator-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.hd-creator-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.hd-creator-stat-lbl {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hd-creator-cta {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #00bf63;
    transition: gap 0.2s;
}

.hd-creator-card:hover .hd-creator-cta {
    gap: 0.7rem;
}

/* ============================================================
   BECOME A CREATOR CTA SECTION
   ============================================================ */
.hd-become-creator-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0d2416 100%);
    position: relative;
    overflow: hidden;
}

.hd-become-creator-cta::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 99, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hd-become-creator-cta::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 84, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.hd-cta-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hd-cta-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hd-cta-visual { order: -1; }
}

.hd-cta-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00bf63;
    background: rgba(0, 191, 99, 0.12);
    border: 1px solid rgba(0, 191, 99, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.hd-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hd-cta-title { font-size: 2rem; }
}

.hd-cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 500px;
}

.hd-cta-subtitle strong {
    color: #00bf63;
}

.hd-cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .hd-cta-features { grid-template-columns: 1fr; }
}

.hd-cta-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.hd-cta-feature i {
    color: #00bf63;
    font-size: 1rem;
    flex-shrink: 0;
}

.hd-cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Earnings Card */
.hd-cta-visual {
    display: flex;
    justify-content: center;
}

.hd-cta-earnings-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    width: 100%;
    max-width: 360px;
    position: relative;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hd-cta-earnings-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.hd-cta-earnings-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    color: #00bf63;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hd-cta-earnings-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 2rem;
}

.hd-cta-mini-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: white;
}

/* ============================================================
   RESPONSIVE TWEAKS FOR SECTION HEADERS
   ============================================================ */
@media (max-width: 768px) {
    .hd-section-title { font-size: 1.75rem; }
    .hd-section-subtitle { font-size: 0.95rem; }
    .hd-trending-section,
    .hd-creators-section,
    .hd-become-creator-cta { padding: 50px 0; }

    .hd-trending-card {
        padding: 0.75rem;
        gap: 0.6rem;
    }

    .hd-trending-rank {
        font-size: 1.1rem;
        min-width: 20px;
    }

    .hd-trending-cover {
        width: 52px;
        height: 64px;
    }

    .hd-creator-card {
        padding: 1.5rem 1rem;
    }
}

/* ============================================================
   SCROLL ENTRANCE ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .hd-trending-card,
    .hd-creator-card {
        animation: fadeSlideUp 0.5s ease both;
    }

    .hd-trending-card:nth-child(1) { animation-delay: 0.05s; }
    .hd-trending-card:nth-child(2) { animation-delay: 0.10s; }
    .hd-trending-card:nth-child(3) { animation-delay: 0.15s; }
    .hd-trending-card:nth-child(4) { animation-delay: 0.20s; }
    .hd-trending-card:nth-child(5) { animation-delay: 0.25s; }
    .hd-trending-card:nth-child(6) { animation-delay: 0.30s; }
    .hd-trending-card:nth-child(7) { animation-delay: 0.35s; }
    .hd-trending-card:nth-child(8) { animation-delay: 0.40s; }

    .hd-creator-card:nth-child(1) { animation-delay: 0.05s; }
    .hd-creator-card:nth-child(2) { animation-delay: 0.12s; }
    .hd-creator-card:nth-child(3) { animation-delay: 0.19s; }
    .hd-creator-card:nth-child(4) { animation-delay: 0.26s; }
    .hd-creator-card:nth-child(5) { animation-delay: 0.33s; }
    .hd-creator-card:nth-child(6) { animation-delay: 0.40s; }

    @keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ============================================================
   BRAND-FIRST HERO (Volume 2)
   ============================================================ */
.hd-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #0d2d1a 60%, #0f172a 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
.hd-hero::before {
    content: '';
    position: absolute;
    top: -200px; left: -200px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,191,99,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hd-hero::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,168,84,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hd-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 991px) {
    .hd-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hd-hero-visual { display: none; }
    .hd-hero { min-height: auto; padding: 90px 0 40px; }
}
.hd-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00bf63;
    background: rgba(0,191,99,0.1);
    border: 1px solid rgba(0,191,99,0.25);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hd-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.hd-hero-title .hd-hero-accent { color: #00bf63; }
@media (max-width: 768px) { .hd-hero-title { font-size: 2.4rem; } }
@media (max-width: 480px) { .hd-hero-title { font-size: 2rem; } }
.hd-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}
.hd-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hd-hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hd-hero-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #00bf63;
}
.hd-hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}
@media (max-width: 480px) {
    .hd-hero-stats { gap: 1.5rem; }
    .hd-hero-stat-value { font-size: 1.4rem; }
    .hd-hero-actions { flex-direction: column; }
    .hd-hero-actions .hd-btn-primary,
    .hd-hero-actions .hd-btn-outline { width: 100%; justify-content: center; }
}

/* Hero search bar */
.hd-hero-search {
    margin-bottom: 2rem;
    position: relative;
}
.hd-hero-search input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.25rem;
    border-radius: 100px;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.hd-hero-search input::placeholder { color: rgba(255,255,255,0.4); }
.hd-hero-search input:focus {
    outline: none;
    border-color: #00bf63;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 4px rgba(0,191,99,0.15);
}
.hd-hero-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
}
.hd-hero-search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #00bf63;
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.hd-hero-search-btn:hover { background: #00a854; }

/* Hero visual — product carousel wrapper */
.hd-hero-visual { position: relative; }
.hd-hero-carousel-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

/* ============================================================
   CATEGORIES VISUAL GRID (Volume 2 — replaces marquee)
   ============================================================ */
.hd-categories-section { padding: 70px 0; background: #f8fafc; }
.hd-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1024px) { .hd-categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .hd-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; } }

.hd-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1rem;
    background: white;
    border-radius: 20px;
    border: 2px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.hd-category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,191,99,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.hd-category-item:hover {
    border-color: #00bf63;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,191,99,0.15);
    color: inherit;
}
.hd-category-item:hover::before { opacity: 1; }
.hd-category-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #00bf63;
    margin-bottom: 1rem;
    transition: all 0.3s;
}
.hd-category-item:hover .hd-category-icon-wrap {
    background: linear-gradient(135deg, #00bf63, #00a854);
    color: white;
    transform: scale(1.1);
}
.hd-category-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.hd-category-count {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ============================================================
   NEW ARRIVALS SECTION (Volume 2)
   ============================================================ */
.hd-new-arrivals-section { padding: 70px 0; background: white; }
.hd-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) { .hd-arrivals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .hd-arrivals-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.hd-arrival-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}
.hd-arrival-card:hover {
    border-color: #00bf63;
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,191,99,0.12);
    color: inherit;
}
.hd-arrival-cover {
    height: 200px;
    background: linear-gradient(135deg, #00bf63, #00a854);
    position: relative;
    overflow: hidden;
}
.hd-arrival-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.hd-arrival-card:hover .hd-arrival-cover img { transform: scale(1.05); }
.hd-arrival-new-badge {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    background: #00bf63;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hd-arrival-info { padding: 1rem; }
.hd-arrival-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #00bf63;
    margin-bottom: 0.35rem;
}
.hd-arrival-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hd-arrival-author { font-size: 0.8rem; color: #64748b; margin-bottom: 0.5rem; }
.hd-arrival-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #00bf63;
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR (Volume 2)
   ============================================================ */
.hd-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: stretch;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.hd-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.2s;
}
.hd-bottom-nav-item i { font-size: 1.25rem; transition: transform 0.2s; }
.hd-bottom-nav-item.active { color: #00bf63; }
.hd-bottom-nav-item.active i { transform: scale(1.1); }
.hd-bottom-nav-item:hover { color: #00bf63; }
.hd-bottom-nav-badge {
    position: absolute;
    top: 6px; right: calc(50% - 18px);
    min-width: 18px; height: 18px;
    background: #ec4899;
    color: white;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid white;
}
/* Add bottom padding to body on mobile so content isn't hidden behind nav */
@media (max-width: 991px) {
    body { padding-bottom: 64px !important; }
}

/* ============================================================
   CREATOR SPOTLIGHT SECTION (Volume 2)
   ============================================================ */
.hd-creators-section { padding: 70px 0; background: #f8fafc; }
.hd-creators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 992px) { .hd-creators-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .hd-creators-grid { grid-template-columns: 1fr; } }

.hd-creator-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1.5px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hd-creator-card:hover {
    border-color: #00bf63;
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 191, 99, 0.12);
    color: inherit;
}
.hd-creator-avatar-wrap {
    position: relative;
    width: 80px; height: 80px;
    margin-bottom: 1.25rem;
}
.hd-creator-avatar {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.hd-creator-avatar-initials {
    background: linear-gradient(135deg, #00bf63, #00a854);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700;
}
.hd-creator-verified {
    position: absolute;
    bottom: 0; right: 0;
    background: #3b82f6; color: white;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; border: 2px solid white;
}
.hd-creator-name-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; flex-wrap: wrap; }
.hd-creator-name { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; color: #0f172a; margin: 0; }
.hd-creator-role {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    color: #00bf63; letter-spacing: 0.5px; margin-bottom: 0.75rem;
}
.hd-creator-tier { font-size: 0.65rem; color: white; padding: 0.15rem 0.5rem; border-radius: 100px; font-weight: 700; }
.hd-creator-bio { font-size: 0.85rem; color: #64748b; line-height: 1.5; margin-bottom: 1.25rem; flex-grow: 1; }
.hd-creator-stats {
    display: flex; gap: 1rem; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0; margin-bottom: 1.25rem;
}
.hd-creator-stat { display: flex; flex-direction: column; }
.hd-creator-stat-val { font-weight: 700; color: #0f172a; font-size: 1rem; }
.hd-creator-stat-lbl { font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.hd-creator-cta {
    font-weight: 600; color: #00bf63; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.5rem; transition: gap 0.2s;
}
.hd-creator-card:hover .hd-creator-cta { gap: 0.75rem; }

/* ============================================================
   BECOME A CREATOR CTA (Volume 2)
   ============================================================ */
.hd-become-creator-cta { padding: 80px 0; background: #0f172a; position: relative; overflow: hidden; }
.hd-become-creator-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(0,191,99,0.15) 0%, transparent 50%);
}
.hd-cta-content {
    display: flex; align-items: center; gap: 4rem; position: relative; z-index: 1;
}
@media (max-width: 992px) { .hd-cta-content { flex-direction: column; gap: 3rem; } }
.hd-cta-text { flex: 1; color: white; }
.hd-cta-eyebrow {
    display: inline-block; padding: 0.4rem 1rem; background: rgba(0,191,99,0.1); border: 1px solid rgba(0,191,99,0.2);
    border-radius: 100px; color: #00bf63; font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem;
}
.hd-cta-title { font-family: 'Outfit', sans-serif; font-size: 2.75rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; }
@media (max-width: 768px) { .hd-cta-title { font-size: 2.25rem; } }
.hd-cta-subtitle { font-size: 1.1rem; color: #94a3b8; line-height: 1.6; margin-bottom: 2rem; max-width: 90%; }
.hd-cta-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2.5rem; }
@media (max-width: 576px) { .hd-cta-features { grid-template-columns: 1fr; } }
.hd-cta-feature { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 0.95rem; color: #cbd5e1; }
.hd-cta-feature i { color: #00bf63; }
.hd-cta-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hd-cta-visual { flex: 0 0 450px; }
@media (max-width: 992px) { .hd-cta-visual { flex: auto; width: 100%; max-width: 450px; } }
.hd-cta-earnings-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px;
    padding: 2.5rem; text-align: center; backdrop-filter: blur(20px); box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.hd-cta-earnings-label { font-size: 0.9rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.hd-cta-earnings-amount { font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 0.5rem; }
.hd-cta-earnings-amount { background: linear-gradient(135deg, #00bf63, #00a854); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hd-cta-earnings-sub { font-size: 0.95rem; color: #64748b; margin-bottom: 2rem; }
.hd-cta-mini-stats { display: flex; justify-content: center; gap: 3rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; }
