* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0f172a;
    color: white;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.bg-animation {
    position:fixed;
    width:100%;
    height:100%;
    background:
      radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent),
      radial-gradient(circle at 80% 70%, rgba(255,255,255,.05), transparent);
    animation: float 8s infinite alternate ease-in-out;
}

@keyframes float {
    from { transform:translateY(-20px);}
    to { transform:translateY(20px);}
}

.container {
    width:100%;
    max-width:600px;
    padding:20px;
    z-index:2;
}

.card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border-radius:20px;
    padding:40px;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    animation:fadeIn 1s ease;
}

@keyframes fadeIn {
    from {opacity:0; transform:translateY(30px);}
    to {opacity:1; transform:translateY(0);}
}

h1 {
    font-size:2rem;
    margin-bottom:10px;
}

p {
    margin-bottom:20px;
    opacity:.8;
}

input, textarea {
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:none;
    border-radius:12px;
    background:rgba(255,255,255,.12);
    color:white;
}

textarea {
    min-height:100px;
}

button {
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#38bdf8;
    color:white;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

button:hover {
    transform:translateY(-2px);
}

.upload-label {
    display:block;
    margin-bottom:15px;
}

.hidden {
    display:none;
}

.spinner {
    width:40px;
    height:40px;
    border:4px solid rgba(255,255,255,.3);
    border-top:4px solid white;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:auto;
}

@keyframes spin {
    to {transform:rotate(360deg);}
}

.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeInOverlay .3s ease;
}

.upload-box {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 35px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    min-width: 320px;
}

.upload-box p {
    margin-top: 18px;
    font-size: 16px;
    color: white;
    font-weight: 500;
}

.loader {
    width: 58px;
    height: 58px;
    border: 5px solid rgba(255,255,255,.25);
    border-top: 5px solid #38bdf8;
    border-radius: 50%;
    margin: auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.success-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    animation: popSuccess .4s ease;
}

@keyframes popSuccess {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}