/* =====================================================
   VoucherChecker
   STYLE.CSS
===================================================== */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* =====================================================
   BODY
===================================================== */

body{
    font-family:'Poppins',sans-serif;
    min-height:100vh;
    color:#3d2156;
    overflow-x:hidden;
    display:flex;
    flex-direction:column;
    padding-top:110px;
}

/* =====================================================
   PAGE D'ACCUEIL
===================================================== */

.home-page{
    background:linear-gradient(135deg,#fdf2ff,#f8e7ff,#ffffff);
}

/* =====================================================
   PAGE VERIFICATION
===================================================== */

.verification-page{
    background:#E60087;
}

.verification-page .background-shape{
    display:none;
}

/* =====================================================
   FORMES D'ARRIERE PLAN
===================================================== */

.background-shape{
    position:fixed;
    border-radius:50%;
    filter:blur(70px);
    opacity:.35;
    z-index:-1;
}

.shape1{
    width:320px;
    height:320px;
    background:#ff6ec7;
    top:-100px;
    left:-80px;
}

.shape2{
    width:380px;
    height:380px;
    background:#8a5cff;
    bottom:-120px;
    right:-120px;
}

/* =====================================================
   BARRE DU HAUT
===================================================== */

.topbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    height:110px;

    background:#23294D;

    display:flex;

    align-items:center;

    justify-content:flex-start;

    padding:0 35px;

    z-index:1000;

    box-shadow:0 5px 20px rgba(0,0,0,.18);

}

/* =====================================================
   LOGO
===================================================== */

.brand{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo-brand{

    width:70px;

    height:70px;

    object-fit:contain;

}

.brand span{

    color:#ffffff;

    font-size:32px;

    font-weight:700;

    letter-spacing:.5px;

}

/* =====================================================
   PAGE D'ACCUEIL
===================================================== */

.hero{

    width:min(950px,92%);

    margin:0 auto;

    padding-top:170px;

    text-align:center;

}

.hero h2{

    font-size:52px;

    margin-bottom:25px;

}

.hero-description{

    max-width:800px;

    margin:0 auto;

    font-size:22px;

    line-height:1.8;

    color:#6d5b7c;

}

.main-button{

    display:inline-block;

    margin-top:50px;

    text-decoration:none;

    padding:22px 70px;

    border-radius:60px;

    color:white;

    font-size:30px;

    font-weight:700;

    background:linear-gradient(135deg,#FF2C97,#8E44FF);

    transition:.35s;

    box-shadow:0 20px 40px rgba(0,0,0,.18);

}

.main-button:hover{

    transform:translateY(-5px);

}

.hero-info{

    margin-top:70px;

    font-size:26px;

    line-height:1.8;

    color:#6d5b7c;

}

footer{

    margin-top:auto;

    text-align:center;

    padding:30px;

    color:#6f5d7d;

}/* =====================================================
   PAGE DE VÉRIFICATION
===================================================== */

.verification-card{

    width:min(760px,92%);

    background:#ffffff;

    margin:70px auto;

    padding:60px;

    border-radius:30px;

    text-align:center;

    box-shadow:0 30px 70px rgba(0,0,0,.25);

}

/* =====================================================
   ICÔNE
===================================================== */

.shield-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#FCE8F4;

    font-size:45px;

}

/* =====================================================
   TITRE
===================================================== */

.verification-card h2{

    font-size:40px;

    color:#23294D;

    margin-bottom:20px;

}

/* =====================================================
   TEXTE
===================================================== */

.verification-text{

    max-width:600px;

    margin:0 auto 40px;

    font-size:20px;

    color:#666;

    line-height:1.8;

}

/* =====================================================
   ZONE DE SAISIE DU CODE
===================================================== */

.code-group{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    margin:40px 0;

}

.code-input{

    width:130px;

    height:75px;

    border:2px solid #E5C9F4;

    border-radius:18px;

    background:#ffffff;

    text-align:center;

    font-size:32px;

    font-weight:700;

    text-transform:uppercase;

    outline:none;

    transition:.30s;

}

.code-input:focus{

    border-color:#8E44FF;

    box-shadow:0 0 20px rgba(142,68,255,.25);

}

.separator{

    font-size:34px;

    font-weight:bold;

    color:#8E44FF;

}

/* =====================================================
   BOUTON
===================================================== */

.verification-card button{

    width:100%;

    padding:22px;

    margin-top:15px;

    border:none;

    border-radius:50px;

    background:linear-gradient(135deg,#FF2C97,#8E44FF);

    color:#ffffff;

    font-size:24px;

    font-weight:700;

    cursor:pointer;

    transition:.30s;

}

.verification-card button:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 30px rgba(0,0,0,.18);

}

/* =====================================================
   MESSAGE
===================================================== */

#result{

    margin-top:25px;

    font-size:18px;

    font-weight:600;

    min-height:40px;

}

.success{

    color:#1B8A4D;

}

.error{

    color:#D62828;

}

/* =====================================================
   TEXTE D'AIDE
===================================================== */

.help-text{

    margin-top:40px;

    color:#777;

    font-size:17px;

    line-height:1.8;

}

/* =====================================================
   RETOUR
===================================================== */

.back-button{

    display:inline-block;

    margin-top:30px;

    color:#8E44FF;

    text-decoration:none;

    font-weight:600;

}

.back-button:hover{

    text-decoration:underline;

}/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:900px){

    .hero h2{
        font-size:42px;
    }

    .hero-description{
        font-size:19px;
    }

    .hero-info{
        font-size:21px;
    }

    .verification-card{

        padding:45px 30px;

    }

}

@media (max-width:768px){

    .topbar{

        height:90px;

        padding:0 20px;

    }

    body{

        padding-top:90px;

    }

    .logo-brand{

        width:55px;

        height:55px;

    }

    .brand span{

        font-size:24px;

    }

    .hero{

        padding-top:80px;

    }

    .hero h2{

        font-size:34px;

    }

    .hero-description{

        font-size:17px;

    }

    .hero-info{

        font-size:18px;

    }

    .main-button{

        width:100%;

        max-width:340px;

        padding:18px;

        font-size:22px;

    }

    .verification-card{

        width:95%;

        padding:35px 20px;

    }

    .verification-card h2{

        font-size:30px;

    }

    .verification-text{

        font-size:17px;

    }

    .code-group{

        gap:8px;

    }

    .code-input{

        width:85px;

        height:60px;

        font-size:24px;

    }

    .separator{

        font-size:26px;

    }

    .verification-card button{

        font-size:20px;

    }

}

@media (max-width:480px){

    .hero h2{

        font-size:28px;

    }

    .hero-description{

        font-size:16px;

    }

    .hero-info{

        font-size:16px;

    }

    .code-input{

        width:70px;

        height:55px;

        font-size:20px;

    }

    .separator{

        font-size:22px;

    }

}