.logo-container {
    position: relative;
    width: 800px;
    height: auto;
    min-height: 400px;
    perspective: 1000px;
    cursor: pointer;
    margin: 0 auto;
    padding: 2rem 0;
}

.logo {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.text-3d {
    font-size: 4em;
    font-weight: 900;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.ss {
    color: #00ff9d;
    text-shadow: 
        0 0 20px rgba(0, 255, 157, 0.5),
        0 0 40px rgba(0, 255, 157, 0.3),
        0 0 60px rgba(0, 255, 157, 0.2);
}

.crypto {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.2);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.grid {
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(23, 184, 144, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 184, 144, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(45deg);
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: perspective(500px) rotateX(45deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(45deg) translateY(50px);
    }
}

.logo-text {
    text-align: center;
    margin-top: 3rem;
    animation: fadeIn 1s ease-out;
}

.logo-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff99, #33ccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: glow 2s ease-in-out infinite alternate;
}

.logo-text h2 {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.logo-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 255, 153, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 255, 153, 0.8);
    }
}

/* Styles pour le logo dans la navigation */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1000;
}

.nav-logo .text-3d {
    font-size: 1.8em;
    font-weight: 900;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.nav-logo .ss {
    color: #00ff9d;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.nav-logo .crypto {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand:hover .nav-logo {
    transform: scale(1.05) translateZ(20px);
}

/* Effet de survol */
.nav-logo:hover .text-3d {
    transform: scale(1.1);
}

.nav-logo:hover .ss {
    text-shadow: 
        0 0 10px rgba(0, 255, 157, 0.8),
        0 0 20px rgba(0, 255, 157, 0.5),
        0 0 30px rgba(0, 255, 157, 0.3);
}

.nav-logo:hover .crypto {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .logo-container {
        width: 100%;
        max-width: 400px;
        min-height: 300px;
        padding: 1rem;
    }

    .text-3d {
        font-size: 2em;
    }

    .nav-logo .text-3d {
        font-size: 1.2em;
    }

    .logo-text h1 {
        font-size: 1.8rem;
    }

    .logo-text h2 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 1rem;
    }
}
