* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #57945e url('../images/pumppad-bg-desktop.png') center/cover fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 20px;
    position: relative;
}

/* Ajout d'un overlay pour assurer la lisibilité */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(49, 116, 57, 0.95) 0%,
        rgba(49, 116, 57, 0.85) 100%
    );
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.small-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: relative;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}

.logo-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.2) 75%,
        rgba(0, 0, 0, 0.1) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
    z-index: 1;
    filter: blur(5px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.small-logo {
    mask-image: radial-gradient(
        circle at center,
        black 30%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.4) 70%,
        transparent 100%
    );
    -webkit-mask-image: radial-gradient(
        circle at center,
        black 30%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.4) 70%,
        transparent 100%
    );
}

.title {
    font-family: 'Londrina Solid', cursive;
    color: white;
    font-size: 42px;
    text-align: center;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.steps {
    order: 1;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step {
    font-family: 'Chewy', cursive;
    font-size: 18px;
    white-space: nowrap;
    position: relative;
    color: rgba(255, 255, 255, 0.5);
}

/* Style pour l'étape active (1) */
.step.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Flèche entre les étapes */
.step:first-child::after {
    content: '→';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
}

.dede-logo {
    width: 300px;
    height: 300px;
    margin: 2rem auto;
    border-radius: 50%;
    border: 5px solid #9FFF00;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(159, 255, 0, 0.3);
}

.dede-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subtitle {
    font-family: 'Chewy', cursive;
    color: white;
    font-size: 24px;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.description {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 18px;
}

.claim-button {
    font-family: 'Chewy', cursive;
    background: #e05959;
    color: #ffffff;
    padding: 1rem 3rem;
    border-radius: 999px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.4);
    
    /* Effet de glow */
    box-shadow: 
        0 0 0 2px rgba(182, 52, 52, 0.3),
        0 0 20px rgba(255, 0, 0, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    
    /* Dégradé subtil */
    background: linear-gradient(
        180deg, 
        #e05959 0%, 
        #e73535 100%
    );
}

.claim-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 0 0 2px rgba(255, 107, 87, 0.4),
        0 0 30px rgba(187, 40, 29, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.562);
}

.claim-button:active {
    transform: translateY(1px) scale(0.98);
}

.shield-icon {
    width: 16px;
    height: 16px;
    fill: #9FFF00;
    animation: pulse-shield 2s infinite ease-in-out;
}

@keyframes pulse-shield {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Animation subtile pour l'icône */
.shield-icon {
    animation: pulse-shield 1s infinite ease-in-out;
}

@keyframes pulse-shield {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .title {
        font-size: 24px;
    }

    .dede-logo {
        width: 200px;
        height: 200px;
    }

    .steps {
        padding: 0.6rem 1.5rem;
        gap: 2rem;
        width: auto;
        display: inline-flex;
    }

    .step {
        font-size: 16px;
    }

    .step:first-child::after {
        right: -1.5rem;
        font-size: 20px;
    }
}

/* Pour les très petits écrans */
@media (max-width: 360px) {
    .steps {
        padding: 0.5rem 1rem;
        gap: 1.5rem;
    }

    .step {
        font-size: 14px;
    }

    .step:first-child::after {
        right: -1.2rem;
        font-size: 18px;
    }
}

.gallery-section {
    width: 100%;
    max-width: 1200px;
    background: transparent;
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1rem 1.5rem;
    perspective: 1000px;
    margin-right: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Positionnement décalé des cartes sur desktop */
@media (min-width: 769px) {
    .step-card:nth-child(1) {
        transform: perspective(1000px) rotateZ(-2deg) translateY(20px);
    }
    
    .step-card:nth-child(2) {
        transform: perspective(1000px) rotateZ(0deg) translateY(0);
    }
    
    .step-card:nth-child(3) {
        transform: perspective(1000px) rotateZ(2deg) translateY(40px);
    }

    /* Ajustement du hover pour maintenir l'angle mais réduire légèrement la rotation */
    .step-card:nth-child(1):hover {
        transform: perspective(1000px) rotateZ(-1deg) translateY(15px) scale(1.02);
    }
    
    .step-card:nth-child(2):hover {
        transform: perspective(1000px) rotateZ(0deg) translateY(-5px) scale(1.02);
    }
    
    .step-card:nth-child(3):hover {
        transform: perspective(1000px) rotateZ(1deg) translateY(35px) scale(1.02);
    }
}

.step-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    width: 320px;
    text-align: center;
    position: relative;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 6px 6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset -5px -5px 0 0 rgba(0, 0, 0, 0.3),
        inset -1px -1px 0 0 rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.12),
        0 8px 8px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset -5px -5px 0 0 rgba(0, 0, 0, 0.3),
        inset -1px -1px 0 0 rgba(0, 0, 0, 0.5);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #317439;
    font-family: 'Londrina Solid', cursive;
    font-size: 20px;
    font-weight: bold;
    /* Effet d'ombre pour le numéro */
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 0 0 3px #317439;
    z-index: 2;
}

.step-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    /* Effet d'ombre subtil pour l'image */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-title {
    font-family: 'Londrina Solid', cursive;
    color: #000;
    font-size: 26px;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-description {
    color: #666;
    font-size: 18px;
    line-height: 1.5;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
    font-family: 'Afacad', sans-serif;
}

@media (max-width: 1024px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .step-card {
        width: 100%;
        max-width: 320px;
    }
}

/* Classes pour masquer les fades */
.at-start .fade-left {
    opacity: 0;
}

.at-end .fade-right {
    opacity: 0;
}

/* Ajout des styles pour l'animation de fond */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-image {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0.1;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contract-address {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contract-address h3 {
    font-family: 'Chewy', cursive;
    color: #333;
    font-size: 24px;
    margin-bottom: 1rem;
}

.address-container {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 2rem;
    border-radius: 999px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: 45px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.address {
    font-family: 'Chewy', cursive;
    font-size: 18px;
    color: black;
    opacity: 1;
    letter-spacing: 1px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.address span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.1s ease;
}

.address span.revealed {
    opacity: 1;
    transform: translateY(0);
}

.address.scrolling {
    transform: translateX(calc(-100% + 200px)); /* Ajustez la valeur selon vos besoins */
}

/* Ajout d'un effet de fade sur les côtés */
.address-container::before,
.address-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .contract-address {
        padding: 1rem;
    }
    
    .contract-address h3 {
        font-size: 20px;
    }
    
    .address {
        font-size: 20px;
        color: #000;
    }
    
    .address-container {
        min-height: 36px;
    }
    
    .address span {
        height: 18px;
    }
}

.footer {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-top: 8rem;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 15px;
}

.footer p {
    color: white;
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .footer p {
        font-size: 12px;
    }
}

.breaking-news {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #c74c4c;
    color: white;
    padding: 4px 0;
    overflow: hidden;
    z-index: 1000;
}

.breaking-news-content {
    display: flex;
    white-space: nowrap;
    gap: 50px;
}

.breaking-news-content span {
    flex-shrink: 0;
    font-family: 'Chewy', cursive;
    font-size: 16px;
    text-transform: uppercase;
    color: white;
}

@keyframes slideGroup {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.breaking-news-content {
    width: max-content;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0);
    color: rgb(255, 255, 255);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* Ajout des styles pour les cartes */
.card {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 2rem;
}

/* Style spécifique pour la carte du milieu */
.card.wallet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1.5rem;
}

.wallet-title {
    font-family: 'Londrina Solid', cursive;
    color: rgb(255, 255, 255);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    font-size: 28px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 900;
}

.wallet-description {
    font-family: 'Afacad', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
    max-width: 80%;
    margin: 0 auto;
}

.wallet-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgb(255, 255, 255);
    margin-top: 0.5rem;
    font-size: 16px;
    font-family: 'Afacad', sans-serif;
}

.security-note svg {
    color: #ffffff;
    width: 16px;
    height: 16px;
    animation: pulse-shield 2s infinite ease-in-out;
}

@keyframes pulse-shield {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Ajout des styles pour le header */
.header {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

/* La première carte n'a besoin que des steps */
.card:first-of-type {
    padding: 0.8rem;
    width: auto;
    display: inline-flex;
    margin: 0 auto 1.5rem;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 1rem;
        margin-right: 0;
    }

    .step-card {
        width: 90%;
        max-width: 300px;
        padding: 1.5rem;
        margin: 0 auto;
    }

    .step-image {
        width: 180px;
        height: 180px;
    }

    .step-title {
        font-size: 22px;
        margin-bottom: 0.8rem;
    }

    .step-description {
        font-size: 14px;
        padding: 0 0.5rem;
    }

    .step-number {
        top: -12px;
        left: -12px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .gallery-section {
        padding: 0 1rem;
    }
}

/* Ajout d'un breakpoint supplémentaire pour les très petits écrans */
@media (max-width: 360px) {
    .step-card {
        width: 95%;
        padding: 1rem;
    }

    .step-image {
        width: 160px;
        height: 160px;
    }
}

/* Style pour la carte du contract address */
.card.contract-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    padding: 1rem;
    background: rgb(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.contract-box h3 {
    font-family: 'Londrina Solid', cursive;
    color: rgb(255, 255, 255);
    font-size: 28px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.address-container {
    background: rgba(0, 0, 0, 0);
    padding: 0.5rem 2rem;
    border-radius: 999px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.address {
    font-family: 'Chewy', cursive;
    font-size: 18px;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
    word-break: break-all;
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Ajustement des liens sociaux */
.social-links {
    margin: 1.5rem 0 0.5rem;
}

@media (max-width: 768px) {
    .card.contract-card {
        padding: 1.5rem;
    }
    
    .contract-box h3 {
        font-size: 24px;
    }
    
    .address-container {
        padding: 0.8rem 1.5rem;
    }
    
    .address {
        font-size: 14px;
    }
}

.social-link:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.mute-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mute-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.mute-button svg {
    width: 40px;
    height: 40px;
    fill: white;
    transition: all 0.3s ease;
}

.mute-button.muted svg {
    fill: #ff4444;
}

/* Optimisations pour mobile */
@media (max-width: 768px) {
    .background-animation {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .floating-image {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Réduire les animations pendant le défilement */
    .is-scrolling * {
        transition: none !important;
        animation: none !important;
    }
    
    /* Optimiser le rendu des images */
    img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}