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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 20px;
    color: #fff;
}

/* Center wrapper */
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glass card */
.profile-container {
    width: 100%;
    max-width: 420px;
    padding: 35px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

    text-align: center;
    transition: all 0.3s ease;
}

.profile-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Title */
.profile-container h2 {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Input block */
.input-field {
    text-align: left;
    margin-bottom: 18px;
}

.input-field label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    display: block;
}

/* Inputs */
.input-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;

    outline: none;
    transition: 0.25s ease;
}

.input-field input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-field input:focus {
    border-color: #7aa7ff;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

/* Button */
.button {
    width: 100%;
    padding: 13px;
    margin-top: 10px;

    border: none;
    border-radius: 10px;

    font-size: 16px;
    font-weight: 600;
    color: #fff;

    background: linear-gradient(135deg, #4facfe, #00f2fe);
    cursor: pointer;

    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.button:active {
    transform: scale(0.98);
}

/* Profile output */
.profile-display {
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.profile-display img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;

    border: 3px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;

    animation: pop 0.6s ease;
}

.profile-display p {
    font-size: 16px;
    margin: 4px 0;
    color: #f1f1f1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .profile-container {
        padding: 25px;
    }

    .profile-container h2 {
        font-size: 22px;
    }
}