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

body {
    font-family: Arial, sans-serif;
    background: #130213;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Connect Wallet Button */
#connectButton {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background: white;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#connectButton:hover {
    background: #f0f0f0;
}

/* GM Button */
.gm-button {
    width: 150px;
    height: 150px;
    font-size: 24px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    color: white;
    background: #0b3d91;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-button:hover {
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

#message {
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px; 
    height: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-button:disabled {
    background-color: grey !important;
    cursor: not-allowed;
    opacity: 0.6;
}

#gmCountdown {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    display: none;
}

#gmCountContainer {
    display: none;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    padding: 60px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.soneium-logo-container {
    position: absolute;
    display: flex;
    align-items: center;
    bottom: 100px;
    gap: 10px;
}

.soneium-logo {
    width: 200px;
    height: auto;
    opacity: 0.2; 
}

/* Styles du menu latéral */
.menu {
    position: fixed;
    left: -250px; /* Caché par défaut */
    top: 0;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: left 0.3s ease-in-out;
    padding: 10px;
}

/* Affichage du menu quand il est ouvert */
.menu.open {
    left: 0;
}

/* Styles des éléments du menu */
.menu ul {
    list-style: none;
    padding-top: 50px;
    text-align: left;
    padding-left: 20px;
}

.menu ul li {
    padding: 15px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    text-align: center;
}

.menu ul li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.menu ul li a {
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    transition: color 0.3s ease-in-out;
}

.menu ul li a:hover {
    color: #facc15; /* Jaune doré pour un effet dynamique */
}

/* Style du bouton d'ouverture/fermeture */
#menuToggle {
    position: fixed;
    left: 10px;
    top: 10px;
    padding: 10px 15px;
    background: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    z-index: 100;
    transition: background 0.3s ease-in-out;
}

#menuToggle:hover {
    background: lightgray;
}