body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;

    margin: 0;
    padding: 0;
    background: url('/pokemon-in-the-wild.png') no-repeat center center fixed;
    background-size: cover;
}

header {
    background: rgba(2, 62, 138, 0.8);
    color: white;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
}
header h1 { font-size: 2rem; animation: fadeInDown 1s ease; }
header p { font-size: 1rem; margin-top: 5px; animation: fadeInDown 1s ease 0.3s; }

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.profile-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    background: rgba(0,0,0,0.6);
    padding: 40px 20px;
    border-radius: 15px;
    animation: fadeInUp 1s ease;
}

.profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #0077b6;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

h2 { margin: 20px 0 10px; font-size: 2rem; color: #fff; }

.links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.links a {
    padding: 12px 20px;
    background: #00b4d8;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.links a:hover {
    transform: translateY(-3px);
    background: #0077b6;
}

footer {
    background: rgba(2, 62, 138, 0.8);
    color: white;
    text-align: center;
    padding: 25px 10px;
}

@media(max-width:600px){
    .profile-picture { width: 150px; height: 150px; }
    h2 { font-size: 1.5rem; }
    .links { flex-direction: column; gap: 15px; }
    .profile-container { padding: 30px 15px; }
}


/* =========================
   FORMULARIO
   ========================= */

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

form {
    background: rgba(0, 0, 0, 0.6);
    padding: 35px 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInUp 1s ease;
}

/* Inputs */
input[type="text"] {
    padding: 14px 15px;
    border-radius: 8px;
    border: 2px solid transparent;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus {
    border-color: #00b4d8;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.3);
}

/* Botón */
input[type="submit"] {
    padding: 14px;
    background: #00b4d8;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

input[type="submit"]:hover {
    background: #0077b6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    form {
        padding: 25px 20px;
    }
}
