/* 🎸 JOHNNY NETWORK - Design Ultra-Moderne Glassmorphism */
/* Palette: Noir profond + Feu (Orange/Rouge) + Bleu électrique */
/* ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === VARIABLES === */
:root {
    --bg-dark: #000000;
    --bg-card: rgba(10, 10, 15, 0.7);
    --gold-primary: #ffd700;
    --gold-secondary: #ffb700;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffc107 100%);
    --blue-primary: #00d9ff;
    --blue-secondary: #0099ff;
    --blue-gradient: linear-gradient(135deg, #00d9ff 0%, #0099ff 50%, #0066ff 100%);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --shadow-glow-gold: 0 8px 32px rgba(255, 215, 0, 0.3);
    --shadow-glow-blue: 0 8px 32px rgba(0, 217, 255, 0.3);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BODY === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(0, 217, 255, 0.20) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 215, 0, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 153, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(0, 217, 255, 0.15) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Effet scintillant animé avec plus de bleu */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 60% 20%, rgba(255, 215, 0, 0.10) 0%, transparent 40%);
    animation: sparkleBlue 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes sparkleBlue {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.15) rotate(5deg);
    }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 15, 25, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

/* === OVERLAY FLOU === */
.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    z-index: 9999;
    transition: all 0.4s ease;
}

.blur-overlay.hidden {
    display: none;
}

/* === HEADER MODERNE === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #00d9ff, #ffd700, #00d9ff, #0099ff) 1;
    padding: 15px 0;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 2px 20px rgba(0, 217, 255, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    }
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

/* === BARRE DE RECHERCHE === */
.search-bar {
    position: relative;
    max-width: 450px;
    flex: 1;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gold-primary);
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    transform: translateY(-50%) scale(1.2);
}

/* === NAVIGATION === */
.nav-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-group:last-child {
    border-right: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.nav-item:hover::before {
    opacity: 0.15;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-item-icon {
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.nav-item-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.nav-icon {
    position: relative;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.nav-icon:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--gold-gradient);
    color: #000;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    border: 2px solid var(--bg-dark);
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    50% { 
        transform: scale(1.15); 
        box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
    }
}

/* === SECTION UTILISATEUR === */
.nav-user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 8px 20px 8px 8px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 18px;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3);
    animation: glowGold 3s ease-in-out infinite;
}

@keyframes glowGold {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(255, 215, 0, 0.5),
            0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(255, 215, 0, 0.7),
            0 0 30px rgba(255, 215, 0, 0.5);
    }
}

.logout-btn {
    background: rgba(255, 50, 50, 0.2);
    color: white;
    border: 1px solid rgba(255, 50, 50, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 50, 50, 0.4);
    transform: translateY(-1px);
}

/* === LAYOUT PRINCIPAL === */
.main-content {
    margin-top: 90px;
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 25px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 20px;
    min-height: calc(100vh - 90px);
}

/* === SIDEBAR - GLASSMORPHISM === */
.sidebar-left,
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    position: sticky;
    top: 110px;
}

/* === PROFILE CARD === */
.profile-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 5px 20px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 60px rgba(0, 0, 0, 0.6),
        0 10px 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    transition: all 0.4s ease;
}

.profile-card:hover .profile-avatar {
    transform: scale(1.1) rotate(5deg);
}

.profile-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-bio {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* === WIDGETS === */
.widget {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    padding: 25px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 217, 255, 0.25),
        0 2px 8px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 217, 255, 0.15) 50%,
        transparent 70%
    );
    animation: shineBlue 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shineBlue {
    0% {
        transform: rotate(0deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(360deg) translate(-50%, -50%);
    }
}

.widget:hover {
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.6),
        0 8px 32px rgba(0, 217, 255, 0.5),
        0 4px 16px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(0, 217, 255, 0.2);
    transform: translateY(-5px);
}

.widget h3 {
    color: transparent;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* === ACCÈS RAPIDES === */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-btn {
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.quick-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.quick-icon {
    font-size: 28px;
}

.quick-text {
    font-size: 12px;
    font-weight: 600;
}

.quick-btn-gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    box-shadow: 
        0 4px 16px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

.quick-btn-gold:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

/* === NAVIGATION SIDEBAR === */
.sidebar-nav {
    margin-top: 10px;
}

.nav-divider {
    border: none;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    margin: 20px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    margin-bottom: 8px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
}

.menu-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-primary);
    transform: translateX(8px);
    border-left: 3px solid var(--gold-primary);
    padding-left: 15px;
}

/* === FEED CENTRAL === */
.center-feed {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* === CRÉATEUR DE POST === */
.post-creator {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 25px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.post-creator:hover {
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.post-input {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.post-input textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px 20px;
    color: white;
    resize: none;
    height: 90px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.post-input textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.post-input textarea::placeholder {
    color: var(--text-muted);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.post-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-option {
    padding: 10px 18px;
    background: rgba(0, 217, 255, 0.12);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #00d9ff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-option:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: #00d9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.3);
}

.post-submit-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.char-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* === BOUTONS === */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.post-btn {
    background: var(--gold-gradient);
    color: #000000;
    border: none;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.post-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.post-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.create-account-btn {
    background: var(--gold-gradient);
    color: #000000;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.create-account-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

/* === POSTS === */
.post {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 20px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(0, 217, 255, 0.3),
        0 2px 10px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(0, 217, 255, 0.1);
    animation: fadeInUp 0.5s ease;
    position: relative;
    overflow: hidden;
}

.post::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(0, 217, 255, 0.2) 50%,
        transparent 70%
    );
    animation: shineBlue 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post:hover {
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.6),
        0 8px 32px rgba(0, 217, 255, 0.5),
        0 4px 20px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(0, 217, 255, 0.2);
    transform: translateY(-5px);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.post-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.post-author-avatar:hover {
    transform: scale(1.1) rotate(5deg);
}

.post-author-info {
    flex: 1;
}

.post-author-info h4 {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

.post-time {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.post-content {
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 15px;
    color: var(--text-secondary);
}

/* === MÉDIAS === */
.post-media {
    margin: 18px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.post-image:hover {
    transform: scale(1.02);
}

.post-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    border-radius: 20px;
}

.post-youtube-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.post-audio {
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 153, 255, 0.1));
    border-radius: 20px;
    margin: 18px 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
}

.post-audio audio {
    width: 100%;
    height: 50px;
    border-radius: 50px;
    filter: hue-rotate(10deg) saturate(1.2);
}

/* === INTERACTIONS === */
.post-actions-bar {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.post-stats span {
    cursor: pointer;
    transition: color 0.3s ease;
}

.post-stats span:hover {
    color: var(--gold-primary);
}

.post-interactions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
}

.interaction-btn {
    flex: 1;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.interaction-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.interaction-btn.liked {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* === COMMENTAIRES === */
.comments-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.comments-list {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.comment-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: var(--blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.comment-bubble {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 20px 20px 20px 5px;
    margin-bottom: 5px;
}

.comment-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-primary);
    cursor: pointer;
    display: block;
    margin-bottom: 5px;
}

.comment-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.comment-input-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.comment-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.comment-send-btn {
    background: var(--blue-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.comment-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 153, 255, 0.5);
}

/* === PRÉVISUALISATION MÉDIAS === */
.media-preview {
    margin: 18px 0;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.05);
    overflow: hidden;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.media-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 14px;
}

.remove-preview-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.remove-preview-btn:hover {
    background: rgba(255, 50, 50, 0.3);
    transform: scale(1.1);
}

/* === WIDGETS SIDEBAR === */
.song-widget {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: 20px;
}

.song-icon {
    font-size: 52px;
    margin-bottom: 15px;
}

.listen-btn {
    background: var(--blue-gradient);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    color: #000000;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 6px 25px rgba(0, 217, 255, 0.5);
}

.listen-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 217, 255, 0.7);
    filter: brightness(1.2);
}

.event-preview {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 18px;
    border: none;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.event-preview-btn {
    width: 100%;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-primary);
    border: none;
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.event-preview-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35);
}

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat-item:hover {
    background: rgba(255, 215, 0, 0.08);
    transform: translateY(-5px);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* === ÉTATS VIDES === */
.empty-state {
    text-align: center;
    padding: 80px 30px;
    color: var(--text-muted);
}

.empty-state .emoji {
    font-size: 72px;
    margin-bottom: 25px;
    display: block;
    filter: grayscale(30%);
}

.empty-state h3 {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 700;
}

.empty-state p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto 25px;
    color: var(--text-secondary);
}

/* === MODAL CONNEXION === */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.login-modal.active {
    display: flex;
}

.login-content {
    background: var(--bg-card);
    backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    padding: 45px;
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-strong);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--gold-primary);
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.login-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.login-switch {
    text-align: center;
    margin-top: 25px;
    color: var(--text-secondary);
}

.login-switch a {
    color: var(--gold-primary);
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
}

.login-switch a:hover {
    text-decoration: underline;
}

/* === MODAL PARTAGE === */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.share-modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.share-modal-header h3 {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    font-weight: 700;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-modal-btn:hover {
    color: white;
    transform: rotate(90deg);
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-option-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 18px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.share-option-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--gold-primary);
    transform: translateX(5px);
}

.share-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
}

.share-option-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.share-option-text small {
    color: var(--text-muted);
    font-size: 13px;
}

/* === MODAL IMAGE === */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 15px;
    cursor: default;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.close-image-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-image-modal:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: rotate(90deg);
}

/* === NOTIFICATIONS === */
.notification-toast {
    position: fixed;
    top: 110px;
    right: -400px;
    background: var(--bg-card);
    backdrop-filter: blur(30px) saturate(180%);
    border-left: 4px solid var(--gold-primary);
    border-radius: 15px;
    padding: 18px 25px;
    min-width: 320px;
    max-width: 420px;
    box-shadow: var(--shadow-strong);
    z-index: 10001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-toast.show {
    right: 30px;
}

.notification-toast.success {
    border-left-color: #00ff88;
}

.notification-toast.error {
    border-left-color: #ff3366;
}

.notification-toast.warning {
    border-left-color: #ffaa00;
}

.notification-toast.info {
    border-left-color: var(--blue-primary);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    font-size: 26px;
}

.notification-message {
    color: white;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

/* === LOADING SPINNER === */
.loading-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--gold-primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === BOUTON PROFIL FLOTTANT === */
.profile-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nav-item-text {
        display: none;
    }
    
    .search-bar {
        max-width: 250px;
    }
    
    .main-content {
        grid-template-columns: 280px 1fr 280px;
        gap: 20px;
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 10px;
    }
    
    .sidebar-left,
    .sidebar-right {
        position: static;
    }
    
    .search-bar {
        display: none;
    }
    
    .nav-group {
        gap: 10px;
        padding: 0 10px;
    }
    
    .user-profile span {
        display: none;
    }
    
    .post-options {
        justify-content: center;
    }
    
    .notification-toast {
        max-width: calc(100vw - 40px);
        min-width: auto;
    }
    
    .login-content {
        padding: 30px 25px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .logo span:last-child {
        display: none;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .interaction-btn {
        font-size: 12px;
        padding: 10px;
    }
}