body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Satoshi', Arial, sans-serif;
    color: #fff;
    overflow: hidden;
    /* Suppression de la transition */
}

body.yellow-theme {
    background: linear-gradient(135deg, #000, #1a1a1a, #333);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

body.red-theme {
    background-color: #091029;
    position: relative;
}

/* Wrapper pour toute la page permettant de positionner le copyright */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.container {
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    margin: 0 auto;
    padding-bottom: 50px; /* Assurer un espace entre le contenu et le copyright */
}

.logo-container {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 65%;
    height: auto;
    /* Suppression de la transition */
    display: block;
    z-index: 1;
}

/* Style pour le chien sur la fusée */
.rocket-dog-container {
    position: absolute;
    top: 0;
    right: 15%;
    z-index: 2;
    width: 150px;
    height: 150px;
}

.rocket-dog {
    width: 100%;
    height: auto;
    animation: rocketFloat 3s ease-in-out infinite;
}

.rocket-particles {
    position: absolute;
    bottom: 20px;
    left: 15px;
    width: 50px;
    height: 40px;
    z-index: 1;
}

.rocket-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    animation: emitParticles 0.5s linear infinite;
}

.theme-buttons {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.theme-button {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s;
}

.theme-button.selected {
    border-color: #fff;
    transform: scale(1.2);
}

.theme-button.yellow {
    background-color: #FFD700;
}

.theme-button.red {
    background-color: #FF0000;
}

.text-container {
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.first-line, .second-line {
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-text {
    color: #fff;
    margin-right: 10px;
}

.dynamic-text {
    font-weight: bold;
    /* Suppression de la transition */
}

body.yellow-theme .dynamic-text {
    color: #FFD700;
}

body.red-theme .dynamic-text {
    color: #FF0000;
}

.contact-button {
    position: relative;
    padding: 30px 40px;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background-color: transparent;
    border: 2px solid #FFD700;
    border-radius: 25px;
    cursor: pointer;
    overflow: hidden;
    margin-top: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

body.yellow-theme .contact-button {
    border-color: #FFD700;
    color: #FFD700;
}

body.red-theme .contact-button {
    border-color: #FF0000;
    color: #FF0000;
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
}

.arrow {
    display: inline-block;
    margin-left: 15px;
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: all 0.3s ease;
}

.arrow::before {
    width: 20px;
    height: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.arrow::after {
    width: 20px;
    height: 3px;
    top: calc(30% - 6px);
    right: 0;
    transform: rotate(45deg);
}

.arrow::before {
    top: calc(30% + 6px);
    transform: rotate(-45deg);
    right: 0;
}

.contact-button:hover .arrow {
    transform: translateX(5px) scale(1.1);
}


/* Copyright */
.copyright {
    text-align: center;
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
    padding: 15px 0;
    width: 100%;
}

/* Particules */
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0;
    animation: particleAnimation 3s ease-in-out infinite;
}

body.yellow-theme .particle {
    background-color: #FFD700;
}

body.red-theme .particle {
    background-color: #FF0000;
}

/* Modification des particules de la fusée pour éviter l'effet carré */
body.yellow-theme .rocket-particles::before {
    background: radial-gradient(circle, #FFD700 0%, rgba(255, 215, 0, 0) 70%);
    border-radius: 50%;
    width: 8px;
    height: 8px;
}

body.red-theme .rocket-particles::before {
    background: radial-gradient(circle, #FF0000 0%, rgba(255, 0, 0, 0) 70%);
    border-radius: 50%;
    width: 8px;
    height: 8px;
}

/* Style pour la particule de fusée individuelle */
.rocket-particle {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes emitParticles {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-25px, 15px) scale(0.5);
    }
}

@keyframes particleAnimation {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gradientAnimation {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-container {
        font-size: 1.5em;
    }

    .contact-button {
        font-size: 1.2em;
        padding: 15px 25px;
    }
    
    .rocket-dog-container {
        width: 120px;
        height: 120px;
        top: 0;
        right: 15%;
    }
}

@media (max-width: 480px) {
    .text-container {
        font-size: 1.2em;
    }

    .contact-button {
        font-size: 1em;
        padding: 15px 20px;
    }
    
    .rocket-dog-container {
        width: 90px;
        height: 90px;
        top: 0;
        right: 15%;
    }
    
    .copyright {
        font-size: 0.6em;
        padding: 10px 0;
    }
}