body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.titulo {
    font-size: 2.5rem;
    animation: fadeInDown 1s ease-in-out;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.detalle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: scaleUp 0.8s ease-in-out;
}

.imagen-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.imagen {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.imagen:hover {
    transform: scale(1.05);
}

.detalle-info {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.descripcion, .detalle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.precio {
    font-size: 1.5rem;
    color: #27ae60;
    font-weight: bold;
    margin-top: 1.5rem;
}

.precio span {
    color: #e74c3c;
    font-size: 1.8rem;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 2rem;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
