.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

/* HERO */

.hero-section{
    text-align:center;
    margin-bottom:30px;
    padding:35px 25px;
    border-radius:20px;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
}

.hero-section h1{
       font-size: 2.5rem !important;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white !important;
}

.hero-section p{
    color:rgba(255,255,255,.95);
    max-width:700px;
    margin:auto;
    line-height:1.7;
    font-size:16px;
}

/* UPLOAD SECTION */

.upload-section{
    margin-bottom:30px;
}

.drop-area{
    background:linear-gradient(219deg, #fb0e7630 0%, #91069400 100%);
    border:3px dashed #f755f5;
    border-radius:20px;
    padding:60px 20px;
    text-align:center;
    cursor:pointer;
    transition:.3s;
}

.drop-area:hover{
    background:#f755f53b;
}

.drop-area.dragover{
    background:#ede9fe;
    border-color:#7c3aed;
}

.upload-content{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.upload-icon{
    font-size:60px;
    margin-bottom:15px;
}

.upload-content h3{
    font-size:32px;
    margin-bottom:10px;
    color:#111827;
}

.upload-content p{
    color:#6b7280;
    margin-bottom:20px;
}

#browseBtn{
    border:none;
    padding:14px 28px;
    border-radius:30px;
    cursor:pointer;
    color:#fff;
    font-weight:700;
    font-size:14px;
    letter-spacing:1px;
    text-transform:uppercase;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    transition:.3s;
}

#browseBtn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(145,6,148,.25);
}

/* RESULT SECTION */

.result-section{
    animation:fadeIn .4s ease;
}

.result-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:25px;
}

/* PREVIEW CARD */

.preview-card{
    background:#fff;
    border-radius:20px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.preview-card h3{
    margin-bottom:15px;
    color:#111827;
}

#previewImage{
    width:100%;
    max-height:450px;
    object-fit:contain;
    border-radius:15px;
    border:1px solid #e5e7eb;
    background:#fafafa;
}

/* DETAILS CARD */

.details-card{
    background:#fff;
    border-radius:20px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.details-card h3{
    margin-bottom:20px;
    color:#111827;
}

.detail-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #f1f5f9;
}

.detail-item:last-child{
    border-bottom:none;
}

.detail-item span{
    color:#6b7280;
    font-size:15px;
}

.detail-item strong{
    color:#111827;
    font-size:18px;
    font-weight:700;
}

/* IMAGE SIZE DETAILS */

.size-details-card{
    background:#fff;
    border-radius:20px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.size-details-card h3{
    display:inline-block;
    color:#fff;
    padding:8px 16px;
    border-radius:30px;
    background:#374151;
    margin-bottom:20px;
}

.details-list{
    display:grid;
    gap:12px;
}

.details-list p{
    font-size:18px;
    color:#111827;
    line-height:1.8;
}

.details-list strong{
    color:#374151;
}

/* ACTION BUTTONS */

.action-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.action-buttons button{
    flex:1;
    min-width:220px;
    border:none;
    border-radius:14px;
    padding:15px;
    cursor:pointer;
    color:#fff;
    font-size:15px;
    font-weight:700;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    transition:.3s;
}

.action-buttons button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(145,6,148,.25);
}

/* ANIMATION */

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* RESPONSIVE */

@media(max-width:900px){

    .result-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .hero-section h1{
        font-size:32px;
    }

    .upload-content h3{
        font-size:24px;
    }

    .action-buttons{
        flex-direction:column;
    }

    .action-buttons button{
        width:100%;
    }

}

@media(max-width:480px){

    .container{
        padding:15px;
    }

    .hero-section{
        padding:25px 20px;
    }

    .hero-section h1{
        font-size:28px;
    }

    .hero-section p{
        font-size:14px;
    }

    .upload-icon{
        font-size:50px;
    }

    .upload-content h3{
        font-size:22px;
    }

    .details-list p{
        font-size:16px;
    }

}