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

/* Fond noir et centrage */
body {
    background-color: #121212;
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Arial', sans-serif;
    color: white;
    overflow-y: auto;
    padding: 20px 0;
}

/* Conteneur du logo pulsant */
.logo-container {
    text-align: center;
    transition: opacity 1s ease-out;
}

/* Style du logo */
.logo {
    width: 350px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}
.logo-text {
    width: 300px;
    height: auto;
}

/* Animation de pulsation */
@keyframes pulse {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Conteneur du menu (caché au départ) */
.menu-container {
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in, visibility 1s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-container.visible {
    opacity: 1;
    visibility: visible;
}

/* Logo dans le menu */
.menu-logo {
    width: 150px;
    height: auto;
    margin-top: 80px;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Liens du menu */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.link {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 12px 30px;
    border: none;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, box-shadow, background;
    background: linear-gradient(135deg,
        rgba(255, 74, 158, 0.8) 0%,
        rgba(255, 136, 85, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center; /* Centre le texte */
    width: 320px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.link-text-shop {
    text-shadow: 0 0 4px #ffffff;
    color: transparent;
}   
.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 74, 158, 0.3);
    background: linear-gradient(135deg,
        rgba(255, 74, 158, 1) 0%,
        rgba(255, 136, 85, 1) 100%);
}

.link:hover::before {
    left: 100%;
}

.link:active {
    transform: translateY(0) scale(0.98);
}

/* Icônes des liens */
.link .icon {
    display: block;
    width: 35px;
    height: 35px;
    background-size: cover;
    position: absolute;
    left: 20px; /* Aligne à gauche avec un petit espace */
}
.link .iconhad3s {
    display: block;
    width: 27px;
    height: 36px;
    background-size: cover;
    position: absolute;
    left: 20px; /* Aligne à gauche avec un petit espace */
}
.link .mail {
    display: block;
    width: 27px;
    height: 28px;
    background-size: cover;
    position: absolute;
    left: 20px; /* Aligne à gauche avec un petit espace */
}
.link .telegram {
    display: block;
    width: 27px;
    height: 28px;
    background-size: cover;
    position: absolute;
    left: 20px; /* Aligne à gauche avec un petit espace */
}

a[href*="x"] .icon {
    background-image: url("./images/x.svg");
}

a[href*="instagram"] .icon {
    background-image: url("./images/iconInstagram.svg");
}

a[href*="bsky"] .icon {
    background-image: url("./images/Bluesky_Logo.svg");
}

a[href*="donate"] .icon {
    background-image: url("./images/iconPay.svg");
}

a[href*="#"] .iconhad3s {
    background-image: url("./logo3.png");
}
a[href*="me@"] .mail {
    background-image: url("./images/email.svg");
}
a[href*="t.me"] .telegram {
    background-image: url("./images/telegram.svg");
}

/* Responsive design */
@media (max-width: 350px) {
    .logo {
        width: 150px;
    }

    .menu-logo {
        width: 150%px;
        margin-top: 20px;
    }

    .link {
        font-size: 16px;
        padding: 8px 16px;
        width: 200px;
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background-color: rgba(85, 85, 85, 0.3);
    border-radius: 30px;
    margin-top: 50px;
    backdrop-filter: blur(10px);
    height: 20px;
    margin-bottom: 30px;
}

footer p {
    font-weight: bold;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.montserrat-had3s {
    font-family: "Anta", serif;
    font-optical-sizing: auto;
    font-size: 40px;
    font-style: normal;
  }
  .montserrat-had3s2 {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    letter-spacing: 10px;
    text-align: center;
    font-weight: 13px;
    font-style: normal;
    color: #c10808;
  }
  .montserrat-had3sr {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 50px;
    font-style: normal;
    color: rgb(193, 8, 8);
  }