*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f3f4f6;
}

.age-container{
    max-width:1200px;
    margin:40px auto;
    padding:20px;
    font-family:Arial,sans-serif;
}

.age-card{
    background:#fff;
    border-radius:25px;
    padding:40px;
}

.age-header{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:40px;
}

.age-icon{
    width:80px;
    height:80px;
    background:#ff7a00;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:40px;
}

.age-header h1{
    font-size:60px;
    color:#111827;
    margin-bottom:10px;
}

.age-header p{
    color:#777;
    font-size:22px;
}

.age-box{
    border:2px dashed #ddd;
    border-radius:25px;
    padding:50px;
    text-align:center;
}

.age-box label{
    display:block;
    font-size:26px;
    margin-bottom:20px;
    color:#111827;
}

.age-box input{
    width:100%;
    padding:18px;
    border:2px solid #ddd;
    border-radius:15px;
    font-size:22px;
    margin-bottom:25px;
}

.age-box input:focus{
    outline:none;
    border-color:#ff7a00;
}

#calculate_age{
    width:100%;
    background:#ff7a00;
    border:none;
    padding:22px;
    border-radius:18px;
    font-size:28px;
    font-weight:700;
    color:#fff;
    cursor:pointer;
}

#calculate_age:hover{
    background:#e86f00;
}

#result{
    margin-top:40px;
}

.age-result{
    text-align:center;
}

.age-result h2{
    font-size:42px;
    margin-bottom:30px;
}

.age-data{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.age-item{
    width:220px;
    background:#fff7ed;
    border-radius:20px;
    padding:35px;
}

.age-item span{
    font-size:52px;
    font-weight:700;
    color:#ff7a00;
}

.age-item p{
    margin-top:10px;
    font-size:22px;
    color:#555;
}

.age-error{
    text-align:center;
    color:red;
    font-size:22px;
    font-weight:700;
}

@media(max-width:768px){

    .age-header{
        flex-direction:column;
        text-align:center;
    }

    .age-header h1{
        font-size:40px;
    }

    .age-data{
        flex-direction:column;
        align-items:center;
    }

}