
/* ==========================================
   SORINE — RESPONSIVE
========================================== */

/* GRANDS ÉCRANS */

@media (min-width: 1440px) {

    :root {
        --container-width: 720px;
    }

    .character-container {
        height: 470px;
    }

    .sorine-banner {
        height: 240px;
    }
}

/* ==========================================
   TABLETTES
========================================== */

@media (max-width: 1024px) {

    .site-container {
        width: min(100% - 40px, 620px);
    }

    .profile-card {
        padding: 30px 35px;
    }

    .character-container {
        height: 370px;
    }

    body.theme-mystique {
        --ears-width: 540px;
        --ears-top: -205px;

        --tail-width: 430px;
        --tail-top: 125px;
        --tail-left: -300px;
    }
}

/* ==========================================
   AILES — TABLETTES
========================================== */

@media (max-width: 900px) {

    body.theme-celeste {
        --wings-top-width: 1150px;
        --wings-top-top: -170px;

        --wings-bottom-width: 1200px;
        --wings-bottom-offset: -80px;
    }
}

/* ==========================================
   MOBILES
========================================== */

@media (max-width: 600px) {

    .site-container {
        width: calc(100% - 24px);
        padding-top: 25px;
    }

    .site-header {
        margin-bottom: 22px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .sorine-banner {
        height: 150px;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .banner-content {
        padding: 20px;
    }

    .banner-content h1 {
        font-size: 43px;
    }

    .banner-content p {
        font-size: 11px;
    }

    .profile-card {
        padding: 25px 18px;
        border-radius: 24px;
    }

    .card-star {
        top: 20px;
        font-size: 24px;
    }

    .star-left {
        left: 15px;
    }

    .star-right {
        right: 15px;
    }

    .character-container {
        height: 300px;
    }

    .character-glow {
        width: 220px;
        height: 220px;
    }

    .profile-title {
        font-size: 52px;
    }

    .profile-description {
        font-size: 13px;
    }

    .profile-subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .transform-button {
        min-width: 230px;
        padding: 11px 18px;
        font-size: 19px;
    }

    .social-link {
        min-height: 56px;
        padding: 10px 12px;
        gap: 8px;
    }

    .social-icon {
        flex-basis: 34px;
        height: 34px;
        font-size: 22px;
    }

    .social-name {
        font-size: 12px;
    }

    .social-arrow {
        font-size: 18px;
    }

    body.theme-mystique {
        --ears-width: 380px;
        --ears-top: -140px;

        --tail-width: 320px;
        --tail-top: 120px;
        --tail-left: -220px;
    }

    /* AILES CÉLESTES */

    body.theme-celeste {
        --wings-top-width: 760px;
        --wings-top-top: -90px;

        --wings-bottom-width: 800px;
        --wings-bottom-offset: -50px;
    }

    .bottom-banner {
        height: 160px;
        margin-top: 25px;
        border-radius: 18px;
    }

    .site-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 11px;
    }

    .background-mystique {
        background-position: 45% center;
    }

    .background-celeste {
        background-position: center;
    }
}

/* ==========================================
   PETITS MOBILES
========================================== */

@media (max-width: 400px) {

    .profile-card {
        padding: 20px 14px;
    }

    .character-container {
        height: 260px;
    }

    .profile-title {
        font-size: 45px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .sorine-banner {
        height: 130px;
    }

    body.theme-mystique {
        --ears-width: 330px;
        --ears-top: -120px;

        --tail-width: 285px;
        --tail-top: 110px;
        --tail-left: -195px;
    }

    body.theme-celeste {
        --wings-top-width: 650px;
        --wings-top-top: -70px;

        --wings-bottom-width: 690px;
        --wings-bottom-offset: -40px;
    }

    .bottom-banner {
        height: 140px;
    }
}

/* ==========================================
   ÉCRANS TACTILES
========================================== */

@media (hover: none) {

    .social-link:hover,
    .transform-button:hover {
        transform: none;
    }

    .social-link:active,
    .transform-button:active {
        transform: scale(0.98);
    }
}
