* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e27;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 60px;
}

/* Menu de navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-link {
    color: #a8b2d1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-link:hover {
    color: #fff;
    background: rgba(102, 126, 234, 0.2);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 80%;
}

/* Séparateur dans le menu */
.navbar-separator {
    width: 1px;
    height: 30px;
    background: rgba(102, 126, 234, 0.3);
    margin: 0 10px;
}

.navbar-link-special {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.4);
}

.navbar-link-special:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border-color: rgba(102, 126, 234, 0.6);
}

/* Animation des étoiles - Fond spatial INFINI */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 60px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent),
        radial-gradient(1px 1px at 150px 120px, white, transparent),
        radial-gradient(2px 2px at 180px 40px, white, transparent);
    background-size: 200px 200px;
    background-repeat: repeat;
    animation: animateStars 80s linear infinite;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 40px 60px, white, transparent),
        radial-gradient(1px 1px at 110px 90px, white, transparent),
        radial-gradient(1px 1px at 170px 30px, white, transparent),
        radial-gradient(1px 1px at 70px 140px, white, transparent);
    background-size: 300px 300px;
    background-repeat: repeat;
    animation: animateStars 120s linear infinite;
    opacity: 0.6;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 80px 10px, white, transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent),
        radial-gradient(1px 1px at 200px 180px, white, transparent);
    background-size: 400px 400px;
    background-repeat: repeat;
    animation: animateStars 160s linear infinite;
    opacity: 0.4;
}

@keyframes animateStars {
    from { 
        transform: translateY(0px);
    }
    to { 
        transform: translateY(-100%);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.orion {
    font-size: 5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    animation: glow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

@keyframes glow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5)) brightness(1); 
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.8)) brightness(1.3); 
    }
}

.subtitle {
    font-size: 1.3rem;
    color: #a8b2d1;
    font-weight: 300;
    letter-spacing: 2px;
}

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

.server-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.server-card.closed {
    opacity: 0.7;
}

.server-card.highlight {
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(102, 126, 234, 0.1);
}

.server-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.server-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.server-header h2 {
    font-size: 1.8rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.managers {
    color: #a8b2d1;
    font-size: 1rem;
}

.managers strong {
    color: #fff;
    font-weight: 600;
}

.status {
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.closed-status {
    background: rgba(255, 100, 100, 0.2);
    color: #ffaaaa;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.thanks {
    color: #ffa5d8;
    font-style: italic;
    text-align: center;
    font-size: 0.95rem;
}

.description {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Image souvenir UHC */
.souvenir-image {
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.souvenir-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Conteneur vidéo YouTube responsive */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin: 15px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.server-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

.btn-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-link:hover {
    background: linear-gradient(135deg, #5568d3, #653a8b);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Section Owners */
.owners-section {
    margin: 60px 0 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.owners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.owner-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.owner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.owner-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-name {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.owner-role {
    color: #a8b2d1;
    font-size: 1rem;
    margin-bottom: 20px;
}

.owner-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5865F2;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 10px;
    margin-top: 15px;
}

/* Section Réseaux Sociaux */
.social-section {
    margin: 60px 0 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.social-card svg {
    color: #667eea;
    transition: all 0.3s ease;
}

.social-card:hover svg {
    color: #f093fb;
    transform: scale(1.1);
}

.social-card h3 {
    font-size: 1.5rem;
    margin: 0;
}

.social-card p {
    color: #a8b2d1;
    font-size: 0.95rem;
    margin: 0;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

/* Lecteur Audio */
.music-player {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    min-width: 200px;
    transition: all 0.3s ease;
    cursor: move;
}

.music-player.minimized {
    padding: 6px;
    min-width: auto;
}

.music-player.minimized .player-controls,
.music-player.minimized .volume-control,
.music-player.minimized .song-info,
.music-player.minimized .progress-bar {
    display: none;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.control-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.control-btn svg {
    width: 16px;
    height: 16px;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

/* Barre de progression */
.progress-bar {
    margin-bottom: 8px;
}

#progressSlider {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 4px;
}

#progressSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    cursor: pointer;
}

#progressSlider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: #a8b2d1;
    font-size: 0.65rem;
}

/* Volume control - version compacte */
.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    color: #a8b2d1;
}

.volume-control svg {
    width: 14px;
    height: 14px;
}

#volumeSlider {
    flex: 1;
    max-width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    cursor: pointer;
}

#volumeSlider::-moz-range-thumb {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#volumeValue {
    min-width: 30px;
    font-size: 0.7rem;
}

.song-info {
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 6px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a8b2d1;
    transition: all 0.3s ease;
}

.toggle-btn svg {
    width: 14px;
    height: 14px;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Écran d'accueil */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s ease;
}

.welcome-content {
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.5s ease;
}

.welcome-logo {
    margin-bottom: 40px;
}

.welcome-orion {
    font-size: 6rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 12px;
    animation: welcomeGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.6));
    display: block;
}

@keyframes welcomeGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.6)) brightness(1); 
    }
    50% { 
        filter: drop-shadow(0 0 50px rgba(102, 126, 234, 0.9)) brightness(1.4); 
    }
}

.welcome-text {
    color: #a8b2d1;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 50px;
    animation: pulse 2s ease-in-out infinite;
}

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

.click-indicator {
    color: #667eea;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

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

/* Étoiles pour l'écran d'accueil */
.stars-welcome, .stars-welcome2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stars-welcome {
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent);
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite;
}

.stars-welcome2 {
    background-image: 
        radial-gradient(1px 1px at 40% 60%, white, transparent),
        radial-gradient(1px 1px at 70% 20%, white, transparent),
        radial-gradient(1px 1px at 30% 80%, white, transparent);
    background-size: 300px 300px;
    animation: twinkle 6s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 55px;
    }

    .navbar-container {
        padding: 12px 20px;
    }

    .navbar-logo {
        font-size: 1.2rem;
    }

    .navbar-menu {
        gap: 15px;
    }

    .navbar-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .orion {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .servers {
        grid-template-columns: 1fr;
    }
    
    .server-header h2 {
        font-size: 1.5rem;
    }
    
    .server-logo {
        width: 50px;
        height: 50px;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .owner-card {
        padding: 30px 20px;
    }

    .owner-avatar {
        width: 100px;
        height: 100px;
    }

    .music-player {
        top: 65px;
        right: 10px;
        min-width: 180px;
        padding: 8px;
    }

    .welcome-orion {
        font-size: 3.5rem;
        letter-spacing: 6px;
    }
    
    .welcome-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .navbar-menu {
        gap: 8px;
    }

    .navbar-link {
        font-size: 0.75rem;
        padding: 5px 8px;
    }

    .orion {
        font-size: 2.5rem;
    }

    .server-card {
        padding: 20px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .owner-card {
        padding: 25px 15px;
    }

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

    .welcome-orion {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5568d3, #653a8b);
}