html,
body {
    min-height: 100vh;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
    width: 100%;
}

/* Pour s'assurer que le dégradé couvre bien tout l'écran sur mobile */
@media screen and (max-width: 768px) {
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, #fce7f3, #ffffff);
        z-index: -1;
    }

    body {
        background: none;
    }
}

footer {
    flex-shrink: 0;
    width: 100%;
}

/* Media queries pour le responsive */
@media screen and (max-width: 768px) {
    footer small {
        font-size: 0.75rem;
        /* ou 12px */
        line-height: 1.25;
        padding: 0 1rem;
    }
}

/* Optionnel: Si vous voulez ajouter une animation subtile au hover */
footer small {
    transition: opacity 0.3s ease;
}

footer small:hover {
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-logo {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.platform-logo:nth-child(1) {
    animation-delay: 0.1s;
}

.platform-logo:nth-child(2) {
    animation-delay: 0.2s;
}

.slider-container {
    position: relative;
    width: 750px;
    height: 600px;
    overflow: hidden;
    border-radius: 100px;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1),
        opacity 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slider-image.active {
    opacity: 1;
    transform: translateY(0);
}

.slider-image.next {
    opacity: 0;
    transform: translateY(100%);
}

.slider-image.prev {
    opacity: 0;
    transform: translateY(-100%);
}

.glow-effect {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #ec4899, #db2777);
    border-radius: 22px;
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.5;
        filter: blur(20px);
    }

    50% {
        opacity: 1;
        filter: blur(25px);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-out-up {
    animation: fadeOutUp 0.5s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hidden {
    display: none;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-2px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(2px);
    }
}

.alert {
    position: relative;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInDown 0.3s ease forwards;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.alert-error {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #DC2626;
}

.alert-success {
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    color: #16A34A;
}

.alert.shake {
    animation: shake 0.5s ease-in-out;
}

.alert-icon {
    flex-shrink: 0;
}

.alert-content {
    flex-grow: 1;
    font-size: 0.95rem;
}

.alert-close {
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.animate-float {
    animation: float 2s ease-in-out infinite;
}

.corner-borders {
    position: relative;
}

.corner-borders::before,
.corner-borders::after {
    content: '';
    position: absolute;
    width: 200px;
    /* Longueur de la bordure */
    height: 200px;
    /* Longueur de la bordure */
    border: 6px solid rgb(219, 39, 119);
}

/* Coin haut droit */
.corner-borders::before {
    top: -4px;
    right: -4px;
    border-left: 0;
    border-bottom: 0;
    border-top-right-radius: 100px;
    box-shadow: 2px -2px 4px rgba(235, 101, 161, 0.9);
}

/* Coin bas gauche */
.corner-borders::after {
    bottom: -3px;
    left: -3px;
    border-right: 0;
    border-top: 0;
    border-bottom-left-radius: 100px;
    box-shadow: -2px 2px 4px rgba(235, 101, 161, 0.9);
}