/* Styles pour les liens de navigation */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #f74986, #B85EE6);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: #B85EE6;
}

/* Animation pour le hover */
.nav-links a:hover {
    color: #B85EE6;
}

/* Styles pour la carte Halloween avec QR code */
.halloween-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(139, 0, 139, 0.05) 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    min-height: auto !important;
    padding: 2rem !important;
}

.halloween-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.halloween-card p {
    margin-bottom: 1rem;
}

.halloween-card .tech-badges {
    margin-bottom: 0.5rem;
}

.halloween-card .project-links {
    margin-top: 0.5rem;
}

.halloween-card:hover {
    border-color: rgba(255, 140, 0, 0.4);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.2);
}

.qr-code-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 0.75rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.qr-instruction {
    color: #1a1a1a !important;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.qr-code {
    display: block;
    margin: 0 auto;
    width: 130px;
    height: 130px;
    border-radius: 8px;
    padding: 6px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qr-code:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Animation spéciale pour la carte Halloween */
.halloween-card::before {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.3), transparent);
}

@media (max-width: 768px) {
    .qr-code-container {
        padding: 0.6rem;
        max-width: 200px;
    }
    
    .qr-instruction {
        font-size: 0.7rem !important;
        margin-bottom: 0.4rem;
    }
    
    .qr-code {
        width: 110px;
        height: 110px;
        padding: 5px;
    }
}