body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #2b5876, #4e4376);
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
    width: 90%;
    max-width: 380px;
    animation: floatUp 0.6s ease;
    position: relative;
}

@keyframes floatUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

h2 {
    color: white;
    margin-bottom: 30px;
    font-weight: 600;
}

.input-container {
    position: relative;
    margin-bottom: 30px;
    text-align: left;
}

.input-container input {
    width: 100%;
    padding: 16px 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: background 0.3s, box-shadow 0.3s;
}

.input-container input:focus {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.input-container label {
    position: absolute;
    top: 16px;
    left: 12px;
    color: #eee;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: -12px;
    left: 10px;
    font-size: 12px;
    color: #fff;
}

button {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: #4e4376;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover {
    background: #2b5876;
    transform: scale(1.05);
}

#package {
    width: 30px;
    height: 30px;
    background: gold;
    border-radius: 6px;
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: sendPackage 1.5s forwards ease-in-out;
}

@keyframes sendPackage {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(300px, -200px) scale(1.2); }
    100% { transform: translate(600px, -300px) scale(0); opacity: 0; }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    button {
        font-size: 15px;
        padding: 12px 16px;
    }

    .input-container input {
        font-size: 14px;
    }
}
