        /* Hub-specific styles - scoped to avoid global conflicts */
        
        .hub-dashboard {
            width: 100%;
        }

        .hub-hero {
            text-align: center;
            margin-bottom: 40px;
        }

        .hub-hero h1 {
            font-size: 36px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
        }

        .brand-section {
            margin-bottom: 60px;
            display: none; /* Hide old brand section if present */
        }

        .hub-dashboard .brand-logo {
            display: inline-flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .hub-dashboard .brand-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
        }

        .hub-dashboard .wave-animation {
            display: flex;
            gap: 4px;
            align-items: center;
        }

        .hub-dashboard .wave-bar {
            width: 6px;
            height: 24px;
            background: white;
            border-radius: 3px;
            animation: hub-wave 1.5s ease-in-out infinite;
        }

        .hub-dashboard .wave-bar:nth-child(2) { animation-delay: 0.1s; }
        .hub-dashboard .wave-bar:nth-child(3) { animation-delay: 0.2s; }
        .hub-dashboard .wave-bar:nth-child(4) { animation-delay: 0.3s; }

        @keyframes hub-wave {
            0%, 100% { height: 24px; opacity: 0.7; }
            50% { height: 40px; opacity: 1; }
        }

        .hub-dashboard .brand-text {
            font-size: 48px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .tagline {
            font-size: 20px;
            color: #888;
            margin-bottom: 20px;
        }

        .description {
            font-size: 16px;
            color: #b0b0b0;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .pages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }

        .page-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 30px;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
            position: relative;
            overflow: hidden;
        }

        .page-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .page-card:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.1);
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .page-card:hover::before {
            transform: scaleX(1);
        }

        .page-icon {
            font-size: 48px;
            margin-bottom: 20px;
            display: block;
        }

        .page-card h3 {
            font-size: 24px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 15px;
        }

        .page-card p {
            color: #888;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .page-features {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .feature-tag {
            background: rgba(102, 126, 234, 0.2);
            color: #667eea;
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 12px;
            font-weight: 500;
        }

        .page-status {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #4ade80;
            margin-top: auto;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #4ade80;
            animation: pulse 2s infinite;
        }

        .info-section {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
        }

        .info-section h2 {
            font-size: 28px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 20px;
            text-align: center;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            transition: all 0.2s ease;
        }

        .feature-item:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-2px);
        }

        .feature-icon {
            font-size: 24px;
            flex-shrink: 0;
        }

        .feature-content h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 5px;
        }

        .feature-content p {
            font-size: 14px;
            color: #888;
            line-height: 1.5;
        }

        .tech-stack {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        .tech-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 15px 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            transition: all 0.2s ease;
        }

        .tech-item:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: scale(1.05);
        }

        .tech-icon {
            font-size: 20px;
        }

        .tech-name {
            font-size: 14px;
            font-weight: 500;
            color: #e0e0e0;
        }

        .footer {
            text-align: center;
            color: #666;
            font-size: 14px;
            margin-top: 40px;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hub-container {
                padding: 20px;
            }

            .hub-dashboard .brand-text {
                font-size: 36px;
            }

            .tagline {
                font-size: 18px;
            }

            .pages-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .tech-stack {
                gap: 15px;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Animations d'entrée */
        .page-card {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .page-card:nth-child(1) { animation-delay: 0.1s; }
        .page-card:nth-child(2) { animation-delay: 0.2s; }
        .page-card:nth-child(3) { animation-delay: 0.3s; }
        .page-card:nth-child(4) { animation-delay: 0.4s; }
        .page-card:nth-child(5) { animation-delay: 0.5s; }
        .page-card:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        :root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --background-dark: radial-gradient(circle at 20% 50%, #1a1a2e 0%, #16213e 25%, #0f0f0f 100%);
    --surface-bg: rgba(255, 255, 255, 0.02);
    --surface-border: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.05);
    --surface-active: rgba(102, 126, 234, 0.15);
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --text-muted: #888;
    --accent-success: #4ade80;
    --accent-warning: #facc15;
    --accent-error: #ff6b6b;
}
* {
    max-width: 100%;
}

/* Assurer la cohérence des polices */
body, input, textarea, select, button {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Améliorer l'accessibilité */
:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Éviter les problèmes de z-index */
.header { z-index: 100; }
.rythm-notification { z-index: 10000; }
.page-loader { z-index: 10000; }

/* Assurer que tous les liens sont cliquables */
a {
    cursor: pointer;
}

/* Transitions fluides pour tous les éléments interactifs */
.header-btn,
.nav-item,
.page-card,
.widget,
.see-all-link,
.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Éviter les problèmes de mise en page */
.main-layout,
.friends-layout,
.discover-layout,
.messages-layout {
    min-height: 0;
    overflow: hidden;
}

/* Assurer que le contenu ne déborde pas */
.content-area,
.discover-content,
.profile-content {
    min-width: 0;
    overflow-x: hidden;
}