.site-header {
    border-bottom: 1px solid #1f2937;
    padding: 1.25rem;
    background-color: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(24px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.header-logo-wrapper { display: flex; justify-content: flex-start; }
.header-nav-links { display: flex; justify-content: center; gap: 2.5rem; }
.header-action { display: flex; justify-content: flex-end; }

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #22d3ee;
    text-decoration: none;
    letter-spacing: -0.05em;
    transition: opacity 0.3s;
}
.logo:hover { opacity: 0.8; }
.logo-light { color: white; font-weight: 300; margin-left: 0.25rem; }

.nav-link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}
.nav-link:hover { color: white; border-bottom-color: #22d3ee; }
.nav-link.active { color: #22d3ee; }

.connect-btn {
    background-color: white;
    color: black;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.connect-btn:hover {
    background-color: #22d3ee;
    color: white;
}
/* --- MODAL WALLET GLOBALE --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;   /* Force toute la largeur */
    height: 100vh;  /* Force toute la hauteur */    
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* On s'assure qu'il est au-dessus de tout */
}

.modal-content {
    background: #111827;
    border: 1px solid #374151;
    padding: 2rem;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.2rem;
    cursor: pointer;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wallet-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 1rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.wallet-btn:hover { border-color: #22d3ee; }
.wallet-btn img { width: 24px; height: 24px; }
